diff options
author | tc@google.com <tc@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-06-22 18:42:29 +0000 |
---|---|---|
committer | tc@google.com <tc@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-06-22 18:42:29 +0000 |
commit | 359a5bf69945cfe2cc0fce78e851bf50f48b270b (patch) | |
tree | cfd2aab36c7e63226fff23330b39e94907238755 /chrome/browser/gtk/browser_toolbar_gtk.h | |
parent | c57a65632f3e4cabc45f380b77d7141c7f9b0a27 (diff) | |
download | chromium_src-359a5bf69945cfe2cc0fce78e851bf50f48b270b.zip chromium_src-359a5bf69945cfe2cc0fce78e851bf50f48b270b.tar.gz chromium_src-359a5bf69945cfe2cc0fce78e851bf50f48b270b.tar.bz2 |
Add the ability to resize the window when over the custom frame.
I also switched from 3px borders to 4px borders because that's what they are
on windows. On linux, the borders look bigger because our webcontent area
doesn't drop a shadow.
For this to work for resizing on top, I had to remove the event box from
the browser titlebar and move the mouse event handling to the window.
BUG=14645
Review URL: http://codereview.chromium.org/140026
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@18927 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/gtk/browser_toolbar_gtk.h')
-rw-r--r-- | chrome/browser/gtk/browser_toolbar_gtk.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/chrome/browser/gtk/browser_toolbar_gtk.h b/chrome/browser/gtk/browser_toolbar_gtk.h index a636905..3671c14 100644 --- a/chrome/browser/gtk/browser_toolbar_gtk.h +++ b/chrome/browser/gtk/browser_toolbar_gtk.h @@ -47,6 +47,11 @@ class BrowserToolbarGtk : public CommandUpdater::CommandObserver, void Show(); void Hide(); + // Getter for the containing widget. + GtkWidget* widget() { + return toolbar_; + } + virtual LocationBar* GetLocationBar() const; GoButtonGtk* GetGoButton() { return go_.get(); } |