diff options
author | finnur@chromium.org <finnur@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-10-11 09:42:31 +0000 |
---|---|---|
committer | finnur@chromium.org <finnur@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-10-11 09:42:31 +0000 |
commit | 96d5a4e99cedf300577d751388a5d97824535ec6 (patch) | |
tree | 53866e9ee16a08384828984f86d70ebe97a32e24 /chrome/browser/speech/speech_input_bubble_views.cc | |
parent | f3c86904ef7ca88b3b5bbe761bf4acc92bffd370 (diff) | |
download | chromium_src-96d5a4e99cedf300577d751388a5d97824535ec6.zip chromium_src-96d5a4e99cedf300577d751388a5d97824535ec6.tar.gz chromium_src-96d5a4e99cedf300577d751388a5d97824535ec6.tar.bz2 |
Update the bubble to allow it not to be closed on dismiss. This is needed for my upcoming changelist.
BUG=97665
TEST=None (effectively a no-op), all bubbles should work as before.
Review URL: http://codereview.chromium.org/8136034
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@104876 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/speech/speech_input_bubble_views.cc')
-rw-r--r-- | chrome/browser/speech/speech_input_bubble_views.cc | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/chrome/browser/speech/speech_input_bubble_views.cc b/chrome/browser/speech/speech_input_bubble_views.cc index f502c8b..d417c99 100644 --- a/chrome/browser/speech/speech_input_bubble_views.cc +++ b/chrome/browser/speech/speech_input_bubble_views.cc @@ -261,21 +261,21 @@ class SpeechInputBubbleImpl virtual ~SpeechInputBubbleImpl(); // SpeechInputBubble methods. - virtual void Show(); - virtual void Hide(); + virtual void Show() OVERRIDE; + virtual void Hide() OVERRIDE; // SpeechInputBubbleBase methods. - virtual void UpdateLayout(); - virtual void UpdateImage(); + virtual void UpdateLayout() OVERRIDE; + virtual void UpdateImage() OVERRIDE; // Returns the screen rectangle to use as the info bubble's target. // |element_rect| is the html element's bounds in page coordinates. gfx::Rect GetInfoBubbleTarget(const gfx::Rect& element_rect); // BubbleDelegate - virtual void BubbleClosing(Bubble* bubble, bool closed_by_escape); - virtual bool CloseOnEscape(); - virtual bool FadeInOnShow(); + virtual void BubbleClosing(Bubble* bubble, bool closed_by_escape) OVERRIDE; + virtual bool CloseOnEscape() OVERRIDE; + virtual bool FadeInOnShow() OVERRIDE; private: Delegate* delegate_; |