Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3627)

Unified Diff: chrome/browser/ui/web_contents_sizer.mm

Issue 503233003: Add AppDelegate::ResizeWebContents (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Call the right function Created 6 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/ui/web_contents_sizer.cc ('k') | chrome/chrome_browser_ui.gypi » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/web_contents_sizer.mm
diff --git a/apps/ui/web_contents_sizer.mm b/chrome/browser/ui/web_contents_sizer.mm
similarity index 89%
rename from apps/ui/web_contents_sizer.mm
rename to chrome/browser/ui/web_contents_sizer.mm
index f57d75c7b3121e8106b6ad161f041246e5bec09c..46d3e861d4db7e6cfa4bca75b5e3adc2ad1920e8 100644
--- a/apps/ui/web_contents_sizer.mm
+++ b/chrome/browser/ui/web_contents_sizer.mm
@@ -2,14 +2,12 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#include "apps/ui/web_contents_sizer.h"
+#include "chrome/browser/ui/web_contents_sizer.h"
#import <Cocoa/Cocoa.h>
#include "content/public/browser/web_contents.h"
-namespace apps {
-
void ResizeWebContents(content::WebContents* web_contents,
const gfx::Size& new_size) {
NSView* view = web_contents->GetNativeView();
@@ -21,5 +19,3 @@ void ResizeWebContents(content::WebContents* web_contents,
NSMakeRect(new_x, new_y, new_size.width(), new_size.height());
[view setFrame:new_wcv_frame];
}
-
-} // namespace apps
« no previous file with comments | « chrome/browser/ui/web_contents_sizer.cc ('k') | chrome/chrome_browser_ui.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698