window_->SetAspectRatio(aspect_ratio, extra_size);
}
-void Window::PreviewFile(const std::string& filepath, const std::string& filename) {
+void Window::PreviewFile(const std::string& filepath,
+ const std::string& filename) {
window_->PreviewFile(filepath, filename);
}
aspect_ratio_extraSize_ = extra_size;
}
-void NativeWindow::PreviewFile(const std::string& filepath, const std::string& filename) {
+void NativeWindow::PreviewFile(const std::string& filepath,
+ const std::string& filename) {
}
void NativeWindow::RequestToClosePage() {
double GetAspectRatio();
gfx::Size GetAspectRatioExtraSize();
virtual void SetAspectRatio(double aspect_ratio, const gfx::Size& extra_size);
- virtual void PreviewFile(const std::string& filepath, const std::string& filename);
+ virtual void PreviewFile(const std::string& filepath,
+ const std::string& filename);
base::WeakPtr<NativeWindow> GetWeakPtr() {
return weak_factory_.GetWeakPtr();