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

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 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
48 class Point; 48 class Point;
49 } 49 }
50 50
51 namespace gpu { 51 namespace gpu {
52 class CommandBuffer; 52 class CommandBuffer;
53 } 53 }
54 54
55 namespace ppapi { 55 namespace ppapi {
56 struct DeviceRefData; 56 struct DeviceRefData;
57 struct Preferences; 57 struct Preferences;
58 class PPB_X509Certificate_Fields;
58 } 59 }
59 60
60 namespace skia { 61 namespace skia {
61 class PlatformCanvas; 62 class PlatformCanvas;
62 } 63 }
63 64
64 namespace WebKit { 65 namespace WebKit {
65 class WebFileChooserCompletion; 66 class WebFileChooserCompletion;
66 class WebGamepads; 67 class WebGamepads;
67 struct WebCursorInfo; 68 struct WebCursorInfo;
(...skipping 414 matching lines...) Expand 10 before | Expand all | Expand 10 after
482 virtual void TCPServerSocketAccept(uint32 real_socket_id) = 0; 483 virtual void TCPServerSocketAccept(uint32 real_socket_id) = 0;
483 virtual void TCPServerSocketStopListening(uint32 real_socket_id, 484 virtual void TCPServerSocketStopListening(uint32 real_socket_id,
484 uint32 temp_socket_id) = 0; 485 uint32 temp_socket_id) = 0;
485 486
486 // Add/remove a network list observer. 487 // Add/remove a network list observer.
487 virtual bool AddNetworkListObserver( 488 virtual bool AddNetworkListObserver(
488 webkit_glue::NetworkListObserver* observer) = 0; 489 webkit_glue::NetworkListObserver* observer) = 0;
489 virtual void RemoveNetworkListObserver( 490 virtual void RemoveNetworkListObserver(
490 webkit_glue::NetworkListObserver* observer) = 0; 491 webkit_glue::NetworkListObserver* observer) = 0;
491 492
493 // For PPB_Flash_X509_Certificate
494 virtual bool X509CertificateParseDER(
495 const std::vector<char>& der,
496 ::ppapi::PPB_X509Certificate_Fields* fields) = 0;
497
492 // Show the given context menu at the given position (in the plugin's 498 // Show the given context menu at the given position (in the plugin's
493 // coordinates). 499 // coordinates).
494 virtual int32_t ShowContextMenu( 500 virtual int32_t ShowContextMenu(
495 PluginInstance* instance, 501 PluginInstance* instance,
496 webkit::ppapi::PPB_Flash_Menu_Impl* menu, 502 webkit::ppapi::PPB_Flash_Menu_Impl* menu,
497 const gfx::Point& position) = 0; 503 const gfx::Point& position) = 0;
498 504
499 // Create a fullscreen container for a plugin instance. This effectively 505 // Create a fullscreen container for a plugin instance. This effectively
500 // switches the plugin to fullscreen. 506 // switches the plugin to fullscreen.
501 virtual FullscreenContainer* CreateFullscreenContainer( 507 virtual FullscreenContainer* CreateFullscreenContainer(
(...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after
589 const EnumerateDevicesCallback& callback) = 0; 595 const EnumerateDevicesCallback& callback) = 0;
590 // Create a ClipboardClient for writing to the clipboard. The caller will own 596 // Create a ClipboardClient for writing to the clipboard. The caller will own
591 // the pointer to this. 597 // the pointer to this.
592 virtual webkit_glue::ClipboardClient* CreateClipboardClient() const = 0; 598 virtual webkit_glue::ClipboardClient* CreateClipboardClient() const = 0;
593 }; 599 };
594 600
595 } // namespace ppapi 601 } // namespace ppapi
596 } // namespace webkit 602 } // namespace webkit
597 603
598 #endif // WEBKIT_PLUGINS_PPAPI_PLUGIN_DELEGATE_H_ 604 #endif // WEBKIT_PLUGINS_PPAPI_PLUGIN_DELEGATE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698