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

Unified Diff: chrome/browser/tab_contents/web_contents_view.h

Issue 67044: Fix missing backing store in Linux. (Closed)
Patch Set: Delete unnecessary member variable. Created 11 years, 8 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/tab_contents/web_contents.cc ('k') | chrome/browser/tab_contents/web_contents_view_gtk.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/tab_contents/web_contents_view.h
diff --git a/chrome/browser/tab_contents/web_contents_view.h b/chrome/browser/tab_contents/web_contents_view.h
index 2efd6f2e70f857d681d9c67f8f3ceda1e2cd73b3..171d27550fb10a3f999569f3fbaba0f77ce46a53 100644
--- a/chrome/browser/tab_contents/web_contents_view.h
+++ b/chrome/browser/tab_contents/web_contents_view.h
@@ -35,7 +35,7 @@ class WaitableEvent;
// that should be the same for all platforms.
class WebContentsView : public RenderViewHostDelegate::View {
public:
- WebContentsView(WebContents* web_contents);
+ explicit WebContentsView(WebContents* web_contents);
virtual ~WebContentsView() {}
// Creates the appropriate type of WebContentsView for the current system.
@@ -121,6 +121,10 @@ class WebContentsView : public RenderViewHostDelegate::View {
// invoked, SetInitialFocus is invoked.
virtual void RestoreFocus() = 0;
+ // Sets children's size. May involve packing them in order to get the
+ // toolkit to send them resize events.
+ virtual void SetChildSize(RenderWidgetHostView* rwh_view) = 0;
+
protected:
WebContentsView() {} // Abstract interface.
« no previous file with comments | « chrome/browser/tab_contents/web_contents.cc ('k') | chrome/browser/tab_contents/web_contents_view_gtk.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698