diff options
author | mad@chromium.org <mad@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-02-10 19:18:15 +0000 |
---|---|---|
committer | mad@chromium.org <mad@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-02-10 19:18:15 +0000 |
commit | 6d7b953ec6132658ec7f85c2976c98ecd0c852b2 (patch) | |
tree | c318e59ed09ce88dafb5fabc094a26247bf52ebd /chrome/browser/browser_window.h | |
parent | 08658a41d004daaf4183537fe2314eb2532881ee (diff) | |
download | chromium_src-6d7b953ec6132658ec7f85c2976c98ecd0c852b2.zip chromium_src-6d7b953ec6132658ec7f85c2976c98ecd0c852b2.tar.gz chromium_src-6d7b953ec6132658ec7f85c2976c98ecd0c852b2.tar.bz2 |
Relanding of http://codereview.chromium.org/16488.
Adding proper project dependency in chrome.sln.
Review URL: http://codereview.chromium.org/21188
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9493 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/browser_window.h')
-rw-r--r-- | chrome/browser/browser_window.h | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/chrome/browser/browser_window.h b/chrome/browser/browser_window.h index 1b382ae..2809d2e 100644 --- a/chrome/browser/browser_window.h +++ b/chrome/browser/browser_window.h @@ -83,7 +83,7 @@ class BrowserWindow { // TODO(beng): REMOVE? // Returns true if the frame is maximized (aka zoomed). - virtual bool IsMaximized() = 0; + virtual bool IsMaximized() const = 0; // Returns the location bar. virtual LocationBar* GetLocationBar() const = 0; @@ -102,6 +102,12 @@ class BrowserWindow { // Returns whether the bookmark bar is visible or not. virtual bool IsBookmarkBarVisible() 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; + // Shows or hides the bookmark bar depending on its current visibility. virtual void ToggleBookmarkBar() = 0; @@ -126,7 +132,7 @@ class BrowserWindow { // Shows the Import Bookmarks & Settings dialog box. virtual void ShowImportDialog() = 0; - + // Shows the Search Engines dialog box. virtual void ShowSearchEnginesDialog() = 0; |