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

Side by Side 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: Call the right function Created 6 years, 3 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 unified diff | Download patch
« no previous file with comments | « chrome/browser/ui/tabs/tab_strip_model.cc ('k') | chrome/browser/ui/web_contents_sizer.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef APPS_UI_WEB_CONTENTS_SIZER_H_ 5 #ifndef CHROME_BROWSER_UI_WEB_CONTENTS_SIZER_H_
6 #define APPS_UI_WEB_CONTENTS_SIZER_H_ 6 #define CHROME_BROWSER_UI_WEB_CONTENTS_SIZER_H_
7 7
8 namespace content { 8 namespace content {
9 class WebContents; 9 class WebContents;
10 } 10 }
11 11
12 namespace gfx { 12 namespace gfx {
13 class Size; 13 class Size;
14 } 14 }
15 15
16 namespace apps {
17 // A platform-agnostic function to resize a WebContents. The top-left corner of 16 // A platform-agnostic function to resize a WebContents. The top-left corner of
18 // the WebContents does not move during the resizing. 17 // the WebContents does not move during the resizing.
19 void ResizeWebContents(content::WebContents* web_contents, 18 void ResizeWebContents(content::WebContents* web_contents,
20 const gfx::Size& size); 19 const gfx::Size& size);
21 20
22 } // namespace apps 21 #endif // CHROME_BROWSER_UI_WEB_CONTENTS_SIZER_H_
23
24 #endif // APPS_UI_WEB_CONTENTS_SIZER_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/tabs/tab_strip_model.cc ('k') | chrome/browser/ui/web_contents_sizer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698