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

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
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 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
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 struct DeviceRefData; 59 struct DeviceRefData;
60 struct HostPortPair; 60 struct HostPortPair;
61 class PPB_X509Certificate_Fields;
yzshen1 2012/03/26 17:51:08 If you sort ignoring class/struct, you should move
raymes 2012/03/26 19:31:34 Done.
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 {
69 class WebFileChooserCompletion; 70 class WebFileChooserCompletion;
70 class WebGamepads; 71 class WebGamepads;
(...skipping 444 matching lines...) Expand 10 before | Expand all | Expand 10 after
515 const ::ppapi::HostPortPair& host_port, 516 const ::ppapi::HostPortPair& host_port,
516 const PP_HostResolver_Private_Hint* hint) = 0; 517 const PP_HostResolver_Private_Hint* hint) = 0;
517 virtual void UnregisterHostResolver(uint32 host_resolver_id) = 0; 518 virtual void UnregisterHostResolver(uint32 host_resolver_id) = 0;
518 519
519 // Add/remove a network list observer. 520 // Add/remove a network list observer.
520 virtual bool AddNetworkListObserver( 521 virtual bool AddNetworkListObserver(
521 webkit_glue::NetworkListObserver* observer) = 0; 522 webkit_glue::NetworkListObserver* observer) = 0;
522 virtual void RemoveNetworkListObserver( 523 virtual void RemoveNetworkListObserver(
523 webkit_glue::NetworkListObserver* observer) = 0; 524 webkit_glue::NetworkListObserver* observer) = 0;
524 525
526 // For PPB_X509Certificate_Private.
527 virtual bool X509CertificateParseDER(
528 const std::vector<char>& der,
529 ::ppapi::PPB_X509Certificate_Fields* fields) = 0;
530
525 // Show the given context menu at the given position (in the plugin's 531 // Show the given context menu at the given position (in the plugin's
526 // coordinates). 532 // coordinates).
527 virtual int32_t ShowContextMenu( 533 virtual int32_t ShowContextMenu(
528 PluginInstance* instance, 534 PluginInstance* instance,
529 webkit::ppapi::PPB_Flash_Menu_Impl* menu, 535 webkit::ppapi::PPB_Flash_Menu_Impl* menu,
530 const gfx::Point& position) = 0; 536 const gfx::Point& position) = 0;
531 537
532 // Create a fullscreen container for a plugin instance. This effectively 538 // Create a fullscreen container for a plugin instance. This effectively
533 // switches the plugin to fullscreen. 539 // switches the plugin to fullscreen.
534 virtual FullscreenContainer* CreateFullscreenContainer( 540 virtual FullscreenContainer* CreateFullscreenContainer(
(...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after
622 const EnumerateDevicesCallback& callback) = 0; 628 const EnumerateDevicesCallback& callback) = 0;
623 // Create a ClipboardClient for writing to the clipboard. The caller will own 629 // Create a ClipboardClient for writing to the clipboard. The caller will own
624 // the pointer to this. 630 // the pointer to this.
625 virtual webkit_glue::ClipboardClient* CreateClipboardClient() const = 0; 631 virtual webkit_glue::ClipboardClient* CreateClipboardClient() const = 0;
626 }; 632 };
627 633
628 } // namespace ppapi 634 } // namespace ppapi
629 } // namespace webkit 635 } // namespace webkit
630 636
631 #endif // WEBKIT_PLUGINS_PPAPI_PLUGIN_DELEGATE_H_ 637 #endif // WEBKIT_PLUGINS_PPAPI_PLUGIN_DELEGATE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698