summaryrefslogtreecommitdiffstats
path: root/chrome/browser/views/popup_blocked_animation_win.cc
diff options
context:
space:
mode:
authorrsesek@chromium.org <rsesek@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-07-20 00:03:43 +0000
committerrsesek@chromium.org <rsesek@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-07-20 00:03:43 +0000
commit8e0bbf1a0ad8dc782b7addb93624e4a7ffe2519e (patch)
tree5aa3b7edb0833f74d5ecd80028808284b6d333f7 /chrome/browser/views/popup_blocked_animation_win.cc
parent93794a7e23b578fac1cd41b232f6018268cd21fa (diff)
downloadchromium_src-8e0bbf1a0ad8dc782b7addb93624e4a7ffe2519e.zip
chromium_src-8e0bbf1a0ad8dc782b7addb93624e4a7ffe2519e.tar.gz
chromium_src-8e0bbf1a0ad8dc782b7addb93624e4a7ffe2519e.tar.bz2
[Mac] Display a quick animation when a popup is blocked so the user notices it in the Omnibox.
This refactors the animation code of the DownloadStartedAnimationMac into AnimatableImage. BUG=49341 TEST=Go to http://www.popuptest.com/popuptest3.html. When a popup is opened, see animation. TEST=Download a file. Animation still plays. Review URL: http://codereview.chromium.org/3014005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@52965 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/views/popup_blocked_animation_win.cc')
-rw-r--r--chrome/browser/views/popup_blocked_animation_win.cc10
1 files changed, 10 insertions, 0 deletions
diff --git a/chrome/browser/views/popup_blocked_animation_win.cc b/chrome/browser/views/popup_blocked_animation_win.cc
new file mode 100644
index 0000000..391921b
--- /dev/null
+++ b/chrome/browser/views/popup_blocked_animation_win.cc
@@ -0,0 +1,10 @@
+// Copyright (c) 2010 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#include "chrome/browser/popup_blocked_animation.h"
+#include "chrome/browser/tab_contents/tab_contents.h"
+
+void PopupBlockedAnimation::Show(TabContents* tab_contents) {
+ // TODO(port): Implement. http://crbug.com/49341
+}