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

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, 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 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 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
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 struct Preferences; 61 struct Preferences;
62 class PPB_X509Certificate_Fields;
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;
71 struct WebCursorInfo; 72 struct WebCursorInfo;
(...skipping 426 matching lines...) Expand 10 before | Expand all | Expand 10 after
498 const ::ppapi::HostPortPair& host_port, 499 const ::ppapi::HostPortPair& host_port,
499 const PP_HostResolver_Private_Hint* hint) = 0; 500 const PP_HostResolver_Private_Hint* hint) = 0;
500 virtual void UnregisterHostResolver(uint32 host_resolver_id) = 0; 501 virtual void UnregisterHostResolver(uint32 host_resolver_id) = 0;
501 502
502 // Add/remove a network list observer. 503 // Add/remove a network list observer.
503 virtual bool AddNetworkListObserver( 504 virtual bool AddNetworkListObserver(
504 webkit_glue::NetworkListObserver* observer) = 0; 505 webkit_glue::NetworkListObserver* observer) = 0;
505 virtual void RemoveNetworkListObserver( 506 virtual void RemoveNetworkListObserver(
506 webkit_glue::NetworkListObserver* observer) = 0; 507 webkit_glue::NetworkListObserver* observer) = 0;
507 508
509 // For PPB_Flash_X509_Certificate
510 virtual bool X509CertificateParseDER(
511 const std::vector<char>& der,
512 ::ppapi::PPB_X509Certificate_Fields* fields) = 0;
513
508 // Show the given context menu at the given position (in the plugin's 514 // Show the given context menu at the given position (in the plugin's
509 // coordinates). 515 // coordinates).
510 virtual int32_t ShowContextMenu( 516 virtual int32_t ShowContextMenu(
511 PluginInstance* instance, 517 PluginInstance* instance,
512 webkit::ppapi::PPB_Flash_Menu_Impl* menu, 518 webkit::ppapi::PPB_Flash_Menu_Impl* menu,
513 const gfx::Point& position) = 0; 519 const gfx::Point& position) = 0;
514 520
515 // Create a fullscreen container for a plugin instance. This effectively 521 // Create a fullscreen container for a plugin instance. This effectively
516 // switches the plugin to fullscreen. 522 // switches the plugin to fullscreen.
517 virtual FullscreenContainer* CreateFullscreenContainer( 523 virtual FullscreenContainer* CreateFullscreenContainer(
(...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after
605 const EnumerateDevicesCallback& callback) = 0; 611 const EnumerateDevicesCallback& callback) = 0;
606 // Create a ClipboardClient for writing to the clipboard. The caller will own 612 // Create a ClipboardClient for writing to the clipboard. The caller will own
607 // the pointer to this. 613 // the pointer to this.
608 virtual webkit_glue::ClipboardClient* CreateClipboardClient() const = 0; 614 virtual webkit_glue::ClipboardClient* CreateClipboardClient() const = 0;
609 }; 615 };
610 616
611 } // namespace ppapi 617 } // namespace ppapi
612 } // namespace webkit 618 } // namespace webkit
613 619
614 #endif // WEBKIT_PLUGINS_PPAPI_PLUGIN_DELEGATE_H_ 620 #endif // WEBKIT_PLUGINS_PPAPI_PLUGIN_DELEGATE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698