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

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

Issue 1543393002: Switch to standard integer types in chrome/browser/ui/cocoa/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 12 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 unified diff | Download patch
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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_STAR_DECORATION_H_ 5 #ifndef CHROME_BROWSER_UI_COCOA_LOCATION_BAR_STAR_DECORATION_H_
6 #define CHROME_BROWSER_UI_COCOA_LOCATION_BAR_STAR_DECORATION_H_ 6 #define CHROME_BROWSER_UI_COCOA_LOCATION_BAR_STAR_DECORATION_H_
7 7
8 #import <Cocoa/Cocoa.h> 8 #import <Cocoa/Cocoa.h>
9 9
10 #include "base/macros.h"
10 #include "chrome/browser/ui/cocoa/location_bar/image_decoration.h" 11 #include "chrome/browser/ui/cocoa/location_bar/image_decoration.h"
11 12
12 class CommandUpdater; 13 class CommandUpdater;
13 14
14 // Star icon on the right side of the field. 15 // Star icon on the right side of the field.
15 16
16 class StarDecoration : public ImageDecoration { 17 class StarDecoration : public ImageDecoration {
17 public: 18 public:
18 explicit StarDecoration(CommandUpdater* command_updater); 19 explicit StarDecoration(CommandUpdater* command_updater);
19 ~StarDecoration() override; 20 ~StarDecoration() override;
(...skipping 17 matching lines...) Expand all
37 // The string to show for a tooltip. 38 // The string to show for a tooltip.
38 base::scoped_nsobject<NSString> tooltip_; 39 base::scoped_nsobject<NSString> tooltip_;
39 40
40 // Whether the star icon is lit. 41 // Whether the star icon is lit.
41 bool starred_; 42 bool starred_;
42 43
43 DISALLOW_COPY_AND_ASSIGN(StarDecoration); 44 DISALLOW_COPY_AND_ASSIGN(StarDecoration);
44 }; 45 };
45 46
46 #endif // CHROME_BROWSER_UI_COCOA_LOCATION_BAR_STAR_DECORATION_H_ 47 #endif // CHROME_BROWSER_UI_COCOA_LOCATION_BAR_STAR_DECORATION_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698