Heilig Benedek 7 years ago
parent
commit
4b10445c2e

+ 1 - 1
atom/browser/common_web_contents_delegate.cc

@@ -242,7 +242,7 @@ void CommonWebContentsDelegate::RunFileChooser(
     content::RenderFrameHost* render_frame_host,
     const content::FileChooserParams& params) {
   if (!web_dialog_helper_)
-    web_dialog_helper_.reset(new WebDialogHelper(owner_window(), 
+    web_dialog_helper_.reset(new WebDialogHelper(owner_window(),
       owner_window()->IsOffScreenDummy()));
   web_dialog_helper_->RunFileChooser(render_frame_host, params);
 }

+ 5 - 5
atom/browser/native_window_views.cc

@@ -1360,14 +1360,14 @@ void NativeWindowViews::ShowAutofillPopup(
     content::RenderFrameHost* frame_host,
     const gfx::RectF& bounds,
     const std::vector<base::string16>& values,
-    const std::vector<base::string16>& labels) {  
+    const std::vector<base::string16>& labels) {
   WebContentsPreferences* web_preferences =
     WebContentsPreferences::FromWebContents(web_contents());
-  
+
   bool isOffsceen = web_preferences->IsOffScreen(web_contents());
-  bool isEmbedderOffscreen = web_preferences->IsGuest(web_contents()) && 
+  bool isEmbedderOffscreen = web_preferences->IsGuest(web_contents()) &&
     web_preferences->IsOffScreen(web_preferences->Embedder(web_contents()));
-    
+
   autofill_popup_->CreateView(
     frame_host,
     isOffsceen || isEmbedderOffscreen,
@@ -1396,7 +1396,7 @@ void NativeWindowViews::Layout() {
         gfx::Rect(0, menu_bar_bounds.height(), size.width(),
                   size.height() - menu_bar_bounds.height()));
   }
-  
+
   if (autofill_popup_.get())
     autofill_popup_->UpdatePopupBounds(menu_bar_visible_ ? 0 : kMenuBarHeight);
 }

+ 1 - 1
atom/browser/ui/autofill_popup.cc

@@ -170,7 +170,7 @@ void AutofillPopup::UpdatePopupBounds(int height_compensation) {
   int desired_height = GetDesiredPopupHeight();
   bool is_rtl = false;
 
-  gfx::Point origin(element_bounds_.origin().x(), 
+  gfx::Point origin(element_bounds_.origin().x(),
     element_bounds_.origin().y() - height_compensation);
   gfx::Rect bounds(origin, element_bounds_.size());
 

+ 1 - 1
atom/browser/ui/autofill_popup.h

@@ -11,8 +11,8 @@
 #include "content/public/browser/render_frame_host.h"
 #include "ui/gfx/font_list.h"
 #include "ui/native_theme/native_theme.h"
-#include "ui/views/widget/widget.h"
 #include "ui/views/view.h"
+#include "ui/views/widget/widget.h"
 
 namespace atom {
 

+ 1 - 1
atom/browser/web_contents_preferences.cc

@@ -281,7 +281,7 @@ content::WebContents* WebContentsPreferences::Embedder(
       }
     }
   }
-  
+
   return nullptr;
 }