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

Side by Side Diff: chrome/browser/ui/views/password_generation_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_PASSWORD_GENERATION_BUBBLE_VIEW_H_ 5 #ifndef CHROME_BROWSER_UI_VIEWS_PASSWORD_GENERATION_BUBBLE_VIEW_H_
6 #define CHROME_BROWSER_UI_VIEWS_PASSWORD_GENERATION_BUBBLE_VIEW_H_ 6 #define CHROME_BROWSER_UI_VIEWS_PASSWORD_GENERATION_BUBBLE_VIEW_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "ui/gfx/rect.h" 9 #include "ui/gfx/rect.h"
10 #include "ui/views/bubble/bubble_delegate.h" 10 #include "ui/views/bubble/bubble_delegate.h"
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
46 PasswordManager* password_manager); 46 PasswordManager* password_manager);
47 virtual ~PasswordGenerationBubbleView(); 47 virtual ~PasswordGenerationBubbleView();
48 48
49 private: 49 private:
50 // views::BubbleDelegateView 50 // views::BubbleDelegateView
51 virtual void Init() OVERRIDE; 51 virtual void Init() OVERRIDE;
52 virtual gfx::Rect GetAnchorRect() OVERRIDE; 52 virtual gfx::Rect GetAnchorRect() OVERRIDE;
53 53
54 // views::ButtonListener 54 // views::ButtonListener
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 58 // views::LinkListener
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 // views::WidgetDelegate 61 // views::WidgetDelegate
62 virtual views::View* GetInitiallyFocusedView() OVERRIDE; 62 virtual views::View* GetInitiallyFocusedView() OVERRIDE;
63 63
64 // Subviews 64 // Subviews
65 views::TextButton* accept_button_; 65 views::TextButton* accept_button_;
66 views::Textfield* text_field_; 66 views::Textfield* text_field_;
(...skipping 14 matching lines...) Expand all
81 // within this UI. 81 // within this UI.
82 content::PageNavigator* navigator_; 82 content::PageNavigator* navigator_;
83 83
84 // PasswordManager associated with this tab. 84 // PasswordManager associated with this tab.
85 PasswordManager* password_manager_; 85 PasswordManager* password_manager_;
86 86
87 DISALLOW_COPY_AND_ASSIGN(PasswordGenerationBubbleView); 87 DISALLOW_COPY_AND_ASSIGN(PasswordGenerationBubbleView);
88 }; 88 };
89 89
90 #endif // CHROME_BROWSER_UI_VIEWS_PASSWORD_GENERATION_BUBBLE_VIEW_H_ 90 #endif // CHROME_BROWSER_UI_VIEWS_PASSWORD_GENERATION_BUBBLE_VIEW_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698