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

Side by Side Diff: chrome/browser/ui/views/infobars/confirm_infobar.h

Issue 10827271: Replace views::Event with ui::Event. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: 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_UI_VIEWS_INFOBARS_CONFIRM_INFOBAR_H_ 5 #ifndef CHROME_BROWSER_UI_VIEWS_INFOBARS_CONFIRM_INFOBAR_H_
6 #define CHROME_BROWSER_UI_VIEWS_INFOBARS_CONFIRM_INFOBAR_H_ 6 #define CHROME_BROWSER_UI_VIEWS_INFOBARS_CONFIRM_INFOBAR_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "base/compiler_specific.h" 9 #include "base/compiler_specific.h"
10 #include "chrome/browser/ui/views/infobars/infobar_view.h" 10 #include "chrome/browser/ui/views/infobars/infobar_view.h"
(...skipping 16 matching lines...) Expand all
27 27
28 private: 28 private:
29 virtual ~ConfirmInfoBar(); 29 virtual ~ConfirmInfoBar();
30 30
31 // InfoBarView: 31 // InfoBarView:
32 virtual void Layout() OVERRIDE; 32 virtual void Layout() OVERRIDE;
33 virtual void ViewHierarchyChanged(bool is_add, 33 virtual void ViewHierarchyChanged(bool is_add,
34 View* parent, 34 View* parent,
35 View* child) OVERRIDE; 35 View* child) OVERRIDE;
36 virtual void ButtonPressed(views::Button* sender, 36 virtual void ButtonPressed(views::Button* sender,
37 const views::Event& event) OVERRIDE; 37 const ui::Event& event) OVERRIDE;
38 virtual int ContentMinimumWidth() const OVERRIDE; 38 virtual int ContentMinimumWidth() const OVERRIDE;
39 39
40 // views::LinkListener: 40 // views::LinkListener:
41 virtual void LinkClicked(views::Link* source, int event_flags) OVERRIDE; 41 virtual void LinkClicked(views::Link* source, int event_flags) OVERRIDE;
42 42
43 ConfirmInfoBarDelegate* GetDelegate(); 43 ConfirmInfoBarDelegate* GetDelegate();
44 44
45 views::Label* label_; 45 views::Label* label_;
46 views::TextButton* ok_button_; 46 views::TextButton* ok_button_;
47 views::TextButton* cancel_button_; 47 views::TextButton* cancel_button_;
48 views::Link* link_; 48 views::Link* link_;
49 49
50 DISALLOW_COPY_AND_ASSIGN(ConfirmInfoBar); 50 DISALLOW_COPY_AND_ASSIGN(ConfirmInfoBar);
51 }; 51 };
52 52
53 #endif // CHROME_BROWSER_UI_VIEWS_INFOBARS_CONFIRM_INFOBAR_H_ 53 #endif // CHROME_BROWSER_UI_VIEWS_INFOBARS_CONFIRM_INFOBAR_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/views/infobars/before_translate_infobar.cc ('k') | chrome/browser/ui/views/infobars/confirm_infobar.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698