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

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

Issue 6598057: Split infobar_delegate.[cc,h] into separate pieces for the different classes defined within, so that (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix mac Created 9 years, 9 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 #pragma once 7 #pragma once
8 8
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
11 11
12 #include "chrome/browser/tab_contents/infobar_delegate.h" 12 #include "chrome/browser/tab_contents/confirm_infobar_delegate.h"
13 #include "chrome/browser/translate/translate_prefs.h" 13 #include "chrome/browser/translate/translate_prefs.h"
14 #include "chrome/common/translate_errors.h" 14 #include "chrome/common/translate_errors.h"
15 15
16 class SkBitmap; 16 class SkBitmap;
17 class TranslateInfoBarView; 17 class TranslateInfoBarView;
18 18
19 class TranslateInfoBarDelegate : public InfoBarDelegate { 19 class TranslateInfoBarDelegate : public InfoBarDelegate {
20 public: 20 public:
21 // The different types of infobars that can be shown for translation. 21 // The different types of infobars that can be shown for translation.
22 enum Type { 22 enum Type {
(...skipping 178 matching lines...) Expand 10 before | Expand all | Expand 10 after
201 // The current infobar view. 201 // The current infobar view.
202 TranslateInfoBarView* infobar_view_; 202 TranslateInfoBarView* infobar_view_;
203 203
204 // The translation related preferences. 204 // The translation related preferences.
205 TranslatePrefs prefs_; 205 TranslatePrefs prefs_;
206 206
207 DISALLOW_COPY_AND_ASSIGN(TranslateInfoBarDelegate); 207 DISALLOW_COPY_AND_ASSIGN(TranslateInfoBarDelegate);
208 }; 208 };
209 209
210 #endif // CHROME_BROWSER_TRANSLATE_TRANSLATE_INFOBAR_DELEGATE_H_ 210 #endif // CHROME_BROWSER_TRANSLATE_TRANSLATE_INFOBAR_DELEGATE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698