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

Side by Side Diff: chrome/browser/views/infobars/translate_message_infobar.h

Issue 2602003: Refactored the translate infobars. (Closed) Base URL: http://src.chromium.org/git/chromium.git
Patch Set: Synced Created 10 years, 6 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
(Empty)
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef CHROME_BROWSER_VIEWS_INFOBARS_TRANSLATE_MESSAGE_INFOBAR_H_
6 #define CHROME_BROWSER_VIEWS_INFOBARS_TRANSLATE_MESSAGE_INFOBAR_H_
7
8 #include "chrome/browser/views/infobars/translate_infobar_base.h"
9
10 class InfoBarTextButton;
11
12 class TranslateMessageInfoBar : public TranslateInfoBarBase {
13 public:
14 explicit TranslateMessageInfoBar(TranslateInfoBarDelegate2* delegate);
15
16 virtual void Layout();
17
18 // views::ButtonListener implementation:
19 virtual void ButtonPressed(views::Button* sender, const views::Event& event);
20
21 private:
22 views::Label* label_;
23 InfoBarTextButton* button_;
24
25 DISALLOW_COPY_AND_ASSIGN(TranslateMessageInfoBar);
26 };
27
28 #endif // CHROME_BROWSER_VIEWS_INFOBARS_TRANSLATE_MESSAGE_INFOBAR_H_
OLDNEW
« no previous file with comments | « chrome/browser/views/infobars/translate_infobars.cc ('k') | chrome/browser/views/infobars/translate_message_infobar.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698