summaryrefslogtreecommitdiffstats
path: root/chrome/browser/ui/browser_window.h
diff options
context:
space:
mode:
authoralekseys@chromium.org <alekseys@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-11-16 22:33:03 +0000
committeralekseys@chromium.org <alekseys@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-11-16 22:33:03 +0000
commite2356245e357455e99aade6a0800032b115c1b53 (patch)
treedcd58e1a53d918716650531111141d266d6aea9b /chrome/browser/ui/browser_window.h
parent880a6d5e6933a40338c06fcc5d9fd7ae5e654a4a (diff)
downloadchromium_src-e2356245e357455e99aade6a0800032b115c1b53.zip
chromium_src-e2356245e357455e99aade6a0800032b115c1b53.tar.gz
chromium_src-e2356245e357455e99aade6a0800032b115c1b53.tar.bz2
Handle resize corner layout entirely in the BrowserView (views) or BrowserWindow* (Mac)
and extend RenderViewHost with a concept of reserved contents rect, a place to show extra stuff, such as Sidebar's mini tab UI. sidebar UI implementation warranted this change (mini tabs UI and resize corner area for sidebar contents). TabContentsDelegate::GetRootWindowResizerRect() is no more, reserved contents area is now cached in RenderWidgetHostView and updated upon view resize. Views: BrowserView is responsible for the actual layout and reserved contents area update. Mac: TabContentsController now manages all TabContents views in the main browser window to solve two problems, first to prevent contents flickering during tab change not only for the page, but for the sidebar and devtools contents too and, second, to monitor contents view frame changes and update reserved contents area accordingly. BUG=51084 TEST=All tests should pass, this is a refactoring CL. Review URL: http://codereview.chromium.org/3547008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@66332 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/ui/browser_window.h')
-rw-r--r--chrome/browser/ui/browser_window.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/chrome/browser/ui/browser_window.h b/chrome/browser/ui/browser_window.h
index aa3a931..31c1d560 100644
--- a/chrome/browser/ui/browser_window.h
+++ b/chrome/browser/ui/browser_window.h
@@ -168,12 +168,6 @@ class BrowserWindow {
// Returns whether the tool bar is visible or not.
virtual bool IsToolbarVisible() const = 0;
- // Returns the rect where the resize corner should be drawn by the render
- // widget host view (on top of what the renderer returns). We return an empty
- // rect to identify that there shouldn't be a resize corner (in the cases
- // where we take care of it ourselves at the browser level).
- virtual gfx::Rect GetRootWindowResizerRect() const = 0;
-
// Tells the frame not to render as inactive until the next activation change.
// This is required on Windows when dropdown selects are shown to prevent the
// select from deactivating the browser frame. A stub implementation is