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

Side by Side Diff: chrome/browser/ui/cocoa/intents/web_intent_extension_prompt_view_controller.h

Issue 11230023: Web Intents Mac: Add view animation (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: address review comment Created 8 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
« no previous file with comments | « no previous file | chrome/browser/ui/cocoa/intents/web_intent_extension_prompt_view_controller.mm » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_INTENTS_WEB_INTENT_EXTENSION_PROMPT_VIEW_CONTROL LER_H_ 5 #ifndef CHROME_BROWSER_UI_COCOA_INTENTS_WEB_INTENT_EXTENSION_PROMPT_VIEW_CONTROL LER_H_
6 #define CHROME_BROWSER_UI_COCOA_INTENTS_WEB_INTENT_EXTENSION_PROMPT_VIEW_CONTROL LER_H_ 6 #define CHROME_BROWSER_UI_COCOA_INTENTS_WEB_INTENT_EXTENSION_PROMPT_VIEW_CONTROL LER_H_
7 7
8 #import <Cocoa/Cocoa.h> 8 #import <Cocoa/Cocoa.h>
9 9
10 #include "base/memory/scoped_nsobject.h" 10 #include "base/memory/scoped_nsobject.h"
11 #include "chrome/browser/extensions/extension_install_prompt.h" 11 #include "chrome/browser/extensions/extension_install_prompt.h"
12 #import "chrome/browser/ui/cocoa/intents/web_intent_view_controller.h" 12 #import "chrome/browser/ui/cocoa/intents/web_intent_view_controller.h"
13 13
14 @class ExtensionInstallViewController; 14 @class ExtensionInstallViewController;
15 15
16 // The message view shows an extension install prompt. 16 // The message view shows an extension install prompt.
17 @interface WebIntentExtensionPromptViewController : WebIntentViewController { 17 @interface WebIntentExtensionPromptViewController : WebIntentViewController {
18 @private 18 @private
19 scoped_nsobject<ExtensionInstallViewController> viewController_; 19 scoped_nsobject<ExtensionInstallViewController> viewController_;
20 } 20 }
21 21
22 - (id)init; 22 - (id)init;
23 23
24 - (void)setNavigator:(content::PageNavigator*)navigator 24 - (void)setNavigator:(content::PageNavigator*)navigator
25 delegate:(ExtensionInstallPrompt::Delegate*)delegate 25 delegate:(ExtensionInstallPrompt::Delegate*)delegate
26 prompt:(const ExtensionInstallPrompt::Prompt&)prompt; 26 prompt:(const ExtensionInstallPrompt::Prompt&)prompt;
27 27
28 // Removes the embedded extension install prompt.
29 - (void)clear;
30
31 - (ExtensionInstallViewController*)viewController; 28 - (ExtensionInstallViewController*)viewController;
32 29
33 @end 30 @end
34 31
35 #endif // CHROME_BROWSER_UI_COCOA_INTENTS_WEB_INTENT_EXTENSION_PROMPT_VIEW_CONT ROLLER_H_ 32 #endif // CHROME_BROWSER_UI_COCOA_INTENTS_WEB_INTENT_EXTENSION_PROMPT_VIEW_CONT ROLLER_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/ui/cocoa/intents/web_intent_extension_prompt_view_controller.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698