OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef CHROME_BROWSER_UI_VIEWS_EXTENSIONS_EXTENSION_INSTALLED_BUBBLE_H_ | 5 #ifndef CHROME_BROWSER_UI_VIEWS_EXTENSIONS_EXTENSION_INSTALLED_BUBBLE_H_ |
6 #define CHROME_BROWSER_UI_VIEWS_EXTENSIONS_EXTENSION_INSTALLED_BUBBLE_H_ | 6 #define CHROME_BROWSER_UI_VIEWS_EXTENSIONS_EXTENSION_INSTALLED_BUBBLE_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include "base/ref_counted.h" | 9 #include "base/ref_counted.h" |
10 #include "chrome/browser/views/info_bubble.h" | 10 #include "chrome/browser/ui/views/info_bubble.h" |
11 #include "chrome/common/notification_observer.h" | 11 #include "chrome/common/notification_observer.h" |
12 #include "chrome/common/notification_registrar.h" | 12 #include "chrome/common/notification_registrar.h" |
13 #include "third_party/skia/include/core/SkBitmap.h" | 13 #include "third_party/skia/include/core/SkBitmap.h" |
14 | 14 |
15 class Browser; | 15 class Browser; |
16 class Extension; | 16 class Extension; |
17 class InstalledBubbleContent; | 17 class InstalledBubbleContent; |
18 class SkBitmap; | 18 class SkBitmap; |
19 | 19 |
20 // Provides feedback to the user upon successful installation of an | 20 // Provides feedback to the user upon successful installation of an |
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
77 InstalledBubbleContent* bubble_content_; | 77 InstalledBubbleContent* bubble_content_; |
78 BubbleType type_; | 78 BubbleType type_; |
79 | 79 |
80 // How many times we've deferred due to animations being in progress. | 80 // How many times we've deferred due to animations being in progress. |
81 int animation_wait_retries_; | 81 int animation_wait_retries_; |
82 | 82 |
83 DISALLOW_COPY_AND_ASSIGN(ExtensionInstalledBubble); | 83 DISALLOW_COPY_AND_ASSIGN(ExtensionInstalledBubble); |
84 }; | 84 }; |
85 | 85 |
86 #endif // CHROME_BROWSER_UI_VIEWS_EXTENSIONS_EXTENSION_INSTALLED_BUBBLE_H_ | 86 #endif // CHROME_BROWSER_UI_VIEWS_EXTENSIONS_EXTENSION_INSTALLED_BUBBLE_H_ |
OLD | NEW |