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

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

Issue 8704005: Add autoresize capability to chromium. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 1 month 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') | chrome/browser/ui/panels/panel.cc » ('J')
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 4911a0c7f5b70fb89103fbbcca3817e53c0402c2..3164e8c50569ae04835e2c215e40367befbb2083 100644
--- a/chrome/browser/ui/panels/panel.h
+++ b/chrome/browser/ui/panels/panel.h
@@ -195,10 +195,6 @@ class Panel : public BrowserWindow,
// Returns NULL if it cannot be found.
static const Extension* GetExtensionFromBrowser(Browser* browser);
- // Used on platforms where the panel cannot determine its window size
- // until the window has been created. (e.g. GTK)
- void OnWindowSizeAvailable();
-
// Asynchronous completion of panel close request.
void OnNativePanelClosed();
@@ -243,11 +239,6 @@ class Panel : public BrowserWindow,
// 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);
-
// This is the minimum size that the panel can shrink to.
gfx::Size min_size_;
« no previous file with comments | « no previous file | chrome/browser/ui/panels/panel.cc » ('j') | chrome/browser/ui/panels/panel.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698