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

Unified Diff: chrome/browser/ui/omnibox/omnibox_popup_model_observer.h

Issue 18859004: views impl: hide top infobar arrow when omnibox popup shows (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: add missing file Created 7 years, 5 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
« no previous file with comments | « chrome/browser/ui/omnibox/omnibox_popup_model.cc ('k') | chrome/browser/ui/views/frame/browser_view.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/omnibox/omnibox_popup_model_observer.h
diff --git a/chrome/browser/ui/omnibox/omnibox_popup_model_observer.h b/chrome/browser/ui/omnibox/omnibox_popup_model_observer.h
new file mode 100644
index 0000000000000000000000000000000000000000..dbaaf0352b3ea159b409212aadfb78a21c93fb86
--- /dev/null
+++ b/chrome/browser/ui/omnibox/omnibox_popup_model_observer.h
@@ -0,0 +1,18 @@
+// 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.
+
+#ifndef CHROME_BROWSER_UI_OMNIBOX_OMNIBOX_POPUP_MODEL_OBSERVER_H_
+#define CHROME_BROWSER_UI_OMNIBOX_OMNIBOX_POPUP_MODEL_OBSERVER_H_
+
+// This class defines the observer interface for the |OmniboxPopupModel|.
Peter Kasting 2013/07/09 17:35:20 This comment restates the obvious. Instead, say w
kuan 2013/07/09 17:48:47 Done.
+class OmniboxPopupModelObserver {
+ public:
+ // Informs observers that omnibox popup has been shown or hidden.
+ virtual void OnOmniboxPopupShownOrHidden() = 0;
+
+ protected:
+ virtual ~OmniboxPopupModelObserver() {}
Peter Kasting 2013/07/09 17:35:20 Is this necessary? I'd just omit this entirely.
kuan 2013/07/09 17:48:47 Done.
+};
+
+#endif // CHROME_BROWSER_UI_OMNIBOX_OMNIBOX_POPUP_MODEL_OBSERVER_H_
« no previous file with comments | « chrome/browser/ui/omnibox/omnibox_popup_model.cc ('k') | chrome/browser/ui/views/frame/browser_view.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698