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

Unified Diff: chrome/browser/ui/autofill/autofill_popup_view.cc

Issue 12556002: Always Close the Autofill UI through the same path (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Disable Test On Linux Created 7 years, 9 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/autofill/autofill_popup_view.cc
diff --git a/chrome/browser/ui/autofill/autofill_popup_view.cc b/chrome/browser/ui/autofill/autofill_popup_view.cc
new file mode 100644
index 0000000000000000000000000000000000000000..b861de4d9a781e288dc8922e5108a9a26cb99dfd
--- /dev/null
+++ b/chrome/browser/ui/autofill/autofill_popup_view.cc
@@ -0,0 +1,15 @@
+// Copyright (c) 2013 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/autofill/autofill_popup_view.h"
+
+void AutofillPopupView::Hide() {
+ hide_called_ = true;
+}
+
+AutofillPopupView::AutofillPopupView() : hide_called_(false) {}
+
+AutofillPopupView::~AutofillPopupView() {
+ CHECK(hide_called_);
+}
« no previous file with comments | « chrome/browser/ui/autofill/autofill_popup_view.h ('k') | chrome/browser/ui/cocoa/autofill/autofill_popup_view_bridge.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698