| 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 |
| 11 #include "base/compiler_specific.h" | 11 #include "base/compiler_specific.h" |
| 12 #include "base/memory/ref_counted.h" | 12 #include "base/memory/ref_counted.h" |
| 13 #include "base/memory/scoped_ptr.h" | 13 #include "base/memory/scoped_ptr.h" |
| 14 #include "base/memory/weak_ptr.h" | 14 #include "base/memory/weak_ptr.h" |
| 15 #include "base/string16.h" | 15 #include "base/string16.h" |
| 16 #include "chrome/browser/extensions/webstore_installer.h" | 16 #include "chrome/browser/extensions/webstore_installer.h" |
| 17 #include "chrome/browser/favicon/favicon_service.h" | 17 #include "chrome/browser/favicon/favicon_service.h" |
| 18 #include "chrome/browser/intents/cws_intents_registry.h" | 18 #include "chrome/browser/intents/cws_intents_registry.h" |
| 19 #include "chrome/browser/intents/web_intents_registry.h" | 19 #include "chrome/browser/intents/web_intents_registry.h" |
| 20 #include "chrome/browser/ui/intents/web_intent_picker_delegate.h" | 20 #include "chrome/browser/ui/intents/web_intent_picker_delegate.h" |
| 21 #include "content/public/browser/notification_observer.h" | 21 #include "content/public/browser/notification_observer.h" |
| 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 TabContents; |
| 30 typedef TabContents TabContentsWrapper; |
| 30 class WebIntentPicker; | 31 class WebIntentPicker; |
| 31 class WebIntentPickerModel; | 32 class WebIntentPickerModel; |
| 32 | 33 |
| 33 namespace content { | 34 namespace content { |
| 34 class WebContents; | 35 class WebContents; |
| 35 class WebIntentsDispatcher; | 36 class WebIntentsDispatcher; |
| 36 } | 37 } |
| 37 | 38 |
| 38 namespace webkit_glue { | 39 namespace webkit_glue { |
| 39 struct WebIntentServiceData; | 40 struct WebIntentServiceData; |
| (...skipping 160 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 200 | 201 |
| 201 // Request consumer used when asynchronously loading favicons. | 202 // Request consumer used when asynchronously loading favicons. |
| 202 CancelableRequestConsumerTSimple<size_t> favicon_consumer_; | 203 CancelableRequestConsumerTSimple<size_t> favicon_consumer_; |
| 203 | 204 |
| 204 base::WeakPtrFactory<WebIntentPickerController> weak_ptr_factory_; | 205 base::WeakPtrFactory<WebIntentPickerController> weak_ptr_factory_; |
| 205 | 206 |
| 206 DISALLOW_COPY_AND_ASSIGN(WebIntentPickerController); | 207 DISALLOW_COPY_AND_ASSIGN(WebIntentPickerController); |
| 207 }; | 208 }; |
| 208 | 209 |
| 209 #endif // CHROME_BROWSER_UI_INTENTS_WEB_INTENT_PICKER_CONTROLLER_H_ | 210 #endif // CHROME_BROWSER_UI_INTENTS_WEB_INTENT_PICKER_CONTROLLER_H_ |
| OLD | NEW |