| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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/scoped_ptr.h" | 12 #include "base/memory/scoped_ptr.h" |
| 13 #include "base/string16.h" | 13 #include "base/string16.h" |
| 14 #include "chrome/browser/ui/intents/web_intent_picker_delegate.h" | 14 #include "chrome/browser/ui/intents/web_intent_picker_delegate.h" |
| 15 #include "content/public/browser/notification_observer.h" | 15 #include "content/public/browser/notification_observer.h" |
| 16 #include "content/public/browser/notification_registrar.h" | 16 #include "content/public/browser/notification_registrar.h" |
| 17 #include "webkit/glue/web_intent_data.h" | 17 #include "webkit/glue/web_intent_data.h" |
| 18 | 18 |
| 19 class Browser; | 19 class Browser; |
| 20 class FaviconService; | |
| 21 class GURL; | 20 class GURL; |
| 22 class SkBitmap; | 21 class SkBitmap; |
| 23 class TabContentsWrapper; | 22 class TabContentsWrapper; |
| 24 class WebDataService; | |
| 25 class WebIntentPicker; | 23 class WebIntentPicker; |
| 26 class WebIntentPickerFactory; | 24 class WebIntentPickerFactory; |
| 27 | 25 |
| 28 namespace webkit_glue { | 26 namespace webkit_glue { |
| 29 struct WebIntentServiceData; | 27 struct WebIntentServiceData; |
| 30 } | 28 } |
| 31 | 29 |
| 32 // Controls the creation of the WebIntentPicker UI and forwards the user's | 30 // Controls the creation of the WebIntentPicker UI and forwards the user's |
| 33 // intent handler choice back to the TabContents object. | 31 // intent handler choice back to the TabContents object. |
| 34 class WebIntentPickerController : public content::NotificationObserver, | 32 class WebIntentPickerController : public content::NotificationObserver, |
| (...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 121 // The intent data from the client. | 119 // The intent data from the client. |
| 122 webkit_glue::WebIntentData intent_; | 120 webkit_glue::WebIntentData intent_; |
| 123 | 121 |
| 124 // The intent ID assigned to this intent by the renderer. | 122 // The intent ID assigned to this intent by the renderer. |
| 125 int intent_id_; | 123 int intent_id_; |
| 126 | 124 |
| 127 DISALLOW_COPY_AND_ASSIGN(WebIntentPickerController); | 125 DISALLOW_COPY_AND_ASSIGN(WebIntentPickerController); |
| 128 }; | 126 }; |
| 129 | 127 |
| 130 #endif // CHROME_BROWSER_UI_INTENTS_WEB_INTENT_PICKER_CONTROLLER_H_ | 128 #endif // CHROME_BROWSER_UI_INTENTS_WEB_INTENT_PICKER_CONTROLLER_H_ |
| OLD | NEW |