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

Side by Side Diff: chrome/browser/ui/cocoa/location_bar/ev_bubble_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_EV_BUBBLE_DECORATION_H_ 5 #ifndef CHROME_BROWSER_UI_COCOA_LOCATION_BAR_EV_BUBBLE_DECORATION_H_
6 #define CHROME_BROWSER_UI_COCOA_LOCATION_BAR_EV_BUBBLE_DECORATION_H_ 6 #define CHROME_BROWSER_UI_COCOA_LOCATION_BAR_EV_BUBBLE_DECORATION_H_
7 7
8 #import <Cocoa/Cocoa.h> 8 #import <Cocoa/Cocoa.h>
9 9
10 #include "chrome/browser/ui/cocoa/location_bar/bubble_decoration.h" 10 #include "chrome/browser/ui/cocoa/location_bar/bubble_decoration.h"
(...skipping 26 matching lines...) Expand all
37 virtual CGFloat GetWidthForSpace(CGFloat width) OVERRIDE; 37 virtual CGFloat GetWidthForSpace(CGFloat width) OVERRIDE;
38 virtual bool IsDraggable() OVERRIDE; 38 virtual bool IsDraggable() OVERRIDE;
39 virtual NSPasteboard* GetDragPasteboard() OVERRIDE; 39 virtual NSPasteboard* GetDragPasteboard() OVERRIDE;
40 virtual NSImage* GetDragImage() OVERRIDE; 40 virtual NSImage* GetDragImage() OVERRIDE;
41 virtual NSRect GetDragImageFrame(NSRect frame) OVERRIDE; 41 virtual NSRect GetDragImageFrame(NSRect frame) OVERRIDE;
42 virtual bool OnMousePressed(NSRect frame) OVERRIDE; 42 virtual bool OnMousePressed(NSRect frame) OVERRIDE;
43 virtual bool AcceptsMousePress() OVERRIDE; 43 virtual bool AcceptsMousePress() OVERRIDE;
44 44
45 private: 45 private:
46 // The real label. BubbleDecoration's label may be elided. 46 // The real label. BubbleDecoration's label may be elided.
47 scoped_nsobject<NSString> full_label_; 47 base::scoped_nsobject<NSString> full_label_;
48 48
49 LocationIconDecoration* location_icon_; // weak, owned by location bar. 49 LocationIconDecoration* location_icon_; // weak, owned by location bar.
50 50
51 DISALLOW_COPY_AND_ASSIGN(EVBubbleDecoration); 51 DISALLOW_COPY_AND_ASSIGN(EVBubbleDecoration);
52 }; 52 };
53 53
54 #endif // CHROME_BROWSER_UI_COCOA_LOCATION_BAR_EV_BUBBLE_DECORATION_H_ 54 #endif // CHROME_BROWSER_UI_COCOA_LOCATION_BAR_EV_BUBBLE_DECORATION_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698