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

Unified Diff: chrome/browser/ui/passwords/manage_passwords_icon.cc

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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/ui/passwords/manage_passwords_icon.cc
diff --git a/chrome/browser/ui/passwords/manage_passwords_icon.cc b/chrome/browser/ui/passwords/manage_passwords_icon.cc
new file mode 100644
index 0000000000000000000000000000000000000000..0914bbab0bb471217729ce61f56338e92f78854e
--- /dev/null
+++ b/chrome/browser/ui/passwords/manage_passwords_icon.cc
@@ -0,0 +1,18 @@
+// Copyright 2014 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#include "chrome/browser/ui/passwords/manage_passwords_icon.h"
+
+ManagePasswordsIcon::ManagePasswordsIcon() : state_(INACTIVE_STATE) {
+}
+
+ManagePasswordsIcon::~ManagePasswordsIcon() {
+}
+
+void ManagePasswordsIcon::SetState(State state) {
+ if (state_ == state)
+ return;
+ state_ = state;
+ SetStateInternal(state);
+}
« no previous file with comments | « chrome/browser/ui/passwords/manage_passwords_icon.h ('k') | chrome/browser/ui/passwords/manage_passwords_icon_mock.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698