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

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

Issue 2259533003: Use bounds instead of size for prerender requests (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: comments nit Created 4 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/tabs/tab_strip_model.cc ('k') | chrome/browser/ui/web_contents_sizer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/web_contents_sizer.h
diff --git a/chrome/browser/ui/web_contents_sizer.h b/chrome/browser/ui/web_contents_sizer.h
index b7021dc9816377de36d1cb5725833b884e452597..c9aa44f2e93f5c7cf2847eefc32f655aac5242d7 100644
--- a/chrome/browser/ui/web_contents_sizer.h
+++ b/chrome/browser/ui/web_contents_sizer.h
@@ -10,12 +10,11 @@ class WebContents;
}
namespace gfx {
-class Size;
+class Rect;
}
-// A platform-agnostic function to resize a WebContents. The top-left corner of
-// the WebContents does not move during the resizing.
+// A platform-agnostic function to resize a WebContents.
void ResizeWebContents(content::WebContents* web_contents,
- const gfx::Size& size);
+ const gfx::Rect& bounds);
#endif // CHROME_BROWSER_UI_WEB_CONTENTS_SIZER_H_
« 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