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

Unified Diff: chrome/browser/browser_window.h

Issue 16488: Add a new resizer corner overlay. (Closed) Base URL: http://src.chromium.org/svn/trunk/src/
Patch Set: '' Created 11 years, 10 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/browser.cc ('k') | chrome/browser/browser_window_cocoa.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/browser_window.h
===================================================================
--- chrome/browser/browser_window.h (revision 9328)
+++ chrome/browser/browser_window.h (working copy)
@@ -83,7 +83,7 @@
// 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 @@
// 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 @@
// Shows the Import Bookmarks & Settings dialog box.
virtual void ShowImportDialog() = 0;
-
+
// Shows the Search Engines dialog box.
virtual void ShowSearchEnginesDialog() = 0;
« no previous file with comments | « chrome/browser/browser.cc ('k') | chrome/browser/browser_window_cocoa.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698