diff options
author | erikkay@chromium.org <erikkay@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-07-13 21:40:33 +0000 |
---|---|---|
committer | erikkay@chromium.org <erikkay@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-07-13 21:40:33 +0000 |
commit | df0d9880016f04f8ee26b81843fe8b57807f9e12 (patch) | |
tree | e24a2d065e4656f706c61bb898b8844849ea8f70 /chrome/browser/views/browser_bubble.h | |
parent | 9cb52500ca39aff089dd21340cd2144bb628e309 (diff) | |
download | chromium_src-df0d9880016f04f8ee26b81843fe8b57807f9e12.zip chromium_src-df0d9880016f04f8ee26b81843fe8b57807f9e12.tar.gz chromium_src-df0d9880016f04f8ee26b81843fe8b57807f9e12.tar.bz2 |
Refactoring handle and dragging a bit in preparation for moles. The primary change for this is to get rid of the concept of a "current" toolstrip and the idea that there's only one handle around. Instead, each toolstrip has its own handle and each can be displaying it independently. There's some initial work for moles in there, but it's disabled since this will require some other plumbing to hook up properly.
Review URL: http://codereview.chromium.org/155192
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20544 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/views/browser_bubble.h')
-rw-r--r-- | chrome/browser/views/browser_bubble.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/chrome/browser/views/browser_bubble.h b/chrome/browser/views/browser_bubble.h index bc4f509..13317f55 100644 --- a/chrome/browser/views/browser_bubble.h +++ b/chrome/browser/views/browser_bubble.h @@ -39,6 +39,7 @@ class BrowserBubble { // Normally called automatically during construction, but if DetachFromBrowser // has been called manually, then this call will reattach. void AttachToBrowser(); + bool attached() const { return attached_; } // Get/Set the delegate. Delegate* delegate() const { return delegate_; } @@ -52,7 +53,7 @@ class BrowserBubble { // Show or hide the bubble. void Show(); void Hide(); - bool is_visible() const { return visible_; } + bool visible() const { return visible_; } // The contained view. views::View* view() const { return view_; } |