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

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

Issue 10342013: Generate and connect a Pepper identifier for Chrome OS (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: stop using HashPassword as it has legacy behavior. Created 8 years, 7 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 241 matching lines...) Expand 10 before | Expand all | Expand 10 after
252 const webkit::ppapi::PepperFilePath& path) OVERRIDE; 252 const webkit::ppapi::PepperFilePath& path) OVERRIDE;
253 virtual base::PlatformFileError QueryFile( 253 virtual base::PlatformFileError QueryFile(
254 const webkit::ppapi::PepperFilePath& path, 254 const webkit::ppapi::PepperFilePath& path,
255 base::PlatformFileInfo* info) OVERRIDE; 255 base::PlatformFileInfo* info) OVERRIDE;
256 virtual base::PlatformFileError GetDirContents( 256 virtual base::PlatformFileError GetDirContents(
257 const webkit::ppapi::PepperFilePath& path, 257 const webkit::ppapi::PepperFilePath& path,
258 webkit::ppapi::DirContents* contents) OVERRIDE; 258 webkit::ppapi::DirContents* contents) OVERRIDE;
259 virtual void SyncGetFileSystemPlatformPath( 259 virtual void SyncGetFileSystemPlatformPath(
260 const GURL& url, 260 const GURL& url,
261 FilePath* platform_path) OVERRIDE; 261 FilePath* platform_path) OVERRIDE;
262 virtual void GetDeviceID(std::string* id) OVERRIDE;
brettw 2012/05/03 20:34:21 I don't understand why we have two of these functi
Will Drewry 2012/05/03 21:58:49 Done. Me either.
262 virtual scoped_refptr<base::MessageLoopProxy> 263 virtual scoped_refptr<base::MessageLoopProxy>
263 GetFileThreadMessageLoopProxy() OVERRIDE; 264 GetFileThreadMessageLoopProxy() OVERRIDE;
264 265
265 virtual uint32 TCPSocketCreate() OVERRIDE; 266 virtual uint32 TCPSocketCreate() OVERRIDE;
266 virtual void TCPSocketConnect( 267 virtual void TCPSocketConnect(
267 webkit::ppapi::PPB_TCPSocket_Private_Impl* socket, 268 webkit::ppapi::PPB_TCPSocket_Private_Impl* socket,
268 uint32 socket_id, 269 uint32 socket_id,
269 const std::string& host, 270 const std::string& host,
270 uint16_t port) OVERRIDE; 271 uint16_t port) OVERRIDE;
271 virtual void TCPSocketConnectWithNetAddress( 272 virtual void TCPSocketConnectWithNetAddress(
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after
360 const WebKit::WebCursorInfo& cursor) OVERRIDE; 361 const WebKit::WebCursorInfo& cursor) OVERRIDE;
361 virtual void DidReceiveMouseEvent( 362 virtual void DidReceiveMouseEvent(
362 webkit::ppapi::PluginInstance* instance) OVERRIDE; 363 webkit::ppapi::PluginInstance* instance) OVERRIDE;
363 virtual bool IsInFullscreenMode() OVERRIDE; 364 virtual bool IsInFullscreenMode() OVERRIDE;
364 virtual void SampleGamepads(WebKit::WebGamepads* data) OVERRIDE; 365 virtual void SampleGamepads(WebKit::WebGamepads* data) OVERRIDE;
365 virtual bool IsPageVisible() const OVERRIDE; 366 virtual bool IsPageVisible() const OVERRIDE;
366 virtual int EnumerateDevices( 367 virtual int EnumerateDevices(
367 PP_DeviceType_Dev type, 368 PP_DeviceType_Dev type,
368 const EnumerateDevicesCallback& callback) OVERRIDE; 369 const EnumerateDevicesCallback& callback) OVERRIDE;
369 virtual webkit_glue::ClipboardClient* CreateClipboardClient() const OVERRIDE; 370 virtual webkit_glue::ClipboardClient* CreateClipboardClient() const OVERRIDE;
371 virtual std::string GetDeviceID() OVERRIDE;
370 372
371 // RenderViewObserver implementation. 373 // RenderViewObserver implementation.
372 virtual bool OnMessageReceived(const IPC::Message& message) OVERRIDE; 374 virtual bool OnMessageReceived(const IPC::Message& message) OVERRIDE;
373 virtual void OnDestruct() OVERRIDE; 375 virtual void OnDestruct() OVERRIDE;
374 376
375 void OnTCPSocketConnectACK(uint32 plugin_dispatcher_id, 377 void OnTCPSocketConnectACK(uint32 plugin_dispatcher_id,
376 uint32 socket_id, 378 uint32 socket_id,
377 bool succeeded, 379 bool succeeded,
378 const PP_NetAddress_Private& local_addr, 380 const PP_NetAddress_Private& local_addr,
379 const PP_NetAddress_Private& remote_addr); 381 const PP_NetAddress_Private& remote_addr);
(...skipping 114 matching lines...) Expand 10 before | Expand all | Expand 10 after
494 496
495 scoped_ptr<PepperDeviceEnumerationEventHandler> 497 scoped_ptr<PepperDeviceEnumerationEventHandler>
496 device_enumeration_event_handler_; 498 device_enumeration_event_handler_;
497 499
498 DISALLOW_COPY_AND_ASSIGN(PepperPluginDelegateImpl); 500 DISALLOW_COPY_AND_ASSIGN(PepperPluginDelegateImpl);
499 }; 501 };
500 502
501 } // namespace content 503 } // namespace content
502 504
503 #endif // CONTENT_RENDERER_PEPPER_PEPPER_PLUGIN_DELEGATE_IMPL_H_ 505 #endif // CONTENT_RENDERER_PEPPER_PEPPER_PLUGIN_DELEGATE_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698