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

Side by Side Diff: chrome/browser/external_protocol/external_protocol_handler.h

Issue 12321107: Move shell integration code from chrome/browser to apps (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 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 | 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_EXTERNAL_PROTOCOL_EXTERNAL_PROTOCOL_HANDLER_H_ 5 #ifndef CHROME_BROWSER_EXTERNAL_PROTOCOL_EXTERNAL_PROTOCOL_HANDLER_H_
6 #define CHROME_BROWSER_EXTERNAL_PROTOCOL_EXTERNAL_PROTOCOL_HANDLER_H_ 6 #define CHROME_BROWSER_EXTERNAL_PROTOCOL_EXTERNAL_PROTOCOL_HANDLER_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "chrome/browser/shell_integration.h" 10 #include "apps/shell_integration.h"
11 11
12 class GURL; 12 class GURL;
13 class PrefRegistrySimple; 13 class PrefRegistrySimple;
14 14
15 namespace base { 15 namespace base {
16 class DictionaryValue; 16 class DictionaryValue;
17 } 17 }
18 18
19 class ExternalProtocolHandler { 19 class ExternalProtocolHandler {
20 public: 20 public:
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after
96 static void PrepopulateDictionary(base::DictionaryValue* win_pref); 96 static void PrepopulateDictionary(base::DictionaryValue* win_pref);
97 97
98 // Allows LaunchUrl to proceed with launching an external protocol handler. 98 // Allows LaunchUrl to proceed with launching an external protocol handler.
99 // This is typically triggered by a user gesture, but is also called for 99 // This is typically triggered by a user gesture, but is also called for
100 // each extension API function. Note that each call to LaunchUrl resets 100 // each extension API function. Note that each call to LaunchUrl resets
101 // the state to false (not allowed). 101 // the state to false (not allowed).
102 static void PermitLaunchUrl(); 102 static void PermitLaunchUrl();
103 }; 103 };
104 104
105 #endif // CHROME_BROWSER_EXTERNAL_PROTOCOL_EXTERNAL_PROTOCOL_HANDLER_H_ 105 #endif // CHROME_BROWSER_EXTERNAL_PROTOCOL_EXTERNAL_PROTOCOL_HANDLER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698