OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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_WEBUI_TRANSLATE_INTERNALS_TRANSLATE_INTERNALS_HANDLER_
H_ | 5 #ifndef CHROME_BROWSER_UI_WEBUI_TRANSLATE_INTERNALS_TRANSLATE_INTERNALS_HANDLER_
H_ |
6 #define CHROME_BROWSER_UI_WEBUI_TRANSLATE_INTERNALS_TRANSLATE_INTERNALS_HANDLER_
H_ | 6 #define CHROME_BROWSER_UI_WEBUI_TRANSLATE_INTERNALS_TRANSLATE_INTERNALS_HANDLER_
H_ |
7 | 7 |
8 #include <memory> | 8 #include <memory> |
9 #include <string> | 9 #include <string> |
10 | 10 |
11 #include "base/callback_list.h" | 11 #include "base/callback_list.h" |
12 #include "base/macros.h" | 12 #include "base/macros.h" |
13 #include "components/translate/core/browser/translate_language_list.h" | 13 #include "components/translate/core/browser/translate_language_list.h" |
14 #include "components/translate/core/browser/translate_manager.h" | 14 #include "components/translate/core/browser/translate_manager.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 "content/public/browser/web_ui_message_handler.h" | 17 #include "content/public/browser/web_ui_message_handler.h" |
18 #include "content/public/common/webplugininfo.h" | 18 #include "content/public/common/webplugininfo.h" |
19 | 19 |
20 namespace translate { | 20 namespace translate { |
21 struct LanguageDetectionDetails; | |
22 struct TranslateErrorDetails; | 21 struct TranslateErrorDetails; |
23 struct TranslateEventDetails; | 22 struct TranslateEventDetails; |
24 } | 23 } |
25 | 24 |
26 namespace base { | 25 namespace base { |
27 class DictionaryValue; | |
28 class ListValue; | 26 class ListValue; |
29 class Value; | 27 class Value; |
30 } | 28 } |
31 | 29 |
32 namespace content { | 30 namespace content { |
33 class NotificationDetails; | 31 class NotificationDetails; |
34 class NotificationSource; | 32 class NotificationSource; |
35 } | 33 } |
36 | 34 |
37 // The handler class for TranslateInternals page operations. | 35 // The handler class for TranslateInternals page operations. |
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
93 std::unique_ptr< | 91 std::unique_ptr< |
94 translate::TranslateManager::TranslateErrorCallbackList::Subscription> | 92 translate::TranslateManager::TranslateErrorCallbackList::Subscription> |
95 error_subscription_; | 93 error_subscription_; |
96 | 94 |
97 content::NotificationRegistrar notification_registrar_; | 95 content::NotificationRegistrar notification_registrar_; |
98 | 96 |
99 DISALLOW_COPY_AND_ASSIGN(TranslateInternalsHandler); | 97 DISALLOW_COPY_AND_ASSIGN(TranslateInternalsHandler); |
100 }; | 98 }; |
101 | 99 |
102 #endif // CHROME_BROWSER_UI_WEBUI_TRANSLATE_INTERNALS_TRANSLATE_INTERNALS_HANDL
ER_H_ | 100 #endif // CHROME_BROWSER_UI_WEBUI_TRANSLATE_INTERNALS_TRANSLATE_INTERNALS_HANDL
ER_H_ |
OLD | NEW |