Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(864)

Side by Side Diff: chrome/browser/translate/translate_ui_delegate.h

Issue 93603006: Move Translate-related files to components/translate (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: review comments Created 6 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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_TRANSLATE_TRANSLATE_UI_DELEGATE_H_ 5 #ifndef CHROME_BROWSER_TRANSLATE_TRANSLATE_UI_DELEGATE_H_
6 #define CHROME_BROWSER_TRANSLATE_TRANSLATE_UI_DELEGATE_H_ 6 #define CHROME_BROWSER_TRANSLATE_TRANSLATE_UI_DELEGATE_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
11 #include "base/logging.h" 11 #include "base/logging.h"
12 #include "base/memory/scoped_ptr.h" 12 #include "base/memory/scoped_ptr.h"
13 #include "base/strings/string16.h" 13 #include "base/strings/string16.h"
14 #include "chrome/common/chrome_constants.h" 14 #include "chrome/common/chrome_constants.h"
15 #include "chrome/common/translate/translate_errors.h" 15 #include "components/translate/core/common/translate_errors.h"
16 16
17 class TranslatePrefs; 17 class TranslatePrefs;
18 18
19 namespace content { 19 namespace content {
20 class WebContents; 20 class WebContents;
21 } // namespace content 21 } // namespace content
22 22
23 // The TranslateUIDelegate is a generic delegate for UI which offers Translate 23 // The TranslateUIDelegate is a generic delegate for UI which offers Translate
24 // feature to the user. 24 // feature to the user.
25 class TranslateUIDelegate { 25 class TranslateUIDelegate {
(...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after
122 // The index for language the page should be translated to. 122 // The index for language the page should be translated to.
123 size_t target_language_index_; 123 size_t target_language_index_;
124 124
125 // The translation related preferences. 125 // The translation related preferences.
126 scoped_ptr<TranslatePrefs> prefs_; 126 scoped_ptr<TranslatePrefs> prefs_;
127 127
128 DISALLOW_COPY_AND_ASSIGN(TranslateUIDelegate); 128 DISALLOW_COPY_AND_ASSIGN(TranslateUIDelegate);
129 }; 129 };
130 130
131 #endif // CHROME_BROWSER_TRANSLATE_TRANSLATE_UI_DELEGATE_H_ 131 #endif // CHROME_BROWSER_TRANSLATE_TRANSLATE_UI_DELEGATE_H_
OLDNEW
« no previous file with comments | « chrome/browser/translate/translate_tab_helper.cc ('k') | chrome/browser/translate/translate_ui_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698