OLD | NEW |
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_RENDERER_CONTENT_RENDERER_CLIENT_H_ | 5 #ifndef CONTENT_PUBLIC_RENDERER_CONTENT_RENDERER_CLIENT_H_ |
6 #define CONTENT_PUBLIC_RENDERER_CONTENT_RENDERER_CLIENT_H_ | 6 #define CONTENT_PUBLIC_RENDERER_CONTENT_RENDERER_CLIENT_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
(...skipping 11 matching lines...) Expand all Loading... |
22 class SkBitmap; | 22 class SkBitmap; |
23 | 23 |
24 namespace base { | 24 namespace base { |
25 class FilePath; | 25 class FilePath; |
26 class MessageLoop; | 26 class MessageLoop; |
27 } | 27 } |
28 | 28 |
29 namespace blink { | 29 namespace blink { |
30 class WebAudioDevice; | 30 class WebAudioDevice; |
31 class WebClipboard; | 31 class WebClipboard; |
| 32 class WebCredentialManager; |
32 class WebFrame; | 33 class WebFrame; |
33 class WebLocalFrame; | 34 class WebLocalFrame; |
34 class WebMIDIAccessor; | 35 class WebMIDIAccessor; |
35 class WebMIDIAccessorClient; | 36 class WebMIDIAccessorClient; |
36 class WebMediaStreamCenter; | 37 class WebMediaStreamCenter; |
37 class WebMediaStreamCenterClient; | 38 class WebMediaStreamCenterClient; |
38 class WebPlugin; | 39 class WebPlugin; |
39 class WebPluginContainer; | 40 class WebPluginContainer; |
40 class WebPrescientNetworking; | 41 class WebPrescientNetworking; |
41 class WebRTCPeerConnectionHandler; | 42 class WebRTCPeerConnectionHandler; |
(...skipping 174 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
216 virtual void DidCreateScriptContext(blink::WebFrame* frame, | 217 virtual void DidCreateScriptContext(blink::WebFrame* frame, |
217 v8::Handle<v8::Context> context, | 218 v8::Handle<v8::Context> context, |
218 int extension_group, | 219 int extension_group, |
219 int world_id) {} | 220 int world_id) {} |
220 | 221 |
221 // See blink::Platform. | 222 // See blink::Platform. |
222 virtual unsigned long long VisitedLinkHash(const char* canonical_url, | 223 virtual unsigned long long VisitedLinkHash(const char* canonical_url, |
223 size_t length); | 224 size_t length); |
224 virtual bool IsLinkVisited(unsigned long long link_hash); | 225 virtual bool IsLinkVisited(unsigned long long link_hash); |
225 virtual blink::WebPrescientNetworking* GetPrescientNetworking(); | 226 virtual blink::WebPrescientNetworking* GetPrescientNetworking(); |
| 227 virtual blink::WebCredentialManager* GetCredentialManager(); |
226 virtual bool ShouldOverridePageVisibilityState( | 228 virtual bool ShouldOverridePageVisibilityState( |
227 const RenderFrame* render_frame, | 229 const RenderFrame* render_frame, |
228 blink::WebPageVisibilityState* override_state); | 230 blink::WebPageVisibilityState* override_state); |
229 | 231 |
230 // Allows an embedder to return custom PPAPI interfaces. | 232 // Allows an embedder to return custom PPAPI interfaces. |
231 virtual const void* CreatePPAPIInterface( | 233 virtual const void* CreatePPAPIInterface( |
232 const std::string& interface_name); | 234 const std::string& interface_name); |
233 | 235 |
234 // Returns true if the given Pepper plugin is external (requiring special | 236 // Returns true if the given Pepper plugin is external (requiring special |
235 // startup steps). | 237 // startup steps). |
(...skipping 29 matching lines...) Expand all Loading... |
265 // Returns true if the page at |url| can use Pepper VideoDecoder APIs. | 267 // Returns true if the page at |url| can use Pepper VideoDecoder APIs. |
266 virtual bool IsPluginAllowedToUseVideoDecodeAPI(const GURL& url); | 268 virtual bool IsPluginAllowedToUseVideoDecodeAPI(const GURL& url); |
267 | 269 |
268 // Returns true if dev channel APIs are available for plugins. | 270 // Returns true if dev channel APIs are available for plugins. |
269 virtual bool IsPluginAllowedToUseDevChannelAPIs(); | 271 virtual bool IsPluginAllowedToUseDevChannelAPIs(); |
270 }; | 272 }; |
271 | 273 |
272 } // namespace content | 274 } // namespace content |
273 | 275 |
274 #endif // CONTENT_PUBLIC_RENDERER_CONTENT_RENDERER_CLIENT_H_ | 276 #endif // CONTENT_PUBLIC_RENDERER_CONTENT_RENDERER_CLIENT_H_ |
OLD | NEW |