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

Unified Diff: chrome/browser/ui/panels/panel.h

Issue 8774016: Change the panel using the improved way of doing autosizing. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix comment. Created 9 years 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/panels/panel.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/panels/panel.h
diff --git a/chrome/browser/ui/panels/panel.h b/chrome/browser/ui/panels/panel.h
index c283a59d1e29c8fc68dc974f410021058ef7e3b7..d2dc41f9db51fa817a98795c267507770d71727d 100644
--- a/chrome/browser/ui/panels/panel.h
+++ b/chrome/browser/ui/panels/panel.h
@@ -17,7 +17,6 @@
class NativePanel;
class PanelManager;
-class RenderViewHost;
// A platform independent implementation of BrowserWindow for Panels. This
// class would get the first crack at all the BrowserWindow calls for Panels and
@@ -240,20 +239,12 @@ class Panel : public BrowserWindow,
// size may differ after panel layout.
Panel(Browser* browser, const gfx::Size& requested_size);
- // NULL might be returned if the tab has not been added.
- RenderViewHost* GetRenderViewHost() const;
-
// Configures the tab contents for auto resize, including configurations
// on the renderer and detecting renderer changes.
void EnableTabContentsAutoResize(TabContents* tab_contents);
- // Configures the renderer for auto resize.
- void EnableRendererAutoResize(RenderViewHost* render_view_host);
-
- // Requests RenderViewHost not to show the scrollbars till |max_size_| since
- // the panel can grow to |max_size_|.
- void RequestRenderViewHostToDisableScrollbars(
- RenderViewHost* render_view_host);
+ // Configures the renderer for auto resize (if auto resize is enabled).
+ void ConfigureAutoResize(TabContents* tab_contents);
Browser* browser_; // Weak, owned by native panel.
« no previous file with comments | « no previous file | chrome/browser/ui/panels/panel.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698