OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 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 | 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_EXTENSIONS_EXTENSION_INSTALL_UI_H_ | 5 #ifndef CHROME_BROWSER_EXTENSIONS_EXTENSION_INSTALL_UI_H_ |
6 #define CHROME_BROWSER_EXTENSIONS_EXTENSION_INSTALL_UI_H_ | 6 #define CHROME_BROWSER_EXTENSIONS_EXTENSION_INSTALL_UI_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include <string> | 9 #include <string> |
10 #include <vector> | 10 #include <vector> |
11 | 11 |
12 #include "base/string16.h" | 12 #include "base/string16.h" |
13 #include "chrome/browser/extensions/image_loading_tracker.h" | 13 #include "chrome/browser/extensions/image_loading_tracker.h" |
14 #include "chrome/common/extensions/url_pattern.h" | 14 #include "chrome/common/extensions/url_pattern.h" |
15 #include "gfx/native_widget_types.h" | |
16 #include "third_party/skia/include/core/SkBitmap.h" | 15 #include "third_party/skia/include/core/SkBitmap.h" |
| 16 #include "ui/gfx/native_widget_types.h" |
17 | 17 |
18 class Extension; | 18 class Extension; |
19 class MessageLoop; | 19 class MessageLoop; |
20 class Profile; | 20 class Profile; |
21 class InfoBarDelegate; | 21 class InfoBarDelegate; |
22 class TabContents; | 22 class TabContents; |
23 | 23 |
24 // Displays all the UI around extension installation and uninstallation. | 24 // Displays all the UI around extension installation and uninstallation. |
25 class ExtensionInstallUI : public ImageLoadingTracker::Observer { | 25 class ExtensionInstallUI : public ImageLoadingTracker::Observer { |
26 public: | 26 public: |
(...skipping 106 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
133 Delegate* delegate_; // The delegate we will call Proceed/Abort on after | 133 Delegate* delegate_; // The delegate we will call Proceed/Abort on after |
134 // confirmation UI. | 134 // confirmation UI. |
135 PromptType prompt_type_; // The type of prompt we are going to show. | 135 PromptType prompt_type_; // The type of prompt we are going to show. |
136 | 136 |
137 // Keeps track of extension images being loaded on the File thread for the | 137 // Keeps track of extension images being loaded on the File thread for the |
138 // purpose of showing the install UI. | 138 // purpose of showing the install UI. |
139 ImageLoadingTracker tracker_; | 139 ImageLoadingTracker tracker_; |
140 }; | 140 }; |
141 | 141 |
142 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_INSTALL_UI_H_ | 142 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_INSTALL_UI_H_ |
OLD | NEW |