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

Side by Side Diff: chrome/browser/ui/views/chrome_to_mobile_bubble_view.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_CHROME_TO_MOBILE_BUBBLE_VIEW_H_ 5 #ifndef CHROME_BROWSER_UI_VIEWS_CHROME_TO_MOBILE_BUBBLE_VIEW_H_
6 #define CHROME_BROWSER_UI_VIEWS_CHROME_TO_MOBILE_BUBBLE_VIEW_H_ 6 #define CHROME_BROWSER_UI_VIEWS_CHROME_TO_MOBILE_BUBBLE_VIEW_H_
7 7
8 #include <map> 8 #include <map>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
46 46
47 // views::BubbleDelegateView methods. 47 // views::BubbleDelegateView methods.
48 virtual views::View* GetInitiallyFocusedView() OVERRIDE; 48 virtual views::View* GetInitiallyFocusedView() OVERRIDE;
49 virtual gfx::Rect GetAnchorRect() OVERRIDE; 49 virtual gfx::Rect GetAnchorRect() OVERRIDE;
50 virtual void WindowClosing() OVERRIDE; 50 virtual void WindowClosing() OVERRIDE;
51 virtual bool AcceleratorPressed(const ui::Accelerator& accelerator) OVERRIDE; 51 virtual bool AcceleratorPressed(const ui::Accelerator& accelerator) OVERRIDE;
52 virtual void AnimationProgressed(const ui::Animation* animation) OVERRIDE; 52 virtual void AnimationProgressed(const ui::Animation* animation) OVERRIDE;
53 53
54 // views::ButtonListener method. 54 // views::ButtonListener method.
55 virtual void ButtonPressed(views::Button* sender, 55 virtual void ButtonPressed(views::Button* sender,
56 const views::Event& event) OVERRIDE; 56 const ui::Event& event) OVERRIDE;
57 57
58 // views::LinkListener method. 58 // views::LinkListener method.
59 virtual void LinkClicked(views::Link* source, int event_flags) OVERRIDE; 59 virtual void LinkClicked(views::Link* source, int event_flags) OVERRIDE;
60 60
61 // ChromeToMobileService::Observer methods. 61 // ChromeToMobileService::Observer methods.
62 virtual void SnapshotGenerated(const FilePath& path, int64 bytes) OVERRIDE; 62 virtual void SnapshotGenerated(const FilePath& path, int64 bytes) OVERRIDE;
63 virtual void OnSendComplete(bool success) OVERRIDE; 63 virtual void OnSendComplete(bool success) OVERRIDE;
64 64
65 protected: 65 protected:
66 // views::BubbleDelegateView method. 66 // views::BubbleDelegateView method.
(...skipping 29 matching lines...) Expand all
96 views::TextButton* send_; 96 views::TextButton* send_;
97 views::TextButton* cancel_; 97 views::TextButton* cancel_;
98 98
99 // An animation used to cycle through the "Sending..." status messages. 99 // An animation used to cycle through the "Sending..." status messages.
100 scoped_ptr<ui::ThrobAnimation> progress_animation_; 100 scoped_ptr<ui::ThrobAnimation> progress_animation_;
101 101
102 DISALLOW_COPY_AND_ASSIGN(ChromeToMobileBubbleView); 102 DISALLOW_COPY_AND_ASSIGN(ChromeToMobileBubbleView);
103 }; 103 };
104 104
105 #endif // CHROME_BROWSER_UI_VIEWS_CHROME_TO_MOBILE_BUBBLE_VIEW_H_ 105 #endif // CHROME_BROWSER_UI_VIEWS_CHROME_TO_MOBILE_BUBBLE_VIEW_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/views/browser_action_view.cc ('k') | chrome/browser/ui/views/chrome_to_mobile_bubble_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698