OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_CREATE_APPLICATION_SHORTCUT_VIEW_H_ | 5 #ifndef CHROME_BROWSER_UI_VIEWS_CREATE_APPLICATION_SHORTCUT_VIEW_H_ |
6 #define CHROME_BROWSER_UI_VIEWS_CREATE_APPLICATION_SHORTCUT_VIEW_H_ | 6 #define CHROME_BROWSER_UI_VIEWS_CREATE_APPLICATION_SHORTCUT_VIEW_H_ |
7 | 7 |
8 #include <memory> | 8 #include <memory> |
9 #include <string> | 9 #include <string> |
10 #include <vector> | 10 #include <vector> |
11 | 11 |
12 #include "base/compiler_specific.h" | 12 #include "base/compiler_specific.h" |
13 #include "base/macros.h" | 13 #include "base/macros.h" |
14 #include "chrome/browser/web_applications/web_app.h" | 14 #include "chrome/browser/web_applications/web_app.h" |
15 #include "extensions/common/manifest_handlers/file_handler_info.h" | 15 #include "extensions/common/manifest_handlers/file_handler_info.h" |
16 #include "ui/views/controls/button/button.h" | 16 #include "ui/views/controls/button/button.h" |
17 #include "ui/views/window/dialog_delegate.h" | 17 #include "ui/views/window/dialog_delegate.h" |
18 | 18 |
19 class FaviconDownloadHelper; | |
20 class GURL; | 19 class GURL; |
21 class Profile; | 20 class Profile; |
22 class SkBitmap; | 21 class SkBitmap; |
23 | 22 |
24 namespace content { | 23 namespace content { |
25 class WebContents; | 24 class WebContents; |
26 } | 25 } |
27 | 26 |
28 namespace extensions { | 27 namespace extensions { |
29 class Extension; | 28 class Extension; |
(...skipping 120 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
150 const extensions::FileHandlersInfo& file_handlers_info); | 149 const extensions::FileHandlersInfo& file_handlers_info); |
151 | 150 |
152 base::Callback<void(bool)> close_callback_; | 151 base::Callback<void(bool)> close_callback_; |
153 | 152 |
154 base::WeakPtrFactory<CreateChromeApplicationShortcutView> weak_ptr_factory_; | 153 base::WeakPtrFactory<CreateChromeApplicationShortcutView> weak_ptr_factory_; |
155 | 154 |
156 DISALLOW_COPY_AND_ASSIGN(CreateChromeApplicationShortcutView); | 155 DISALLOW_COPY_AND_ASSIGN(CreateChromeApplicationShortcutView); |
157 }; | 156 }; |
158 | 157 |
159 #endif // CHROME_BROWSER_UI_VIEWS_CREATE_APPLICATION_SHORTCUT_VIEW_H_ | 158 #endif // CHROME_BROWSER_UI_VIEWS_CREATE_APPLICATION_SHORTCUT_VIEW_H_ |
OLD | NEW |