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/bubble_view.h

Issue 2747693003: Add missing include guards in Cocoa code. (Closed)
Patch Set: Fix nit Created 3 years, 9 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_BUBBLE_VIEW_H_
6 #define CHROME_BROWSER_UI_COCOA_BUBBLE_VIEW_H_
7
5 #import <Cocoa/Cocoa.h> 8 #import <Cocoa/Cocoa.h>
6 9
7 #include "base/mac/scoped_nsobject.h" 10 #include "base/mac/scoped_nsobject.h"
8 11
9 // A view class that looks like a "bubble" with rounded corners and displays 12 // A view class that looks like a "bubble" with rounded corners and displays
10 // text inside. Can be themed. To put flush against the sides of a window, the 13 // text inside. Can be themed. To put flush against the sides of a window, the
11 // corner flags can be adjusted. 14 // corner flags can be adjusted.
12 15
13 // Constants that define where the bubble will have a rounded corner. If 16 // Constants that define where the bubble will have a rounded corner. If
14 // not set, the corner will be square. 17 // not set, the corner will be square.
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
59 // The font used to display the content string. 62 // The font used to display the content string.
60 - (NSFont*)font; 63 - (NSFont*)font;
61 64
62 @end 65 @end
63 66
64 // APIs exposed only for testing. 67 // APIs exposed only for testing.
65 @interface BubbleView(TestingOnly) 68 @interface BubbleView(TestingOnly)
66 - (NSString*)content; 69 - (NSString*)content;
67 - (unsigned long)cornerFlags; 70 - (unsigned long)cornerFlags;
68 @end 71 @end
72
73 #endif // CHROME_BROWSER_UI_COCOA_BUBBLE_VIEW_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/cocoa/bubble_combobox.h ('k') | chrome/browser/ui/cocoa/content_settings/collected_cookies_mac.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698