| OLD | NEW |
| (Empty) | |
| 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #ifndef CHROME_BROWSER_POPUP_BLOCKED_ANIMATION_H_ |
| 6 #define CHROME_BROWSER_POPUP_BLOCKED_ANIMATION_H_ |
| 7 |
| 8 #include "base/basictypes.h" |
| 9 |
| 10 class TabContents; |
| 11 |
| 12 // The popup blocker lives in the Omnibox with the rest of the blocked content |
| 13 // controls. This icon is hard to notice when it appears as a result of user- |
| 14 // initiated action. This creates an animation from the center of the window |
| 15 // to the blocked popup icon in the Omnibox to draw the user's attention to it. |
| 16 class PopupBlockedAnimation { |
| 17 public: |
| 18 static void Show(TabContents* tab_contents); |
| 19 |
| 20 private: |
| 21 PopupBlockedAnimation() {} |
| 22 DISALLOW_COPY_AND_ASSIGN(PopupBlockedAnimation); |
| 23 }; |
| 24 |
| 25 #endif // CHROME_BROWSER_POPUP_BLOCKED_ANIMATION_H_ |
| OLD | NEW |