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

Side by Side Diff: content/renderer/pepper/pepper_plugin_delegate_impl.h

Issue 9693024: Add the PPAPI X509 Certificate interface and implementation. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 8 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) 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_RENDERER_PEPPER_PEPPER_PLUGIN_DELEGATE_IMPL_H_ 5 #ifndef CONTENT_RENDERER_PEPPER_PEPPER_PLUGIN_DELEGATE_IMPL_H_
6 #define CONTENT_RENDERER_PEPPER_PEPPER_PLUGIN_DELEGATE_IMPL_H_ 6 #define CONTENT_RENDERER_PEPPER_PEPPER_PLUGIN_DELEGATE_IMPL_H_
7 #pragma once 7 #pragma once
8 8
9 #include <map> 9 #include <map>
10 #include <set> 10 #include <set>
(...skipping 30 matching lines...) Expand all
41 41
42 namespace gfx { 42 namespace gfx {
43 class Point; 43 class Point;
44 class Rect; 44 class Rect;
45 } 45 }
46 46
47 namespace IPC { 47 namespace IPC {
48 struct ChannelHandle; 48 struct ChannelHandle;
49 } 49 }
50 50
51 namespace ppapi {
52 class PPB_X509Certificate_Fields;
53 }
54
51 namespace ui { 55 namespace ui {
52 class Range; 56 class Range;
53 } 57 }
54 58
55 namespace webkit { 59 namespace webkit {
56 struct WebPluginInfo; 60 struct WebPluginInfo;
57 namespace ppapi { 61 namespace ppapi {
58 class PepperFilePath; 62 class PepperFilePath;
59 class PluginInstance; 63 class PluginInstance;
60 class PluginModule; 64 class PluginModule;
(...skipping 251 matching lines...) Expand 10 before | Expand all | Expand 10 after
312 316
313 virtual void RegisterHostResolver( 317 virtual void RegisterHostResolver(
314 ppapi::PPB_HostResolver_Shared* host_resolver, 318 ppapi::PPB_HostResolver_Shared* host_resolver,
315 uint32 host_resolver_id) OVERRIDE; 319 uint32 host_resolver_id) OVERRIDE;
316 virtual void HostResolverResolve( 320 virtual void HostResolverResolve(
317 uint32 host_resolver_id, 321 uint32 host_resolver_id,
318 const ::ppapi::HostPortPair& host_port, 322 const ::ppapi::HostPortPair& host_port,
319 const PP_HostResolver_Private_Hint* hint) OVERRIDE; 323 const PP_HostResolver_Private_Hint* hint) OVERRIDE;
320 virtual void UnregisterHostResolver(uint32 host_resolver_id) OVERRIDE; 324 virtual void UnregisterHostResolver(uint32 host_resolver_id) OVERRIDE;
321 325
326 virtual bool X509CertificateParseDER(
327 const std::vector<char>& der,
328 ppapi::PPB_X509Certificate_Fields* fields) OVERRIDE;
329
322 virtual bool AddNetworkListObserver( 330 virtual bool AddNetworkListObserver(
323 webkit_glue::NetworkListObserver* observer) OVERRIDE; 331 webkit_glue::NetworkListObserver* observer) OVERRIDE;
324 virtual void RemoveNetworkListObserver( 332 virtual void RemoveNetworkListObserver(
325 webkit_glue::NetworkListObserver* observer) OVERRIDE; 333 webkit_glue::NetworkListObserver* observer) OVERRIDE;
326 334
327 virtual int32_t ShowContextMenu( 335 virtual int32_t ShowContextMenu(
328 webkit::ppapi::PluginInstance* instance, 336 webkit::ppapi::PluginInstance* instance,
329 webkit::ppapi::PPB_Flash_Menu_Impl* menu, 337 webkit::ppapi::PPB_Flash_Menu_Impl* menu,
330 const gfx::Point& position) OVERRIDE; 338 const gfx::Point& position) OVERRIDE;
331 void OnContextMenuClosed( 339 void OnContextMenuClosed(
(...skipping 161 matching lines...) Expand 10 before | Expand all | Expand 10 after
493 501
494 scoped_ptr<content::GamepadSharedMemoryReader> gamepad_shared_memory_reader_; 502 scoped_ptr<content::GamepadSharedMemoryReader> gamepad_shared_memory_reader_;
495 503
496 scoped_ptr<PepperDeviceEnumerationEventHandler> 504 scoped_ptr<PepperDeviceEnumerationEventHandler>
497 device_enumeration_event_handler_; 505 device_enumeration_event_handler_;
498 506
499 DISALLOW_COPY_AND_ASSIGN(PepperPluginDelegateImpl); 507 DISALLOW_COPY_AND_ASSIGN(PepperPluginDelegateImpl);
500 }; 508 };
501 509
502 #endif // CONTENT_RENDERER_PEPPER_PEPPER_PLUGIN_DELEGATE_IMPL_H_ 510 #endif // CONTENT_RENDERER_PEPPER_PEPPER_PLUGIN_DELEGATE_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698