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

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

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.h ('k') | chrome/browser/ui/web_contents_sizer.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/web_contents_sizer.cc
diff --git a/apps/ui/web_contents_sizer.cc b/chrome/browser/ui/web_contents_sizer.cc
similarity index 90%
rename from apps/ui/web_contents_sizer.cc
rename to chrome/browser/ui/web_contents_sizer.cc
index ab4e18ad088bb8356c963351d78641cba78e651f..ba7fff22173c2678ae9b2c736cd20c31dbf80168 100644
--- a/apps/ui/web_contents_sizer.cc
+++ b/chrome/browser/ui/web_contents_sizer.cc
@@ -2,7 +2,7 @@
// 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"
#include "content/public/browser/web_contents.h"
@@ -12,8 +12,6 @@
#include "content/public/browser/render_widget_host_view.h"
#endif
-namespace apps {
-
void ResizeWebContents(content::WebContents* web_contents,
const gfx::Size& new_size) {
#if defined(USE_AURA)
@@ -25,5 +23,3 @@ void ResizeWebContents(content::WebContents* web_contents,
view->SetSize(new_size);
#endif
}
-
-} // namespace apps
« no previous file with comments | « chrome/browser/ui/web_contents_sizer.h ('k') | chrome/browser/ui/web_contents_sizer.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698