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

Side by Side Diff: chrome/browser/ui/passwords/manage_passwords_icon.h

Issue 256333003: Revert of Password bubble: Introduce a command to open the bubble. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 7 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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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_PASSWORDS_MANAGE_PASSWORDS_ICON_H_ 5 #ifndef CHROME_BROWSER_UI_PASSWORDS_MANAGE_PASSWORDS_ICON_H_
6 #define CHROME_BROWSER_UI_PASSWORDS_MANAGE_PASSWORDS_ICON_H_ 6 #define CHROME_BROWSER_UI_PASSWORDS_MANAGE_PASSWORDS_ICON_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 9
10 // Abstract base class for platform-specific password management icon views. 10 // Abstract base class for platform-specific password management icon views.
(...skipping 24 matching lines...) Expand all
35 // ManagePasswordsUIController. 35 // ManagePasswordsUIController.
36 // 36 //
37 // TODO(mkwst): This shouldn't be the IconView's responsiblity. Move it 37 // TODO(mkwst): This shouldn't be the IconView's responsiblity. Move it
38 // somewhere else as part of the refactoring in http://crbug.com/365678. 38 // somewhere else as part of the refactoring in http://crbug.com/365678.
39 virtual void ShowBubbleWithoutUserInteraction() = 0; 39 virtual void ShowBubbleWithoutUserInteraction() = 0;
40 40
41 protected: 41 protected:
42 ManagePasswordsIcon(); 42 ManagePasswordsIcon();
43 ~ManagePasswordsIcon(); 43 ~ManagePasswordsIcon();
44 44
45 // Called from SetState() iff the icon's state has changed in order to do 45 // Called from SetState() iff the icon's state has changed.
46 // whatever platform-specific UI work is necessary given the new state. 46 virtual void SetStateInternal(State state) = 0;
47 virtual void UpdateVisibleUI() = 0;
48 47
49 private: 48 private:
50 State state_; 49 State state_;
51 50
52 DISALLOW_COPY_AND_ASSIGN(ManagePasswordsIcon); 51 DISALLOW_COPY_AND_ASSIGN(ManagePasswordsIcon);
53 }; 52 };
54 53
55 #endif // CHROME_BROWSER_UI_PASSWORDS_MANAGE_PASSWORDS_ICON_H_ 54 #endif // CHROME_BROWSER_UI_PASSWORDS_MANAGE_PASSWORDS_ICON_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698