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

Side by Side Diff: content/public/common/content_client.h

Issue 11828040: Revert 175971 (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 7 years, 11 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) 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 CONTENT_PUBLIC_COMMON_CONTENT_CLIENT_H_ 5 #ifndef CONTENT_PUBLIC_COMMON_CONTENT_CLIENT_H_
6 #define CONTENT_PUBLIC_COMMON_CONTENT_CLIENT_H_ 6 #define CONTENT_PUBLIC_COMMON_CONTENT_CLIENT_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after
93 // Gives the embedder a chance to register its own internal NPAPI plugins. 93 // Gives the embedder a chance to register its own internal NPAPI plugins.
94 virtual void AddNPAPIPlugins( 94 virtual void AddNPAPIPlugins(
95 webkit::npapi::PluginList* plugin_list) {} 95 webkit::npapi::PluginList* plugin_list) {}
96 96
97 // Gives the embedder a chance to register its own standard and saveable 97 // Gives the embedder a chance to register its own standard and saveable
98 // url schemes early on in the startup sequence. 98 // url schemes early on in the startup sequence.
99 virtual void AddAdditionalSchemes( 99 virtual void AddAdditionalSchemes(
100 std::vector<std::string>* standard_schemes, 100 std::vector<std::string>* standard_schemes,
101 std::vector<std::string>* savable_schemes) {} 101 std::vector<std::string>* savable_schemes) {}
102 102
103 // Returns true if the url has a scheme for WebUI. See also
104 // WebUIControllerFactory::UseWebUIForURL in the browser process.
105 virtual bool HasWebUIScheme(const GURL& url) const;
106
103 // Returns whether the given message should be processed in the browser on 107 // Returns whether the given message should be processed in the browser on
104 // behalf of a swapped out renderer. 108 // behalf of a swapped out renderer.
105 virtual bool CanHandleWhileSwappedOut(const IPC::Message& message); 109 virtual bool CanHandleWhileSwappedOut(const IPC::Message& message);
106 110
107 // Returns a string describing the embedder version. Used as part of the 111 // Returns a string describing the embedder version. Used as part of the
108 // user agent string. 112 // user agent string.
109 virtual std::string GetProduct() const; 113 virtual std::string GetProduct() const;
110 114
111 // Returns the user agent. 115 // Returns the user agent.
112 virtual std::string GetUserAgent() const; 116 virtual std::string GetUserAgent() const;
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
151 ContentPluginClient* plugin_; 155 ContentPluginClient* plugin_;
152 // The embedder API for participating in renderer logic. 156 // The embedder API for participating in renderer logic.
153 ContentRendererClient* renderer_; 157 ContentRendererClient* renderer_;
154 // The embedder API for participating in utility logic. 158 // The embedder API for participating in utility logic.
155 ContentUtilityClient* utility_; 159 ContentUtilityClient* utility_;
156 }; 160 };
157 161
158 } // namespace content 162 } // namespace content
159 163
160 #endif // CONTENT_PUBLIC_COMMON_CONTENT_CLIENT_H_ 164 #endif // CONTENT_PUBLIC_COMMON_CONTENT_CLIENT_H_
OLDNEW
« no previous file with comments | « content/public/browser/web_ui_controller_factory.h ('k') | content/public/common/content_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698