| 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 "chrome/browser/translate/translate_manager.h" | 10 #include "chrome/browser/translate/translate_manager.h" |
| 11 #include "content/public/browser/web_ui_message_handler.h" | 11 #include "content/public/browser/web_ui_message_handler.h" |
| 12 #include "webkit/plugins/webplugininfo.h" | 12 #include "content/public/common/webplugininfo.h" |
| 13 | 13 |
| 14 struct LanguageDetectionDetails; | 14 struct LanguageDetectionDetails; |
| 15 struct TranslateErrorDetails; | 15 struct TranslateErrorDetails; |
| 16 struct TranslateEventDetails; | 16 struct TranslateEventDetails; |
| 17 | 17 |
| 18 namespace base { | 18 namespace base { |
| 19 class DictionaryValue; | 19 class DictionaryValue; |
| 20 class ListValue; | 20 class ListValue; |
| 21 class Value; | 21 class Value; |
| 22 } | 22 } |
| (...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 56 // Sends the current preference to Javascript. | 56 // Sends the current preference to Javascript. |
| 57 void SendPrefsToJs(); | 57 void SendPrefsToJs(); |
| 58 | 58 |
| 59 // Sends the languages currently supported by the server to JavaScript. | 59 // Sends the languages currently supported by the server to JavaScript. |
| 60 void SendSupportedLanguagesToJs(); | 60 void SendSupportedLanguagesToJs(); |
| 61 | 61 |
| 62 DISALLOW_COPY_AND_ASSIGN(TranslateInternalsHandler); | 62 DISALLOW_COPY_AND_ASSIGN(TranslateInternalsHandler); |
| 63 }; | 63 }; |
| 64 | 64 |
| 65 #endif // CHROME_BROWSER_UI_WEBUI_TRANSLATE_INTERNALS_TRANSLATE_INTERNALS_HANDL
ER_H_ | 65 #endif // CHROME_BROWSER_UI_WEBUI_TRANSLATE_INTERNALS_TRANSLATE_INTERNALS_HANDL
ER_H_ |
| OLD | NEW |