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

Side by Side Diff: chrome/browser/ui/cocoa/first_run_bubble_controller.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) 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_FIRST_RUN_BUBBLE_CONTROLLER_H_
6 #define CHROME_BROWSER_UI_COCOA_FIRST_RUN_BUBBLE_CONTROLLER_H_
7
5 #import <Cocoa/Cocoa.h> 8 #import <Cocoa/Cocoa.h>
6 9
7 #import "chrome/browser/ui/cocoa/base_bubble_controller.h" 10 #import "chrome/browser/ui/cocoa/base_bubble_controller.h"
8 11
9 class Browser; 12 class Browser;
10 class Profile; 13 class Profile;
11 14
12 // Manages the first run bubble. 15 // Manages the first run bubble.
13 @interface FirstRunBubbleController : BaseBubbleController { 16 @interface FirstRunBubbleController : BaseBubbleController {
14 @private 17 @private
15 IBOutlet NSTextField* header_; 18 IBOutlet NSTextField* header_;
16 Browser* browser_; 19 Browser* browser_;
17 Profile* profile_; 20 Profile* profile_;
18 } 21 }
19 22
20 // Creates and shows a first run bubble. |browser| is NULL in unittests. 23 // Creates and shows a first run bubble. |browser| is NULL in unittests.
21 + (FirstRunBubbleController*) showForView:(NSView*)view 24 + (FirstRunBubbleController*) showForView:(NSView*)view
22 offset:(NSPoint)offset 25 offset:(NSPoint)offset
23 browser:(Browser*)browser 26 browser:(Browser*)browser
24 profile:(Profile*)profile; 27 profile:(Profile*)profile;
25 28
26 // Handle the bubble's 'Change' button; direct users to search engine options. 29 // Handle the bubble's 'Change' button; direct users to search engine options.
27 - (IBAction)onChange:(id)sender; 30 - (IBAction)onChange:(id)sender;
28 31
29 @end 32 @end
33
34 #endif // CHROME_BROWSER_UI_COCOA_FIRST_RUN_BUBBLE_CONTROLLER_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/cocoa/find_bar/find_bar_text_field_cell.h ('k') | chrome/browser/ui/cocoa/fullscreen_window.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698