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

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

Issue 8536010: Cleanup: Remove unneeded forward declarations from chrome/browser/ui/gtk and chrome/browser/ui/co... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: address comments Created 9 years, 1 month 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) 2010 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_INSTANT_OPT_IN_CONTROLLER_H_ 5 #ifndef CHROME_BROWSER_UI_COCOA_LOCATION_BAR_INSTANT_OPT_IN_CONTROLLER_H_
6 #define CHROME_BROWSER_UI_COCOA_LOCATION_BAR_INSTANT_OPT_IN_CONTROLLER_H_ 6 #define CHROME_BROWSER_UI_COCOA_LOCATION_BAR_INSTANT_OPT_IN_CONTROLLER_H_
7 #pragma once 7 #pragma once
8 8
9 #import <Cocoa/Cocoa.h> 9 #import <Cocoa/Cocoa.h>
10 10
11 class Profile;
12
13 // This delegate receives callbacks from the InstantOptInController when the OK 11 // This delegate receives callbacks from the InstantOptInController when the OK
14 // and Cancel buttons are pushed. 12 // and Cancel buttons are pushed.
15 class InstantOptInControllerDelegate { 13 class InstantOptInControllerDelegate {
16 public: 14 public:
17 virtual void UserPressedOptIn(bool opt_in) = 0; 15 virtual void UserPressedOptIn(bool opt_in) = 0;
18 16
19 protected: 17 protected:
20 virtual ~InstantOptInControllerDelegate() {} 18 virtual ~InstantOptInControllerDelegate() {}
21 }; 19 };
22 20
(...skipping 11 matching lines...) Expand all
34 // Designated initializer. 32 // Designated initializer.
35 - (id)initWithDelegate:(InstantOptInControllerDelegate*)delegate; 33 - (id)initWithDelegate:(InstantOptInControllerDelegate*)delegate;
36 34
37 // Button actions. 35 // Button actions.
38 - (IBAction)ok:(id)sender; 36 - (IBAction)ok:(id)sender;
39 - (IBAction)cancel:(id)sender; 37 - (IBAction)cancel:(id)sender;
40 38
41 @end 39 @end
42 40
43 #endif // CHROME_BROWSER_UI_COCOA_LOCATION_BAR_INSTANT_OPT_IN_CONTROLLER_H_ 41 #endif // CHROME_BROWSER_UI_COCOA_LOCATION_BAR_INSTANT_OPT_IN_CONTROLLER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698