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

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

Issue 419263002: Add ManagePasswordsDecoration and unit tests. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: exclude resource IDs on Android Created 6 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 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_VIEW_H_ 5 #ifndef CHROME_BROWSER_UI_VIEWS_PASSWORDS_MANAGE_PASSWORDS_ICON_VIEW_H_
6 #define CHROME_BROWSER_UI_VIEWS_PASSWORDS_MANAGE_PASSWORDS_ICON_VIEW_H_ 6 #define CHROME_BROWSER_UI_VIEWS_PASSWORDS_MANAGE_PASSWORDS_ICON_VIEW_H_
7 7
8 #include "chrome/browser/ui/passwords/manage_passwords_bubble_model.h" 8 #include "chrome/browser/ui/passwords/manage_passwords_bubble_model.h"
9 #include "chrome/browser/ui/passwords/manage_passwords_icon.h" 9 #include "chrome/browser/ui/passwords/manage_passwords_icon.h"
10 #include "chrome/browser/ui/views/location_bar/bubble_icon_view.h" 10 #include "chrome/browser/ui/views/location_bar/bubble_icon_view.h"
(...skipping 18 matching lines...) Expand all
29 #if defined(UNIT_TEST) 29 #if defined(UNIT_TEST)
30 int icon_id() const { return icon_id_; } 30 int icon_id() const { return icon_id_; }
31 int tooltip_text_id() const { return tooltip_text_id_; } 31 int tooltip_text_id() const { return tooltip_text_id_; }
32 #endif 32 #endif
33 33
34 protected: 34 protected:
35 // ManagePasswordsIcon: 35 // ManagePasswordsIcon:
36 virtual void UpdateVisibleUI() OVERRIDE; 36 virtual void UpdateVisibleUI() OVERRIDE;
37 37
38 private: 38 private:
39 // The ID of the icon and text resources that are currently displayed.
40 int icon_id_;
41 int tooltip_text_id_;
42 39
43 DISALLOW_COPY_AND_ASSIGN(ManagePasswordsIconView); 40 DISALLOW_COPY_AND_ASSIGN(ManagePasswordsIconView);
44 }; 41 };
45 42
46 #endif // CHROME_BROWSER_UI_VIEWS_PASSWORDS_MANAGE_PASSWORDS_ICON_VIEW_H_ 43 #endif // CHROME_BROWSER_UI_VIEWS_PASSWORDS_MANAGE_PASSWORDS_ICON_VIEW_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/passwords/manage_passwords_icon.cc ('k') | chrome/browser/ui/views/passwords/manage_passwords_icon_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698