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

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

Issue 19381007: Remove unused includes of plugin_list.h. Also remove unused ContentClient and webkit_support method… (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 7 years, 5 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
« no previous file with comments | « content/plugin/plugin_thread.cc ('k') | webkit/plugins/npapi/plugin_host.cc » ('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 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 21 matching lines...) Expand all
32 32
33 namespace gpu { 33 namespace gpu {
34 struct GPUInfo; 34 struct GPUInfo;
35 } 35 }
36 36
37 namespace sandbox { 37 namespace sandbox {
38 class TargetPolicy; 38 class TargetPolicy;
39 } 39 }
40 40
41 namespace webkit { 41 namespace webkit {
42 namespace npapi {
43 class PluginList;
44 }
45
46 namespace ppapi { 42 namespace ppapi {
47 class HostGlobals; 43 class HostGlobals;
48 } 44 }
49 } 45 }
50 46
51 namespace content { 47 namespace content {
52 48
53 class ContentBrowserClient; 49 class ContentBrowserClient;
54 class ContentClient; 50 class ContentClient;
55 class ContentPluginClient; 51 class ContentPluginClient;
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
103 // Sets the currently active URL. Use GURL() to clear the URL. 99 // Sets the currently active URL. Use GURL() to clear the URL.
104 virtual void SetActiveURL(const GURL& url) {} 100 virtual void SetActiveURL(const GURL& url) {}
105 101
106 // Sets the data on the current gpu. 102 // Sets the data on the current gpu.
107 virtual void SetGpuInfo(const gpu::GPUInfo& gpu_info) {} 103 virtual void SetGpuInfo(const gpu::GPUInfo& gpu_info) {}
108 104
109 // Gives the embedder a chance to register its own pepper plugins. 105 // Gives the embedder a chance to register its own pepper plugins.
110 virtual void AddPepperPlugins( 106 virtual void AddPepperPlugins(
111 std::vector<content::PepperPluginInfo>* plugins) {} 107 std::vector<content::PepperPluginInfo>* plugins) {}
112 108
113 // Gives the embedder a chance to register its own internal NPAPI plugins.
114 virtual void AddNPAPIPlugins(
115 webkit::npapi::PluginList* plugin_list) {}
116
117 // Gives the embedder a chance to register its own standard and saveable 109 // Gives the embedder a chance to register its own standard and saveable
118 // url schemes early on in the startup sequence. 110 // url schemes early on in the startup sequence.
119 virtual void AddAdditionalSchemes( 111 virtual void AddAdditionalSchemes(
120 std::vector<std::string>* standard_schemes, 112 std::vector<std::string>* standard_schemes,
121 std::vector<std::string>* savable_schemes) {} 113 std::vector<std::string>* savable_schemes) {}
122 114
123 // Returns whether the given message should be sent in a swapped out renderer. 115 // Returns whether the given message should be sent in a swapped out renderer.
124 virtual bool CanSendWhileSwappedOut(const IPC::Message* message); 116 virtual bool CanSendWhileSwappedOut(const IPC::Message* message);
125 117
126 // Returns whether the given message should be processed in the browser on 118 // Returns whether the given message should be processed in the browser on
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
181 ContentPluginClient* plugin_; 173 ContentPluginClient* plugin_;
182 // The embedder API for participating in renderer logic. 174 // The embedder API for participating in renderer logic.
183 ContentRendererClient* renderer_; 175 ContentRendererClient* renderer_;
184 // The embedder API for participating in utility logic. 176 // The embedder API for participating in utility logic.
185 ContentUtilityClient* utility_; 177 ContentUtilityClient* utility_;
186 }; 178 };
187 179
188 } // namespace content 180 } // namespace content
189 181
190 #endif // CONTENT_PUBLIC_COMMON_CONTENT_CLIENT_H_ 182 #endif // CONTENT_PUBLIC_COMMON_CONTENT_CLIENT_H_
OLDNEW
« no previous file with comments | « content/plugin/plugin_thread.cc ('k') | webkit/plugins/npapi/plugin_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698