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

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

Issue 503233003: Add AppDelegate::ResizeWebContents (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Move web_contents_sizer 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
Index: chrome/browser/ui/web_contents_sizer.h
diff --git a/apps/ui/web_contents_sizer.h b/chrome/browser/ui/web_contents_sizer.h
similarity index 71%
rename from apps/ui/web_contents_sizer.h
rename to chrome/browser/ui/web_contents_sizer.h
index 9b5818ead54213885e4545d592c78242a13ca197..d75546bbfb9cc96d5d2be8983294330dd7df8934 100644
--- a/apps/ui/web_contents_sizer.h
+++ b/chrome/browser/ui/web_contents_sizer.h
@@ -2,8 +2,8 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef APPS_UI_WEB_CONTENTS_SIZER_H_
-#define APPS_UI_WEB_CONTENTS_SIZER_H_
+#ifndef CHROME_BROWSER_UI_WEB_CONTENTS_SIZER_H_
+#define CHROME_BROWSER_UI_WEB_CONTENTS_SIZER_H_
namespace content {
class WebContents;
@@ -13,12 +13,12 @@ namespace gfx {
class Size;
}
-namespace apps {
+namespace chrome {
// A platform-agnostic function to resize a WebContents. The top-left corner of
// the WebContents does not move during the resizing.
void ResizeWebContents(content::WebContents* web_contents,
const gfx::Size& size);
-} // namespace apps
+} // namespace chrome
-#endif // APPS_UI_WEB_CONTENTS_SIZER_H_
+#endif // CHROME_BROWSER_UI_WEB_CONTENTS_SIZER_H_

Powered by Google App Engine
This is Rietveld 408576698