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

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

Issue 10837064: Corresponding change in Pepper since EnumerateDevices contract is changed. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 8 years, 4 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 7
8 #include <map> 8 #include <map>
9 #include <set> 9 #include <set>
10 #include <string> 10 #include <string>
(...skipping 359 matching lines...) Expand 10 before | Expand all | Expand 10 after
370 virtual void DidChangeCursor(webkit::ppapi::PluginInstance* instance, 370 virtual void DidChangeCursor(webkit::ppapi::PluginInstance* instance,
371 const WebKit::WebCursorInfo& cursor) OVERRIDE; 371 const WebKit::WebCursorInfo& cursor) OVERRIDE;
372 virtual void DidReceiveMouseEvent( 372 virtual void DidReceiveMouseEvent(
373 webkit::ppapi::PluginInstance* instance) OVERRIDE; 373 webkit::ppapi::PluginInstance* instance) OVERRIDE;
374 virtual bool IsInFullscreenMode() OVERRIDE; 374 virtual bool IsInFullscreenMode() OVERRIDE;
375 virtual void SampleGamepads(WebKit::WebGamepads* data) OVERRIDE; 375 virtual void SampleGamepads(WebKit::WebGamepads* data) OVERRIDE;
376 virtual bool IsPageVisible() const OVERRIDE; 376 virtual bool IsPageVisible() const OVERRIDE;
377 virtual int EnumerateDevices( 377 virtual int EnumerateDevices(
378 PP_DeviceType_Dev type, 378 PP_DeviceType_Dev type,
379 const EnumerateDevicesCallback& callback) OVERRIDE; 379 const EnumerateDevicesCallback& callback) OVERRIDE;
380 virtual int StopEnumerateDevices(int request_id) OVERRIDE;
380 virtual webkit_glue::ClipboardClient* CreateClipboardClient() const OVERRIDE; 381 virtual webkit_glue::ClipboardClient* CreateClipboardClient() const OVERRIDE;
381 virtual std::string GetDeviceID() OVERRIDE; 382 virtual std::string GetDeviceID() OVERRIDE;
382 383
383 // RenderViewObserver implementation. 384 // RenderViewObserver implementation.
384 virtual bool OnMessageReceived(const IPC::Message& message) OVERRIDE; 385 virtual bool OnMessageReceived(const IPC::Message& message) OVERRIDE;
385 virtual void OnDestruct() OVERRIDE; 386 virtual void OnDestruct() OVERRIDE;
386 387
387 void OnTCPSocketConnectACK(uint32 plugin_dispatcher_id, 388 void OnTCPSocketConnectACK(uint32 plugin_dispatcher_id,
388 uint32 socket_id, 389 uint32 socket_id,
389 bool succeeded, 390 bool succeeded,
(...skipping 119 matching lines...) Expand 10 before | Expand all | Expand 10 after
509 510
510 scoped_ptr<PepperDeviceEnumerationEventHandler> 511 scoped_ptr<PepperDeviceEnumerationEventHandler>
511 device_enumeration_event_handler_; 512 device_enumeration_event_handler_;
512 513
513 DISALLOW_COPY_AND_ASSIGN(PepperPluginDelegateImpl); 514 DISALLOW_COPY_AND_ASSIGN(PepperPluginDelegateImpl);
514 }; 515 };
515 516
516 } // namespace content 517 } // namespace content
517 518
518 #endif // CONTENT_RENDERER_PEPPER_PEPPER_PLUGIN_DELEGATE_IMPL_H_ 519 #endif // CONTENT_RENDERER_PEPPER_PEPPER_PLUGIN_DELEGATE_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698