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

Side by Side Diff: webkit/plugins/ppapi/plugin_delegate.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, 8 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 | « webkit/plugins/ppapi/mock_plugin_delegate.cc ('k') | webkit/plugins/ppapi/plugin_module.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 WEBKIT_PLUGINS_PPAPI_PLUGIN_DELEGATE_H_ 5 #ifndef WEBKIT_PLUGINS_PPAPI_PLUGIN_DELEGATE_H_
6 #define WEBKIT_PLUGINS_PPAPI_PLUGIN_DELEGATE_H_ 6 #define WEBKIT_PLUGINS_PPAPI_PLUGIN_DELEGATE_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
49 namespace gfx { 49 namespace gfx {
50 class Point; 50 class Point;
51 } 51 }
52 52
53 namespace gpu { 53 namespace gpu {
54 class CommandBuffer; 54 class CommandBuffer;
55 } 55 }
56 56
57 namespace ppapi { 57 namespace ppapi {
58 class PPB_HostResolver_Shared; 58 class PPB_HostResolver_Shared;
59 class PPB_X509Certificate_Fields;
59 struct DeviceRefData; 60 struct DeviceRefData;
60 struct HostPortPair; 61 struct HostPortPair;
61 struct Preferences; 62 struct Preferences;
62 } 63 }
63 64
64 namespace skia { 65 namespace skia {
65 class PlatformCanvas; 66 class PlatformCanvas;
66 } 67 }
67 68
68 namespace WebKit { 69 namespace WebKit {
(...skipping 437 matching lines...) Expand 10 before | Expand all | Expand 10 after
506 const ::ppapi::HostPortPair& host_port, 507 const ::ppapi::HostPortPair& host_port,
507 const PP_HostResolver_Private_Hint* hint) = 0; 508 const PP_HostResolver_Private_Hint* hint) = 0;
508 virtual void UnregisterHostResolver(uint32 host_resolver_id) = 0; 509 virtual void UnregisterHostResolver(uint32 host_resolver_id) = 0;
509 510
510 // Add/remove a network list observer. 511 // Add/remove a network list observer.
511 virtual bool AddNetworkListObserver( 512 virtual bool AddNetworkListObserver(
512 webkit_glue::NetworkListObserver* observer) = 0; 513 webkit_glue::NetworkListObserver* observer) = 0;
513 virtual void RemoveNetworkListObserver( 514 virtual void RemoveNetworkListObserver(
514 webkit_glue::NetworkListObserver* observer) = 0; 515 webkit_glue::NetworkListObserver* observer) = 0;
515 516
517 // For PPB_X509Certificate_Private.
518 virtual bool X509CertificateParseDER(
519 const std::vector<char>& der,
520 ::ppapi::PPB_X509Certificate_Fields* fields) = 0;
521
516 // Show the given context menu at the given position (in the plugin's 522 // Show the given context menu at the given position (in the plugin's
517 // coordinates). 523 // coordinates).
518 virtual int32_t ShowContextMenu( 524 virtual int32_t ShowContextMenu(
519 PluginInstance* instance, 525 PluginInstance* instance,
520 webkit::ppapi::PPB_Flash_Menu_Impl* menu, 526 webkit::ppapi::PPB_Flash_Menu_Impl* menu,
521 const gfx::Point& position) = 0; 527 const gfx::Point& position) = 0;
522 528
523 // Create a fullscreen container for a plugin instance. This effectively 529 // Create a fullscreen container for a plugin instance. This effectively
524 // switches the plugin to fullscreen. 530 // switches the plugin to fullscreen.
525 virtual FullscreenContainer* CreateFullscreenContainer( 531 virtual FullscreenContainer* CreateFullscreenContainer(
(...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after
613 const EnumerateDevicesCallback& callback) = 0; 619 const EnumerateDevicesCallback& callback) = 0;
614 // Create a ClipboardClient for writing to the clipboard. The caller will own 620 // Create a ClipboardClient for writing to the clipboard. The caller will own
615 // the pointer to this. 621 // the pointer to this.
616 virtual webkit_glue::ClipboardClient* CreateClipboardClient() const = 0; 622 virtual webkit_glue::ClipboardClient* CreateClipboardClient() const = 0;
617 }; 623 };
618 624
619 } // namespace ppapi 625 } // namespace ppapi
620 } // namespace webkit 626 } // namespace webkit
621 627
622 #endif // WEBKIT_PLUGINS_PPAPI_PLUGIN_DELEGATE_H_ 628 #endif // WEBKIT_PLUGINS_PPAPI_PLUGIN_DELEGATE_H_
OLDNEW
« no previous file with comments | « webkit/plugins/ppapi/mock_plugin_delegate.cc ('k') | webkit/plugins/ppapi/plugin_module.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698