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

Side by Side Diff: chrome/browser/ui/cocoa/location_bar/location_bar_view_mac.h

Issue 1305143008: [Mac] Implement LocationBarViewMac::UpdateLocationBarVisibility() (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressing nits Created 5 years, 1 month 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 unified diff | Download patch
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_UI_COCOA_LOCATION_BAR_LOCATION_BAR_VIEW_MAC_H_ 5 #ifndef CHROME_BROWSER_UI_COCOA_LOCATION_BAR_LOCATION_BAR_VIEW_MAC_H_
6 #define CHROME_BROWSER_UI_COCOA_LOCATION_BAR_LOCATION_BAR_VIEW_MAC_H_ 6 #define CHROME_BROWSER_UI_COCOA_LOCATION_BAR_LOCATION_BAR_VIEW_MAC_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #import <Cocoa/Cocoa.h> 10 #import <Cocoa/Cocoa.h>
(...skipping 248 matching lines...) Expand 10 before | Expand all | Expand 10 after
259 scoped_ptr<MicSearchDecoration> mic_search_decoration_; 259 scoped_ptr<MicSearchDecoration> mic_search_decoration_;
260 260
261 // The right-hand-side button to manage passwords associated with a page. 261 // The right-hand-side button to manage passwords associated with a page.
262 scoped_ptr<ManagePasswordsDecoration> manage_passwords_decoration_; 262 scoped_ptr<ManagePasswordsDecoration> manage_passwords_decoration_;
263 263
264 Browser* browser_; 264 Browser* browser_;
265 265
266 // Used to change the visibility of the star decoration. 266 // Used to change the visibility of the star decoration.
267 BooleanPrefMember edit_bookmarks_enabled_; 267 BooleanPrefMember edit_bookmarks_enabled_;
268 268
269 // Indicates whether or not the location bar is currently visible.
270 bool location_bar_visible_;
271
269 // Used to schedule a task for the first run info bubble. 272 // Used to schedule a task for the first run info bubble.
270 base::WeakPtrFactory<LocationBarViewMac> weak_ptr_factory_; 273 base::WeakPtrFactory<LocationBarViewMac> weak_ptr_factory_;
271 274
272 DISALLOW_COPY_AND_ASSIGN(LocationBarViewMac); 275 DISALLOW_COPY_AND_ASSIGN(LocationBarViewMac);
273 }; 276 };
274 277
275 #endif // CHROME_BROWSER_UI_COCOA_LOCATION_BAR_LOCATION_BAR_VIEW_MAC_H_ 278 #endif // CHROME_BROWSER_UI_COCOA_LOCATION_BAR_LOCATION_BAR_VIEW_MAC_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/cocoa/browser_window_controller.mm ('k') | chrome/browser/ui/cocoa/location_bar/location_bar_view_mac.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698