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 <string> | 8 #include <string> |
9 | 9 |
10 #include "base/callback_list.h" | 10 #include "base/callback_list.h" |
11 #include "base/memory/scoped_ptr.h" | 11 #include "base/memory/scoped_ptr.h" |
12 #include "chrome/browser/translate/translate_manager.h" | |
13 #include "components/translate/core/browser/translate_language_list.h" | 12 #include "components/translate/core/browser/translate_language_list.h" |
| 13 #include "components/translate/core/browser/translate_manager.h" |
14 #include "content/public/browser/notification_observer.h" | 14 #include "content/public/browser/notification_observer.h" |
15 #include "content/public/browser/notification_registrar.h" | 15 #include "content/public/browser/notification_registrar.h" |
16 #include "content/public/browser/web_ui_message_handler.h" | 16 #include "content/public/browser/web_ui_message_handler.h" |
17 #include "content/public/common/webplugininfo.h" | 17 #include "content/public/common/webplugininfo.h" |
18 | 18 |
19 struct LanguageDetectionDetails; | 19 struct LanguageDetectionDetails; |
20 struct TranslateErrorDetails; | 20 struct TranslateErrorDetails; |
21 struct TranslateEventDetails; | 21 struct TranslateEventDetails; |
22 | 22 |
23 namespace base { | 23 namespace base { |
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
79 // Subscription for translate errors coming from the translate manager. | 79 // Subscription for translate errors coming from the translate manager. |
80 scoped_ptr<TranslateManager::TranslateErrorCallbackList::Subscription> | 80 scoped_ptr<TranslateManager::TranslateErrorCallbackList::Subscription> |
81 error_subscription_; | 81 error_subscription_; |
82 | 82 |
83 content::NotificationRegistrar notification_registrar_; | 83 content::NotificationRegistrar notification_registrar_; |
84 | 84 |
85 DISALLOW_COPY_AND_ASSIGN(TranslateInternalsHandler); | 85 DISALLOW_COPY_AND_ASSIGN(TranslateInternalsHandler); |
86 }; | 86 }; |
87 | 87 |
88 #endif // CHROME_BROWSER_UI_WEBUI_TRANSLATE_INTERNALS_TRANSLATE_INTERNALS_HANDL
ER_H_ | 88 #endif // CHROME_BROWSER_UI_WEBUI_TRANSLATE_INTERNALS_TRANSLATE_INTERNALS_HANDL
ER_H_ |
OLD | NEW |