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

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

Issue 250353003: Password bubble: refactor ManagePasswordsIconView. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: s/cc/h Created 6 years, 8 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
(Empty)
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
3 // found in the LICENSE file.
4
5 #ifndef CHROME_BROWSER_UI_PASSWORDS_MANAGE_PASSWORDS_ICON_MOCK_H_
6 #define CHROME_BROWSER_UI_PASSWORDS_MANAGE_PASSWORDS_ICON_MOCK_H_
7
8 #include "chrome/browser/ui/passwords/manage_passwords_icon.h"
9
10 // Mock ManagePasswordsIcon, for testing purposes only.
11 class ManagePasswordsIconMock : public ManagePasswordsIcon {
12 public:
13 ManagePasswordsIconMock();
14 ~ManagePasswordsIconMock();
15
16 // ManagePasswordsIcon:
17 virtual void ShowBubbleWithoutUserInteraction() OVERRIDE;
18 int bubble_shown_count() const { return bubble_shown_count_; }
19
20 protected:
21 virtual void SetStateInternal(State state) OVERRIDE;
22
23 private:
24 int bubble_shown_count_;
25
26 DISALLOW_COPY_AND_ASSIGN(ManagePasswordsIconMock);
27 };
28
29 #endif // CHROME_BROWSER_UI_PASSWORDS_MANAGE_PASSWORDS_ICON_MOCK_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/passwords/manage_passwords_icon.cc ('k') | chrome/browser/ui/passwords/manage_passwords_icon_mock.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698