summaryrefslogtreecommitdiffstats
path: root/chrome/browser/views/browser_bubble.h
diff options
context:
space:
mode:
authoraa@chromium.org <aa@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-11-18 04:11:31 +0000
committeraa@chromium.org <aa@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-11-18 04:11:31 +0000
commit07daa864e47774c556796ebd0839f77e60e20d06 (patch)
tree3a8cd94e09e5d5f34c6a9b0516c9dd6614aeac46 /chrome/browser/views/browser_bubble.h
parent6584288c7eff9248f0f983979b8e64d18b1fd554 (diff)
downloadchromium_src-07daa864e47774c556796ebd0839f77e60e20d06.zip
chromium_src-07daa864e47774c556796ebd0839f77e60e20d06.tar.gz
chromium_src-07daa864e47774c556796ebd0839f77e60e20d06.tar.bz2
Fix a crash when activating a select element inside a page
action popup. With this change, select elements still don't work correctly with page actions: when you try to use them, the page action popup disappears. However, at least now, it doesn't crash. BUG=27576 TEST=Install extension in related bug. Navigate to any site and click page action. Browser should not crash. Review URL: http://codereview.chromium.org/399032 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@32277 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/views/browser_bubble.h')
-rw-r--r--chrome/browser/views/browser_bubble.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/browser/views/browser_bubble.h b/chrome/browser/views/browser_bubble.h
index 74928f3..eaf3d0b 100644
--- a/chrome/browser/views/browser_bubble.h
+++ b/chrome/browser/views/browser_bubble.h
@@ -19,11 +19,11 @@ class BrowserBubble {
class Delegate {
public:
// Called when the Browser Window that this bubble is attached to moves.
- virtual void BubbleBrowserWindowMoved(BrowserBubble* bubble) = 0;
+ virtual void BubbleBrowserWindowMoved(BrowserBubble* bubble) {}
// Called with the Browser Window that this bubble is attached to is
// about to close.
- virtual void BubbleBrowserWindowClosing(BrowserBubble* bubble) = 0;
+ virtual void BubbleBrowserWindowClosing(BrowserBubble* bubble) {}
// Called when the bubble became active / got focus.
virtual void BubbleGotFocus(BrowserBubble* bubble) {}