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

Side by Side Diff: chrome/browser/ui/views/infobars/media_stream_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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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_MEDIA_STREAM_INFOBAR_H_ 5 #ifndef CHROME_BROWSER_UI_VIEWS_INFOBARS_MEDIA_STREAM_INFOBAR_H_
6 #define CHROME_BROWSER_UI_VIEWS_INFOBARS_MEDIA_STREAM_INFOBAR_H_ 6 #define CHROME_BROWSER_UI_VIEWS_INFOBARS_MEDIA_STREAM_INFOBAR_H_
7 7
8 #include "chrome/browser/infobars/infobar_delegate.h" 8 #include "chrome/browser/infobars/infobar_delegate.h"
9 #include "chrome/browser/media/media_stream_devices_menu_model.h" 9 #include "chrome/browser/media/media_stream_devices_menu_model.h"
10 #include "chrome/browser/ui/views/infobars/infobar_background.h" 10 #include "chrome/browser/ui/views/infobars/infobar_background.h"
(...skipping 18 matching lines...) Expand all
29 29
30 private: 30 private:
31 virtual ~MediaStreamInfoBar(); 31 virtual ~MediaStreamInfoBar();
32 32
33 // InfoBarView: 33 // InfoBarView:
34 virtual void Layout() OVERRIDE; 34 virtual void Layout() OVERRIDE;
35 virtual void ViewHierarchyChanged(bool is_add, 35 virtual void ViewHierarchyChanged(bool is_add,
36 views::View* parent, 36 views::View* parent,
37 views::View* child) OVERRIDE; 37 views::View* child) OVERRIDE;
38 virtual void ButtonPressed(views::Button* sender, 38 virtual void ButtonPressed(views::Button* sender,
39 const views::Event& event) OVERRIDE; 39 const ui::Event& event) OVERRIDE;
40 virtual int ContentMinimumWidth() const OVERRIDE; 40 virtual int ContentMinimumWidth() const OVERRIDE;
41 41
42 // views::MenuButtonListener: 42 // views::MenuButtonListener:
43 virtual void OnMenuButtonClicked(views::View* source, 43 virtual void OnMenuButtonClicked(views::View* source,
44 const gfx::Point& point) OVERRIDE; 44 const gfx::Point& point) OVERRIDE;
45 45
46 MediaStreamInfoBarDelegate* GetDelegate(); 46 MediaStreamInfoBarDelegate* GetDelegate();
47 47
48 views::Label* label_; 48 views::Label* label_;
49 views::TextButton* allow_button_; 49 views::TextButton* allow_button_;
50 views::TextButton* deny_button_; 50 views::TextButton* deny_button_;
51 views::MenuButton* devices_menu_button_; 51 views::MenuButton* devices_menu_button_;
52 52
53 MediaStreamDevicesMenuModel devices_menu_model_; 53 MediaStreamDevicesMenuModel devices_menu_model_;
54 54
55 DISALLOW_COPY_AND_ASSIGN(MediaStreamInfoBar); 55 DISALLOW_COPY_AND_ASSIGN(MediaStreamInfoBar);
56 }; 56 };
57 57
58 #endif // CHROME_BROWSER_UI_VIEWS_INFOBARS_MEDIA_STREAM_INFOBAR_H_ 58 #endif // CHROME_BROWSER_UI_VIEWS_INFOBARS_MEDIA_STREAM_INFOBAR_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/views/infobars/infobar_view.cc ('k') | chrome/browser/ui/views/infobars/media_stream_infobar.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698