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

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

Issue 2695093005: Remove RWHV::SetBounds() from the public API, and make comments clearer.
Patch Set: Revert web_contents_sizer to its previous shenanigans (http://crbug.com/693953). Created 3 years, 10 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 | « no previous file | 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 c9aa44f2e93f5c7cf2847eefc32f655aac5242d7..5bf6fd328b176bdc9eb9d050e8a017dab0e3487b 100644
--- a/chrome/browser/ui/web_contents_sizer.h
+++ b/chrome/browser/ui/web_contents_sizer.h
@@ -14,6 +14,9 @@ class Rect;
}
// A platform-agnostic function to resize a WebContents.
+//
+// TODO(miu): DEPRECATED. http://crbug.com/693953
+// Call web_contents->GetRenderWidgetHostView()->SetSize() instead.
void ResizeWebContents(content::WebContents* web_contents,
const gfx::Rect& bounds);
« no previous file with comments | « no previous file | chrome/browser/ui/web_contents_sizer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698