OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 COMPONENTS_TRANSLATE_CORE_BROWSER_TRANSLATE_UI_DELEGATE_H_ | 5 #ifndef COMPONENTS_TRANSLATE_CORE_BROWSER_TRANSLATE_UI_DELEGATE_H_ |
6 #define COMPONENTS_TRANSLATE_CORE_BROWSER_TRANSLATE_UI_DELEGATE_H_ | 6 #define COMPONENTS_TRANSLATE_CORE_BROWSER_TRANSLATE_UI_DELEGATE_H_ |
7 | 7 |
| 8 #include <stddef.h> |
| 9 |
8 #include <string> | 10 #include <string> |
9 #include <vector> | 11 #include <vector> |
10 | 12 |
11 #include "base/logging.h" | 13 #include "base/logging.h" |
| 14 #include "base/macros.h" |
12 #include "base/memory/scoped_ptr.h" | 15 #include "base/memory/scoped_ptr.h" |
13 #include "base/memory/weak_ptr.h" | 16 #include "base/memory/weak_ptr.h" |
14 #include "base/strings/string16.h" | 17 #include "base/strings/string16.h" |
15 #include "components/translate/core/common/translate_errors.h" | 18 #include "components/translate/core/common/translate_errors.h" |
16 | 19 |
17 namespace translate { | 20 namespace translate { |
18 | 21 |
19 class LanguageState; | 22 class LanguageState; |
20 class TranslateClient; | 23 class TranslateClient; |
21 class TranslateDriver; | 24 class TranslateDriver; |
(...skipping 115 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
137 | 140 |
138 // The translation related preferences. | 141 // The translation related preferences. |
139 scoped_ptr<TranslatePrefs> prefs_; | 142 scoped_ptr<TranslatePrefs> prefs_; |
140 | 143 |
141 DISALLOW_COPY_AND_ASSIGN(TranslateUIDelegate); | 144 DISALLOW_COPY_AND_ASSIGN(TranslateUIDelegate); |
142 }; | 145 }; |
143 | 146 |
144 } // namespace translate | 147 } // namespace translate |
145 | 148 |
146 #endif // COMPONENTS_TRANSLATE_CORE_BROWSER_TRANSLATE_UI_DELEGATE_H_ | 149 #endif // COMPONENTS_TRANSLATE_CORE_BROWSER_TRANSLATE_UI_DELEGATE_H_ |
OLD | NEW |