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

Side by Side Diff: chrome/browser/chromeos/login/message_bubble.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
« no previous file with comments | « ash/wm/panel_frame_view.cc ('k') | chrome/browser/chromeos/login/message_bubble.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_CHROMEOS_LOGIN_MESSAGE_BUBBLE_H_ 5 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_MESSAGE_BUBBLE_H_
6 #define CHROME_BROWSER_CHROMEOS_LOGIN_MESSAGE_BUBBLE_H_ 6 #define CHROME_BROWSER_CHROMEOS_LOGIN_MESSAGE_BUBBLE_H_
7 7
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
48 link_listener_ = link_listener; 48 link_listener_ = link_listener;
49 } 49 }
50 50
51 protected: 51 protected:
52 52
53 // Overridden from views::BubbleDelegateView: 53 // Overridden from views::BubbleDelegateView:
54 virtual void Init() OVERRIDE; 54 virtual void Init() OVERRIDE;
55 55
56 // Overridden from views::ButtonListener: 56 // Overridden from views::ButtonListener:
57 virtual void ButtonPressed(views::Button* sender, 57 virtual void ButtonPressed(views::Button* sender,
58 const views::Event& event) OVERRIDE; 58 const ui::Event& event) OVERRIDE;
59 59
60 // Overridden from views::LinkListener: 60 // Overridden from views::LinkListener:
61 virtual void LinkClicked(views::Link* source, int event_flags) OVERRIDE; 61 virtual void LinkClicked(views::Link* source, int event_flags) OVERRIDE;
62 62
63 private: 63 private:
64 gfx::ImageSkia* image_; 64 gfx::ImageSkia* image_;
65 string16 text_; 65 string16 text_;
66 views::ImageButton* close_button_; 66 views::ImageButton* close_button_;
67 std::vector<views::Link*> help_links_; 67 std::vector<views::Link*> help_links_;
68 MessageBubbleLinkListener* link_listener_; 68 MessageBubbleLinkListener* link_listener_;
69 69
70 DISALLOW_COPY_AND_ASSIGN(MessageBubble); 70 DISALLOW_COPY_AND_ASSIGN(MessageBubble);
71 }; 71 };
72 72
73 } // namespace chromeos 73 } // namespace chromeos
74 74
75 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_MESSAGE_BUBBLE_H_ 75 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_MESSAGE_BUBBLE_H_
OLDNEW
« no previous file with comments | « ash/wm/panel_frame_view.cc ('k') | chrome/browser/chromeos/login/message_bubble.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698