diff options
author | msw@chromium.org <msw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-10-18 22:34:18 +0000 |
---|---|---|
committer | msw@chromium.org <msw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-10-18 22:34:18 +0000 |
commit | da521c53953217de6d2f5963180435e52787badc (patch) | |
tree | 2beb54956c9cc8a66d48c3b2cd06ab61443ba731 /views/bubble/bubble_view.cc | |
parent | 94c6eda7a6b36ae1e4f1050f69c23c960e67d923 (diff) | |
download | chromium_src-da521c53953217de6d2f5963180435e52787badc.zip chromium_src-da521c53953217de6d2f5963180435e52787badc.tar.gz chromium_src-da521c53953217de6d2f5963180435e52787badc.tar.bz2 |
Fix Chrome OS Clang build.
Review URL: http://codereview.chromium.org/8344020
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@106152 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'views/bubble/bubble_view.cc')
-rw-r--r-- | views/bubble/bubble_view.cc | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/views/bubble/bubble_view.cc b/views/bubble/bubble_view.cc index 8ae5efe..85a271f 100644 --- a/views/bubble/bubble_view.cc +++ b/views/bubble/bubble_view.cc @@ -21,6 +21,14 @@ BubbleView::BubbleView(Widget* owner, View* contents_view) BubbleView::~BubbleView() {} +BubbleView* BubbleView::AsBubbleView() { + return this; +} + +const BubbleView* BubbleView::AsBubbleView() const { + return this; +} + void BubbleView::StartFade(bool fade_in) { fade_animation_.reset(new ui::SlideAnimation(this)); fade_animation_->SetSlideDuration(kHideFadeDurationMS); |