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

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

Issue 1508853008: chrome: rename more wrench/Wrench occurrencies to appMenu/AppMenu (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix updateAppButtonSeverity and rewrap + rebase Created 5 years 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 78 matching lines...) Expand 10 before | Expand all | Expand 10 after
89 // Set the starred state of the bookmark star. 89 // Set the starred state of the bookmark star.
90 void SetStarred(bool starred); 90 void SetStarred(bool starred);
91 91
92 // Set whether or not the translate icon is lit. 92 // Set whether or not the translate icon is lit.
93 void SetTranslateIconLit(bool on); 93 void SetTranslateIconLit(bool on);
94 94
95 // Happens when the zoom changes for the active tab. |can_show_bubble| is 95 // Happens when the zoom changes for the active tab. |can_show_bubble| is
96 // false when the change in zoom for the active tab wasn't an explicit user 96 // false when the change in zoom for the active tab wasn't an explicit user
97 // action (e.g. switching tabs, creating a new tab, creating a new browser). 97 // action (e.g. switching tabs, creating a new tab, creating a new browser).
98 // Additionally, |can_show_bubble| will only be true when the bubble wouldn't 98 // Additionally, |can_show_bubble| will only be true when the bubble wouldn't
99 // be obscured by other UI (wrench menu) or redundant (+/- from wrench). 99 // be obscured by other UI (app menu) or redundant (+/- from app menu).
100 void ZoomChangedForActiveTab(bool can_show_bubble); 100 void ZoomChangedForActiveTab(bool can_show_bubble);
101 101
102 // Checks if the bookmark star should be enabled or not. 102 // Checks if the bookmark star should be enabled or not.
103 bool IsStarEnabled() const; 103 bool IsStarEnabled() const;
104 104
105 // Get the point in window coordinates on the star for the bookmark bubble to 105 // Get the point in window coordinates on the star for the bookmark bubble to
106 // aim at. Only works if IsStarEnabled returns YES. 106 // aim at. Only works if IsStarEnabled returns YES.
107 NSPoint GetBookmarkBubblePoint() const; 107 NSPoint GetBookmarkBubblePoint() const;
108 108
109 // Get the point in window coordinates on the star for the Translate bubble to 109 // Get the point in window coordinates on the star for the Translate bubble to
(...skipping 146 matching lines...) Expand 10 before | Expand all | Expand 10 after
256 // Indicates whether or not the location bar is currently visible. 256 // Indicates whether or not the location bar is currently visible.
257 bool location_bar_visible_; 257 bool location_bar_visible_;
258 258
259 // Used to schedule a task for the first run info bubble. 259 // Used to schedule a task for the first run info bubble.
260 base::WeakPtrFactory<LocationBarViewMac> weak_ptr_factory_; 260 base::WeakPtrFactory<LocationBarViewMac> weak_ptr_factory_;
261 261
262 DISALLOW_COPY_AND_ASSIGN(LocationBarViewMac); 262 DISALLOW_COPY_AND_ASSIGN(LocationBarViewMac);
263 }; 263 };
264 264
265 #endif // CHROME_BROWSER_UI_COCOA_LOCATION_BAR_LOCATION_BAR_VIEW_MAC_H_ 265 #endif // CHROME_BROWSER_UI_COCOA_LOCATION_BAR_LOCATION_BAR_VIEW_MAC_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/cocoa/global_error_bubble_controller.mm ('k') | chrome/browser/ui/cocoa/menu_button.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698