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/ref_counted.h" | |
13 #include "base/string16.h" | 12 #include "base/string16.h" |
14 #include "chrome/browser/extensions/image_loading_tracker.h" | 13 #include "chrome/browser/extensions/image_loading_tracker.h" |
15 #include "gfx/native_widget_types.h" | 14 #include "gfx/native_widget_types.h" |
16 #include "third_party/skia/include/core/SkBitmap.h" | 15 #include "third_party/skia/include/core/SkBitmap.h" |
17 | 16 |
18 class Extension; | 17 class Extension; |
19 class MessageLoop; | 18 class MessageLoop; |
20 class Profile; | 19 class Profile; |
21 class InfoBarDelegate; | 20 class InfoBarDelegate; |
22 class TabContents; | 21 class TabContents; |
(...skipping 114 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
137 Delegate* delegate_; // The delegate we will call Proceed/Abort on after | 136 Delegate* delegate_; // The delegate we will call Proceed/Abort on after |
138 // confirmation UI. | 137 // confirmation UI. |
139 PromptType prompt_type_; // The type of prompt we are going to show. | 138 PromptType prompt_type_; // The type of prompt we are going to show. |
140 | 139 |
141 // Keeps track of extension images being loaded on the File thread for the | 140 // Keeps track of extension images being loaded on the File thread for the |
142 // purpose of showing the install UI. | 141 // purpose of showing the install UI. |
143 ImageLoadingTracker tracker_; | 142 ImageLoadingTracker tracker_; |
144 }; | 143 }; |
145 | 144 |
146 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_INSTALL_UI_H_ | 145 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_INSTALL_UI_H_ |
OLD | NEW |