| 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_INTENTS_WEB_INTENT_PICKER_CONTROLLER_H_ | 5 #ifndef CHROME_BROWSER_UI_INTENTS_WEB_INTENT_PICKER_CONTROLLER_H_ |
| 6 #define CHROME_BROWSER_UI_INTENTS_WEB_INTENT_PICKER_CONTROLLER_H_ | 6 #define CHROME_BROWSER_UI_INTENTS_WEB_INTENT_PICKER_CONTROLLER_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include <vector> | 9 #include <vector> |
| 10 | 10 |
| (...skipping 11 matching lines...) Expand all Loading... |
| 22 #include "content/public/browser/notification_registrar.h" | 22 #include "content/public/browser/notification_registrar.h" |
| 23 #include "webkit/glue/web_intent_data.h" | 23 #include "webkit/glue/web_intent_data.h" |
| 24 #include "webkit/glue/web_intent_reply_data.h" | 24 #include "webkit/glue/web_intent_reply_data.h" |
| 25 | 25 |
| 26 class Browser; | 26 class Browser; |
| 27 struct DefaultWebIntentService; | 27 struct DefaultWebIntentService; |
| 28 class GURL; | 28 class GURL; |
| 29 class TabContentsWrapper; | 29 class TabContentsWrapper; |
| 30 class WebIntentPicker; | 30 class WebIntentPicker; |
| 31 class WebIntentPickerModel; | 31 class WebIntentPickerModel; |
| 32 class WebstoreInstaller; | |
| 33 | 32 |
| 34 namespace content { | 33 namespace content { |
| 35 class WebContents; | 34 class WebContents; |
| 36 class WebIntentsDispatcher; | 35 class WebIntentsDispatcher; |
| 37 } | 36 } |
| 38 | 37 |
| 39 namespace webkit_glue { | 38 namespace webkit_glue { |
| 40 struct WebIntentServiceData; | 39 struct WebIntentServiceData; |
| 41 } | 40 } |
| 42 | 41 |
| (...skipping 127 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 170 // client page. | 169 // client page. |
| 171 content::WebIntentsDispatcher* intents_dispatcher_; | 170 content::WebIntentsDispatcher* intents_dispatcher_; |
| 172 | 171 |
| 173 // Weak pointer to the tab servicing the intent. Remembered in order to | 172 // Weak pointer to the tab servicing the intent. Remembered in order to |
| 174 // close it when a reply is sent. | 173 // close it when a reply is sent. |
| 175 content::WebContents* service_tab_; | 174 content::WebContents* service_tab_; |
| 176 | 175 |
| 177 // Request consumer used when asynchronously loading favicons. | 176 // Request consumer used when asynchronously loading favicons. |
| 178 CancelableRequestConsumerTSimple<size_t> favicon_consumer_; | 177 CancelableRequestConsumerTSimple<size_t> favicon_consumer_; |
| 179 | 178 |
| 180 // Used to install extensions from the Chrome Web Store. | |
| 181 scoped_refptr<WebstoreInstaller> webstore_installer_; | |
| 182 | |
| 183 base::WeakPtrFactory<WebIntentPickerController> weak_ptr_factory_; | 179 base::WeakPtrFactory<WebIntentPickerController> weak_ptr_factory_; |
| 184 | 180 |
| 185 DISALLOW_COPY_AND_ASSIGN(WebIntentPickerController); | 181 DISALLOW_COPY_AND_ASSIGN(WebIntentPickerController); |
| 186 }; | 182 }; |
| 187 | 183 |
| 188 #endif // CHROME_BROWSER_UI_INTENTS_WEB_INTENT_PICKER_CONTROLLER_H_ | 184 #endif // CHROME_BROWSER_UI_INTENTS_WEB_INTENT_PICKER_CONTROLLER_H_ |
| OLD | NEW |