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

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

Issue 10843071: Create chrome/browser/api directory. Move infobar delegates used by Autofill to the directory. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Address review comments. Created 8 years, 4 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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_INFOBAR_DELEGATE_H_ 5 #ifndef CHROME_BROWSER_TRANSLATE_TRANSLATE_INFOBAR_DELEGATE_H_
6 #define CHROME_BROWSER_TRANSLATE_TRANSLATE_INFOBAR_DELEGATE_H_ 6 #define CHROME_BROWSER_TRANSLATE_TRANSLATE_INFOBAR_DELEGATE_H_
7 7
8 #include <string> 8 #include <string>
9 #include <utility> 9 #include <utility>
10 #include <vector> 10 #include <vector>
11 11
12 #include "base/compiler_specific.h" 12 #include "base/compiler_specific.h"
13 #include "chrome/browser/infobars/infobar_delegate.h" 13 #include "chrome/browser/api/infobars/infobar_delegate.h"
14 #include "chrome/browser/translate/translate_prefs.h" 14 #include "chrome/browser/translate/translate_prefs.h"
15 #include "chrome/common/translate_errors.h" 15 #include "chrome/common/translate_errors.h"
16 16
17 class PrefService; 17 class PrefService;
18 class TranslateInfoBarView; 18 class TranslateInfoBarView;
19 19
20 class TranslateInfoBarDelegate : public InfoBarDelegate { 20 class TranslateInfoBarDelegate : public InfoBarDelegate {
21 public: 21 public:
22 // The different types of infobars that can be shown for translation. 22 // The different types of infobars that can be shown for translation.
23 enum Type { 23 enum Type {
(...skipping 179 matching lines...) Expand 10 before | Expand all | Expand 10 after
203 // The current infobar view. 203 // The current infobar view.
204 TranslateInfoBarView* infobar_view_; 204 TranslateInfoBarView* infobar_view_;
205 205
206 // The translation related preferences. 206 // The translation related preferences.
207 TranslatePrefs prefs_; 207 TranslatePrefs prefs_;
208 208
209 DISALLOW_COPY_AND_ASSIGN(TranslateInfoBarDelegate); 209 DISALLOW_COPY_AND_ASSIGN(TranslateInfoBarDelegate);
210 }; 210 };
211 211
212 #endif // CHROME_BROWSER_TRANSLATE_TRANSLATE_INFOBAR_DELEGATE_H_ 212 #endif // CHROME_BROWSER_TRANSLATE_TRANSLATE_INFOBAR_DELEGATE_H_
OLDNEW
« no previous file with comments | « chrome/browser/task_manager/task_manager_browsertest.cc ('k') | chrome/browser/ui/android/infobar_stubs.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698