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

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

Issue 17593006: mac: Update clients of scoped_nsobject.h. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: iwyu, scoped_nsprotocol Created 7 years, 6 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 | Annotate | Revision Log
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 "chrome/browser/ui/cocoa/location_bar/image_decoration.h" 10 #include "chrome/browser/ui/cocoa/location_bar/image_decoration.h"
(...skipping 20 matching lines...) Expand all
31 // Implement |LocationBarDecoration|. 31 // Implement |LocationBarDecoration|.
32 virtual bool AcceptsMousePress() OVERRIDE; 32 virtual bool AcceptsMousePress() OVERRIDE;
33 virtual bool OnMousePressed(NSRect frame) OVERRIDE; 33 virtual bool OnMousePressed(NSRect frame) OVERRIDE;
34 virtual NSString* GetToolTip() OVERRIDE; 34 virtual NSString* GetToolTip() OVERRIDE;
35 35
36 private: 36 private:
37 // For bringing up bookmark bar. 37 // For bringing up bookmark bar.
38 CommandUpdater* command_updater_; // Weak, owned by Browser. 38 CommandUpdater* command_updater_; // Weak, owned by Browser.
39 39
40 // The string to show for a tooltip. 40 // The string to show for a tooltip.
41 scoped_nsobject<NSString> tooltip_; 41 base::scoped_nsobject<NSString> tooltip_;
42 42
43 // Whether the star icon is lit. 43 // Whether the star icon is lit.
44 bool starred_; 44 bool starred_;
45 45
46 DISALLOW_COPY_AND_ASSIGN(StarDecoration); 46 DISALLOW_COPY_AND_ASSIGN(StarDecoration);
47 }; 47 };
48 48
49 #endif // CHROME_BROWSER_UI_COCOA_LOCATION_BAR_STAR_DECORATION_H_ 49 #endif // CHROME_BROWSER_UI_COCOA_LOCATION_BAR_STAR_DECORATION_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698