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

Side by Side Diff: chrome/browser/ui/views/passwords/manage_passwords_icon_views.h

Issue 2644903004: Move around more vector icons. (Closed)
Patch Set: fix comment Created 3 years, 11 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
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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_PASSWORDS_MANAGE_PASSWORDS_ICON_VIEWS_H_ 5 #ifndef CHROME_BROWSER_UI_VIEWS_PASSWORDS_MANAGE_PASSWORDS_ICON_VIEWS_H_
6 #define CHROME_BROWSER_UI_VIEWS_PASSWORDS_MANAGE_PASSWORDS_ICON_VIEWS_H_ 6 #define CHROME_BROWSER_UI_VIEWS_PASSWORDS_MANAGE_PASSWORDS_ICON_VIEWS_H_
7 7
8 #include "base/macros.h" 8 #include "base/macros.h"
9 #include "chrome/browser/ui/passwords/manage_passwords_bubble_model.h" 9 #include "chrome/browser/ui/passwords/manage_passwords_bubble_model.h"
10 #include "chrome/browser/ui/passwords/manage_passwords_icon_view.h" 10 #include "chrome/browser/ui/passwords/manage_passwords_icon_view.h"
(...skipping 11 matching lines...) Expand all
22 ~ManagePasswordsIconViews() override; 22 ~ManagePasswordsIconViews() override;
23 23
24 // ManagePasswordsIconView: 24 // ManagePasswordsIconView:
25 void SetState(password_manager::ui::State state) override; 25 void SetState(password_manager::ui::State state) override;
26 26
27 // BubbleIconView: 27 // BubbleIconView:
28 void OnExecuting(BubbleIconView::ExecuteSource source) override; 28 void OnExecuting(BubbleIconView::ExecuteSource source) override;
29 bool OnMousePressed(const ui::MouseEvent& event) override; 29 bool OnMousePressed(const ui::MouseEvent& event) override;
30 bool OnKeyPressed(const ui::KeyEvent& event) override; 30 bool OnKeyPressed(const ui::KeyEvent& event) override;
31 views::BubbleDialogDelegateView* GetBubble() const override; 31 views::BubbleDialogDelegateView* GetBubble() const override;
32 gfx::VectorIconId GetVectorIcon() const override; 32 const gfx::VectorIcon& GetVectorIcon() const override;
33 33
34 // views::View: 34 // views::View:
35 void AboutToRequestFocusFromTabTraversal(bool reverse) override; 35 void AboutToRequestFocusFromTabTraversal(bool reverse) override;
36 36
37 private: 37 private:
38 friend class ManagePasswordsIconViewTest; 38 friend class ManagePasswordsIconViewTest;
39 39
40 // Updates the UI to match |state_|. 40 // Updates the UI to match |state_|.
41 void UpdateUiForState(); 41 void UpdateUiForState();
42 42
43 password_manager::ui::State state_; 43 password_manager::ui::State state_;
44 44
45 DISALLOW_COPY_AND_ASSIGN(ManagePasswordsIconViews); 45 DISALLOW_COPY_AND_ASSIGN(ManagePasswordsIconViews);
46 }; 46 };
47 47
48 #endif // CHROME_BROWSER_UI_VIEWS_PASSWORDS_MANAGE_PASSWORDS_ICON_VIEWS_H_ 48 #endif // CHROME_BROWSER_UI_VIEWS_PASSWORDS_MANAGE_PASSWORDS_ICON_VIEWS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698