Browse Source

Validation with linter

Pierre Laurac 8 years ago
parent
commit
18ac4178fe

+ 2 - 1
atom/browser/api/atom_api_window.cc

@@ -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);
 }
 

+ 2 - 1
atom/browser/native_window.cc

@@ -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() {

+ 2 - 1
atom/browser/native_window.h

@@ -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();