Chromium Code Reviews| Index: chrome/browser/ui/cocoa/location_bar/location_bar_view_mac.h |
| diff --git a/chrome/browser/ui/cocoa/location_bar/location_bar_view_mac.h b/chrome/browser/ui/cocoa/location_bar/location_bar_view_mac.h |
| index 1459ea60f5679c23a6dac863aa92af47f8127bf6..9e7fee57b49be1e6d46d8578e1e462c68b2db5a0 100644 |
| --- a/chrome/browser/ui/cocoa/location_bar/location_bar_view_mac.h |
| +++ b/chrome/browser/ui/cocoa/location_bar/location_bar_view_mac.h |
| @@ -38,6 +38,15 @@ class TranslateDecoration; |
| class ZoomDecoration; |
| class ZoomDecorationTest; |
| +namespace chrome { |
| + |
| +// Names of the notifications used to indicate whether the location bar should |
| +// be shown or hidden. |
| +extern NSString* const kShowToolbarNotification; |
| +extern NSString* const kHideToolbarNotification; |
| + |
| +} // namespace chrome |
| + |
| // A C++ bridge class that represents the location bar UI element to |
| // the portable code. Wires up an OmniboxViewMac instance to |
| // the location bar text field, which handles most of the work. |
| @@ -266,6 +275,8 @@ class LocationBarViewMac : public LocationBar, |
| // Used to change the visibility of the star decoration. |
| BooleanPrefMember edit_bookmarks_enabled_; |
| + bool show_location_bar_; |
|
tapted
2015/09/08 05:55:06
Can you just infer this from [field_ isHidden]?
dominickn
2015/10/09 06:37:02
Done.
|
| + |
| // Used to schedule a task for the first run info bubble. |
| base::WeakPtrFactory<LocationBarViewMac> weak_ptr_factory_; |