Validation with linter

This commit is contained in:
Pierre Laurac 2016-10-12 21:07:14 -07:00 committed by Kevin Sawicki
parent 2f7cceb11c
commit 18ac4178fe
3 changed files with 6 additions and 3 deletions

View file

@ -729,7 +729,8 @@ void Window::SetAspectRatio(double aspect_ratio, mate::Arguments* args) {
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);
}

View file

@ -374,7 +374,8 @@ void NativeWindow::SetAspectRatio(double aspect_ratio,
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() {

View file

@ -176,7 +176,8 @@ class NativeWindow : public base::SupportsUserData,
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();