Validation with linter
This commit is contained in:
parent
2f7cceb11c
commit
18ac4178fe
3 changed files with 6 additions and 3 deletions
|
@ -729,7 +729,8 @@ void Window::SetAspectRatio(double aspect_ratio, mate::Arguments* args) {
|
||||||
window_->SetAspectRatio(aspect_ratio, extra_size);
|
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);
|
window_->PreviewFile(filepath, filename);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -374,7 +374,8 @@ void NativeWindow::SetAspectRatio(double aspect_ratio,
|
||||||
aspect_ratio_extraSize_ = extra_size;
|
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() {
|
void NativeWindow::RequestToClosePage() {
|
||||||
|
|
|
@ -176,7 +176,8 @@ class NativeWindow : public base::SupportsUserData,
|
||||||
double GetAspectRatio();
|
double GetAspectRatio();
|
||||||
gfx::Size GetAspectRatioExtraSize();
|
gfx::Size GetAspectRatioExtraSize();
|
||||||
virtual void SetAspectRatio(double aspect_ratio, const gfx::Size& extra_size);
|
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() {
|
base::WeakPtr<NativeWindow> GetWeakPtr() {
|
||||||
return weak_factory_.GetWeakPtr();
|
return weak_factory_.GetWeakPtr();
|
||||||
|
|
Loading…
Reference in a new issue