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

Unified Diff: chrome/browser/ui/cocoa/browser_window_controller.h

Issue 2196203002: [Mac] The infobar's top arrow should be hidden while the omnibox popup is shown (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Revert to the patch set 1 Created 4 years, 4 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/cocoa/browser_window_controller.h
diff --git a/chrome/browser/ui/cocoa/browser_window_controller.h b/chrome/browser/ui/cocoa/browser_window_controller.h
index c14373321321907ea2980d168c8e7f0c94275832..270e09328789e72daf6d9e2f61dcfff12a3bde4a 100644
--- a/chrome/browser/ui/cocoa/browser_window_controller.h
+++ b/chrome/browser/ui/cocoa/browser_window_controller.h
@@ -64,6 +64,10 @@ namespace extensions {
class Command;
}
+namespace {
+class OmniboxPopupModelObserverBridge;
+}
+
@interface BrowserWindowController
: TabWindowController<BookmarkBarControllerDelegate,
ViewResizer,
@@ -201,6 +205,10 @@ class Command;
// handle.
std::unique_ptr<ExtensionKeybindingRegistryCocoa>
extension_keybinding_registry_;
+
+ // Observes whether the omnibox popup is shown or hidden.
+ std::unique_ptr<OmniboxPopupModelObserverBridge>
+ omnibox_popup_model_observer_bridge_;
Robert Sesek 2016/08/04 17:13:40 naming: use camelCase since this is an ObjC ivar (
Sungmann Cho 2016/08/04 17:42:26 Done.
}
// A convenience class method which gets the |BrowserWindowController| for a

Powered by Google App Engine
This is Rietveld 408576698