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

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

Issue 633303002: Replace FINAL and OVERRIDE with their C++11 counterparts in content/renderer (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 2 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
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_INSTANCE_IMPL_H_ 5 #ifndef CONTENT_RENDERER_PEPPER_PEPPER_PLUGIN_INSTANCE_IMPL_H_
6 #define CONTENT_RENDERER_PEPPER_PEPPER_PLUGIN_INSTANCE_IMPL_H_ 6 #define CONTENT_RENDERER_PEPPER_PEPPER_PLUGIN_INSTANCE_IMPL_H_
7 7
8 #include <list> 8 #include <list>
9 #include <set> 9 #include <set>
10 #include <string> 10 #include <string>
(...skipping 339 matching lines...) Expand 10 before | Expand all | Expand 10 after
350 blink::WebURLLoaderClient* document_loader() const { 350 blink::WebURLLoaderClient* document_loader() const {
351 return document_loader_; 351 return document_loader_;
352 } 352 }
353 void set_document_loader(blink::WebURLLoaderClient* loader) { 353 void set_document_loader(blink::WebURLLoaderClient* loader) {
354 document_loader_ = loader; 354 document_loader_ = loader;
355 } 355 }
356 356
357 ContentDecryptorDelegate* GetContentDecryptorDelegate(); 357 ContentDecryptorDelegate* GetContentDecryptorDelegate();
358 358
359 // PluginInstance implementation 359 // PluginInstance implementation
360 virtual RenderView* GetRenderView() OVERRIDE; 360 virtual RenderView* GetRenderView() override;
361 virtual blink::WebPluginContainer* GetContainer() OVERRIDE; 361 virtual blink::WebPluginContainer* GetContainer() override;
362 virtual v8::Isolate* GetIsolate() const OVERRIDE; 362 virtual v8::Isolate* GetIsolate() const override;
363 virtual ppapi::VarTracker* GetVarTracker() OVERRIDE; 363 virtual ppapi::VarTracker* GetVarTracker() override;
364 virtual const GURL& GetPluginURL() OVERRIDE; 364 virtual const GURL& GetPluginURL() override;
365 virtual base::FilePath GetModulePath() OVERRIDE; 365 virtual base::FilePath GetModulePath() override;
366 virtual PP_Resource CreateImage(gfx::ImageSkia* source_image, 366 virtual PP_Resource CreateImage(gfx::ImageSkia* source_image,
367 float scale) OVERRIDE; 367 float scale) override;
368 virtual PP_ExternalPluginResult SwitchToOutOfProcessProxy( 368 virtual PP_ExternalPluginResult SwitchToOutOfProcessProxy(
369 const base::FilePath& file_path, 369 const base::FilePath& file_path,
370 ppapi::PpapiPermissions permissions, 370 ppapi::PpapiPermissions permissions,
371 const IPC::ChannelHandle& channel_handle, 371 const IPC::ChannelHandle& channel_handle,
372 base::ProcessId plugin_pid, 372 base::ProcessId plugin_pid,
373 int plugin_child_id) OVERRIDE; 373 int plugin_child_id) override;
374 virtual void SetAlwaysOnTop(bool on_top) OVERRIDE; 374 virtual void SetAlwaysOnTop(bool on_top) override;
375 virtual bool IsFullPagePlugin() OVERRIDE; 375 virtual bool IsFullPagePlugin() override;
376 virtual bool FlashSetFullscreen(bool fullscreen, bool delay_report) OVERRIDE; 376 virtual bool FlashSetFullscreen(bool fullscreen, bool delay_report) override;
377 virtual bool IsRectTopmost(const gfx::Rect& rect) OVERRIDE; 377 virtual bool IsRectTopmost(const gfx::Rect& rect) override;
378 virtual int32_t Navigate(const ppapi::URLRequestInfoData& request, 378 virtual int32_t Navigate(const ppapi::URLRequestInfoData& request,
379 const char* target, 379 const char* target,
380 bool from_user_action) OVERRIDE; 380 bool from_user_action) override;
381 virtual int MakePendingFileRefRendererHost(const base::FilePath& path) 381 virtual int MakePendingFileRefRendererHost(const base::FilePath& path)
382 OVERRIDE; 382 override;
383 virtual void SetEmbedProperty(PP_Var key, PP_Var value) OVERRIDE; 383 virtual void SetEmbedProperty(PP_Var key, PP_Var value) override;
384 virtual void SetSelectedText(const base::string16& selected_text) OVERRIDE; 384 virtual void SetSelectedText(const base::string16& selected_text) override;
385 virtual void SetLinkUnderCursor(const std::string& url) OVERRIDE; 385 virtual void SetLinkUnderCursor(const std::string& url) override;
386 virtual void SetTextInputType(ui::TextInputType type) OVERRIDE; 386 virtual void SetTextInputType(ui::TextInputType type) override;
387 virtual void PostMessageToJavaScript(PP_Var message) OVERRIDE; 387 virtual void PostMessageToJavaScript(PP_Var message) override;
388 388
389 // PPB_Instance_API implementation. 389 // PPB_Instance_API implementation.
390 virtual PP_Bool BindGraphics(PP_Instance instance, 390 virtual PP_Bool BindGraphics(PP_Instance instance,
391 PP_Resource device) OVERRIDE; 391 PP_Resource device) override;
392 virtual PP_Bool IsFullFrame(PP_Instance instance) OVERRIDE; 392 virtual PP_Bool IsFullFrame(PP_Instance instance) override;
393 virtual const ppapi::ViewData* GetViewData(PP_Instance instance) OVERRIDE; 393 virtual const ppapi::ViewData* GetViewData(PP_Instance instance) override;
394 virtual PP_Bool FlashIsFullscreen(PP_Instance instance) OVERRIDE; 394 virtual PP_Bool FlashIsFullscreen(PP_Instance instance) override;
395 virtual PP_Var GetWindowObject(PP_Instance instance) OVERRIDE; 395 virtual PP_Var GetWindowObject(PP_Instance instance) override;
396 virtual PP_Var GetOwnerElementObject(PP_Instance instance) OVERRIDE; 396 virtual PP_Var GetOwnerElementObject(PP_Instance instance) override;
397 virtual PP_Var ExecuteScript(PP_Instance instance, 397 virtual PP_Var ExecuteScript(PP_Instance instance,
398 PP_Var script, 398 PP_Var script,
399 PP_Var* exception) OVERRIDE; 399 PP_Var* exception) override;
400 virtual uint32_t GetAudioHardwareOutputSampleRate(PP_Instance instance) 400 virtual uint32_t GetAudioHardwareOutputSampleRate(PP_Instance instance)
401 OVERRIDE; 401 override;
402 virtual uint32_t GetAudioHardwareOutputBufferSize(PP_Instance instance) 402 virtual uint32_t GetAudioHardwareOutputBufferSize(PP_Instance instance)
403 OVERRIDE; 403 override;
404 virtual PP_Var GetDefaultCharSet(PP_Instance instance) OVERRIDE; 404 virtual PP_Var GetDefaultCharSet(PP_Instance instance) override;
405 virtual void SetPluginToHandleFindRequests(PP_Instance) OVERRIDE; 405 virtual void SetPluginToHandleFindRequests(PP_Instance) override;
406 virtual void NumberOfFindResultsChanged(PP_Instance instance, 406 virtual void NumberOfFindResultsChanged(PP_Instance instance,
407 int32_t total, 407 int32_t total,
408 PP_Bool final_result) OVERRIDE; 408 PP_Bool final_result) override;
409 virtual void SelectedFindResultChanged(PP_Instance instance, 409 virtual void SelectedFindResultChanged(PP_Instance instance,
410 int32_t index) OVERRIDE; 410 int32_t index) override;
411 virtual void SetTickmarks(PP_Instance instance, 411 virtual void SetTickmarks(PP_Instance instance,
412 const PP_Rect* tickmarks, 412 const PP_Rect* tickmarks,
413 uint32_t count) OVERRIDE; 413 uint32_t count) override;
414 virtual PP_Bool IsFullscreen(PP_Instance instance) OVERRIDE; 414 virtual PP_Bool IsFullscreen(PP_Instance instance) override;
415 virtual PP_Bool SetFullscreen(PP_Instance instance, 415 virtual PP_Bool SetFullscreen(PP_Instance instance,
416 PP_Bool fullscreen) OVERRIDE; 416 PP_Bool fullscreen) override;
417 virtual PP_Bool GetScreenSize(PP_Instance instance, PP_Size* size) OVERRIDE; 417 virtual PP_Bool GetScreenSize(PP_Instance instance, PP_Size* size) override;
418 virtual ppapi::Resource* GetSingletonResource(PP_Instance instance, 418 virtual ppapi::Resource* GetSingletonResource(PP_Instance instance,
419 ppapi::SingletonResourceID id) 419 ppapi::SingletonResourceID id)
420 OVERRIDE; 420 override;
421 virtual int32_t RequestInputEvents(PP_Instance instance, 421 virtual int32_t RequestInputEvents(PP_Instance instance,
422 uint32_t event_classes) OVERRIDE; 422 uint32_t event_classes) override;
423 virtual int32_t RequestFilteringInputEvents(PP_Instance instance, 423 virtual int32_t RequestFilteringInputEvents(PP_Instance instance,
424 uint32_t event_classes) OVERRIDE; 424 uint32_t event_classes) override;
425 virtual void ClearInputEventRequest(PP_Instance instance, 425 virtual void ClearInputEventRequest(PP_Instance instance,
426 uint32_t event_classes) OVERRIDE; 426 uint32_t event_classes) override;
427 virtual void StartTrackingLatency(PP_Instance instance) OVERRIDE; 427 virtual void StartTrackingLatency(PP_Instance instance) override;
428 virtual void ZoomChanged(PP_Instance instance, double factor) OVERRIDE; 428 virtual void ZoomChanged(PP_Instance instance, double factor) override;
429 virtual void ZoomLimitsChanged(PP_Instance instance, 429 virtual void ZoomLimitsChanged(PP_Instance instance,
430 double minimum_factor, 430 double minimum_factor,
431 double maximum_factor) OVERRIDE; 431 double maximum_factor) override;
432 virtual void PostMessage(PP_Instance instance, PP_Var message) OVERRIDE; 432 virtual void PostMessage(PP_Instance instance, PP_Var message) override;
433 virtual int32_t RegisterMessageHandler(PP_Instance instance, 433 virtual int32_t RegisterMessageHandler(PP_Instance instance,
434 void* user_data, 434 void* user_data,
435 const PPP_MessageHandler_0_2* handler, 435 const PPP_MessageHandler_0_2* handler,
436 PP_Resource message_loop) OVERRIDE; 436 PP_Resource message_loop) override;
437 virtual int32_t RegisterMessageHandler_1_1_Deprecated( 437 virtual int32_t RegisterMessageHandler_1_1_Deprecated(
438 PP_Instance instance, 438 PP_Instance instance,
439 void* user_data, 439 void* user_data,
440 const PPP_MessageHandler_0_1_Deprecated* handler, 440 const PPP_MessageHandler_0_1_Deprecated* handler,
441 PP_Resource message_loop) OVERRIDE; 441 PP_Resource message_loop) override;
442 virtual void UnregisterMessageHandler(PP_Instance instance) OVERRIDE; 442 virtual void UnregisterMessageHandler(PP_Instance instance) override;
443 virtual PP_Bool SetCursor(PP_Instance instance, 443 virtual PP_Bool SetCursor(PP_Instance instance,
444 PP_MouseCursor_Type type, 444 PP_MouseCursor_Type type,
445 PP_Resource image, 445 PP_Resource image,
446 const PP_Point* hot_spot) OVERRIDE; 446 const PP_Point* hot_spot) override;
447 virtual int32_t LockMouse(PP_Instance instance, 447 virtual int32_t LockMouse(PP_Instance instance,
448 scoped_refptr<ppapi::TrackedCallback> callback) 448 scoped_refptr<ppapi::TrackedCallback> callback)
449 OVERRIDE; 449 override;
450 virtual void UnlockMouse(PP_Instance instance) OVERRIDE; 450 virtual void UnlockMouse(PP_Instance instance) override;
451 virtual void SetTextInputType(PP_Instance instance, 451 virtual void SetTextInputType(PP_Instance instance,
452 PP_TextInput_Type type) OVERRIDE; 452 PP_TextInput_Type type) override;
453 virtual void UpdateCaretPosition(PP_Instance instance, 453 virtual void UpdateCaretPosition(PP_Instance instance,
454 const PP_Rect& caret, 454 const PP_Rect& caret,
455 const PP_Rect& bounding_box) OVERRIDE; 455 const PP_Rect& bounding_box) override;
456 virtual void CancelCompositionText(PP_Instance instance) OVERRIDE; 456 virtual void CancelCompositionText(PP_Instance instance) override;
457 virtual void SelectionChanged(PP_Instance instance) OVERRIDE; 457 virtual void SelectionChanged(PP_Instance instance) override;
458 virtual void UpdateSurroundingText(PP_Instance instance, 458 virtual void UpdateSurroundingText(PP_Instance instance,
459 const char* text, 459 const char* text,
460 uint32_t caret, 460 uint32_t caret,
461 uint32_t anchor) OVERRIDE; 461 uint32_t anchor) override;
462 virtual PP_Var ResolveRelativeToDocument(PP_Instance instance, 462 virtual PP_Var ResolveRelativeToDocument(PP_Instance instance,
463 PP_Var relative, 463 PP_Var relative,
464 PP_URLComponents_Dev* components) 464 PP_URLComponents_Dev* components)
465 OVERRIDE; 465 override;
466 virtual PP_Bool DocumentCanRequest(PP_Instance instance, PP_Var url) OVERRIDE; 466 virtual PP_Bool DocumentCanRequest(PP_Instance instance, PP_Var url) override;
467 virtual PP_Bool DocumentCanAccessDocument(PP_Instance instance, 467 virtual PP_Bool DocumentCanAccessDocument(PP_Instance instance,
468 PP_Instance target) OVERRIDE; 468 PP_Instance target) override;
469 virtual PP_Var GetDocumentURL(PP_Instance instance, 469 virtual PP_Var GetDocumentURL(PP_Instance instance,
470 PP_URLComponents_Dev* components) OVERRIDE; 470 PP_URLComponents_Dev* components) override;
471 virtual PP_Var GetPluginInstanceURL(PP_Instance instance, 471 virtual PP_Var GetPluginInstanceURL(PP_Instance instance,
472 PP_URLComponents_Dev* components) 472 PP_URLComponents_Dev* components)
473 OVERRIDE; 473 override;
474 virtual PP_Var GetPluginReferrerURL(PP_Instance instance, 474 virtual PP_Var GetPluginReferrerURL(PP_Instance instance,
475 PP_URLComponents_Dev* components) 475 PP_URLComponents_Dev* components)
476 OVERRIDE; 476 override;
477 477
478 // PPB_ContentDecryptor_Private implementation. 478 // PPB_ContentDecryptor_Private implementation.
479 virtual void PromiseResolved(PP_Instance instance, 479 virtual void PromiseResolved(PP_Instance instance,
480 uint32 promise_id) OVERRIDE; 480 uint32 promise_id) override;
481 virtual void PromiseResolvedWithSession(PP_Instance instance, 481 virtual void PromiseResolvedWithSession(PP_Instance instance,
482 uint32 promise_id, 482 uint32 promise_id,
483 PP_Var web_session_id_var) OVERRIDE; 483 PP_Var web_session_id_var) override;
484 virtual void PromiseResolvedWithKeyIds(PP_Instance instance, 484 virtual void PromiseResolvedWithKeyIds(PP_Instance instance,
485 uint32 promise_id, 485 uint32 promise_id,
486 PP_Var key_ids_var) OVERRIDE; 486 PP_Var key_ids_var) override;
487 virtual void PromiseRejected(PP_Instance instance, 487 virtual void PromiseRejected(PP_Instance instance,
488 uint32 promise_id, 488 uint32 promise_id,
489 PP_CdmExceptionCode exception_code, 489 PP_CdmExceptionCode exception_code,
490 uint32 system_code, 490 uint32 system_code,
491 PP_Var error_description_var) OVERRIDE; 491 PP_Var error_description_var) override;
492 virtual void SessionMessage(PP_Instance instance, 492 virtual void SessionMessage(PP_Instance instance,
493 PP_Var web_session_id_var, 493 PP_Var web_session_id_var,
494 PP_Var message_var, 494 PP_Var message_var,
495 PP_Var destination_url_var) OVERRIDE; 495 PP_Var destination_url_var) override;
496 virtual void SessionKeysChange(PP_Instance instance, 496 virtual void SessionKeysChange(PP_Instance instance,
497 PP_Var web_session_id_var, 497 PP_Var web_session_id_var,
498 PP_Bool has_additional_usable_key) OVERRIDE; 498 PP_Bool has_additional_usable_key) override;
499 virtual void SessionExpirationChange(PP_Instance instance, 499 virtual void SessionExpirationChange(PP_Instance instance,
500 PP_Var web_session_id_var, 500 PP_Var web_session_id_var,
501 PP_Time new_expiry_time) OVERRIDE; 501 PP_Time new_expiry_time) override;
502 virtual void SessionReady(PP_Instance instance, 502 virtual void SessionReady(PP_Instance instance,
503 PP_Var web_session_id_var) OVERRIDE; 503 PP_Var web_session_id_var) override;
504 virtual void SessionClosed(PP_Instance instance, 504 virtual void SessionClosed(PP_Instance instance,
505 PP_Var web_session_id_var) OVERRIDE; 505 PP_Var web_session_id_var) override;
506 virtual void SessionError(PP_Instance instance, 506 virtual void SessionError(PP_Instance instance,
507 PP_Var web_session_id_var, 507 PP_Var web_session_id_var,
508 PP_CdmExceptionCode exception_code, 508 PP_CdmExceptionCode exception_code,
509 uint32 system_code, 509 uint32 system_code,
510 PP_Var error_description_var) OVERRIDE; 510 PP_Var error_description_var) override;
511 virtual void DeliverBlock(PP_Instance instance, 511 virtual void DeliverBlock(PP_Instance instance,
512 PP_Resource decrypted_block, 512 PP_Resource decrypted_block,
513 const PP_DecryptedBlockInfo* block_info) OVERRIDE; 513 const PP_DecryptedBlockInfo* block_info) override;
514 virtual void DecoderInitializeDone(PP_Instance instance, 514 virtual void DecoderInitializeDone(PP_Instance instance,
515 PP_DecryptorStreamType decoder_type, 515 PP_DecryptorStreamType decoder_type,
516 uint32_t request_id, 516 uint32_t request_id,
517 PP_Bool success) OVERRIDE; 517 PP_Bool success) override;
518 virtual void DecoderDeinitializeDone(PP_Instance instance, 518 virtual void DecoderDeinitializeDone(PP_Instance instance,
519 PP_DecryptorStreamType decoder_type, 519 PP_DecryptorStreamType decoder_type,
520 uint32_t request_id) OVERRIDE; 520 uint32_t request_id) override;
521 virtual void DecoderResetDone(PP_Instance instance, 521 virtual void DecoderResetDone(PP_Instance instance,
522 PP_DecryptorStreamType decoder_type, 522 PP_DecryptorStreamType decoder_type,
523 uint32_t request_id) OVERRIDE; 523 uint32_t request_id) override;
524 virtual void DeliverFrame(PP_Instance instance, 524 virtual void DeliverFrame(PP_Instance instance,
525 PP_Resource decrypted_frame, 525 PP_Resource decrypted_frame,
526 const PP_DecryptedFrameInfo* frame_info) OVERRIDE; 526 const PP_DecryptedFrameInfo* frame_info) override;
527 virtual void DeliverSamples(PP_Instance instance, 527 virtual void DeliverSamples(PP_Instance instance,
528 PP_Resource audio_frames, 528 PP_Resource audio_frames,
529 const PP_DecryptedSampleInfo* sample_info) 529 const PP_DecryptedSampleInfo* sample_info)
530 OVERRIDE; 530 override;
531 531
532 // Reset this instance as proxied. Assigns the instance a new module, resets 532 // Reset this instance as proxied. Assigns the instance a new module, resets
533 // cached interfaces to point to the out-of-process proxy and re-sends 533 // cached interfaces to point to the out-of-process proxy and re-sends
534 // DidCreate, DidChangeView, and HandleDocumentLoad (if necessary). 534 // DidCreate, DidChangeView, and HandleDocumentLoad (if necessary).
535 // This should be used only when switching an in-process instance to an 535 // This should be used only when switching an in-process instance to an
536 // external out-of-process instance. 536 // external out-of-process instance.
537 PP_ExternalPluginResult ResetAsProxied(scoped_refptr<PluginModule> module); 537 PP_ExternalPluginResult ResetAsProxied(scoped_refptr<PluginModule> module);
538 538
539 // Checks whether this is a valid instance of the given module. After calling 539 // Checks whether this is a valid instance of the given module. After calling
540 // ResetAsProxied above, a NaCl plugin instance's module changes, so external 540 // ResetAsProxied above, a NaCl plugin instance's module changes, so external
541 // hosts won't recognize it as a valid instance of the original module. This 541 // hosts won't recognize it as a valid instance of the original module. This
542 // method fixes that be checking that either module_ or original_module_ match 542 // method fixes that be checking that either module_ or original_module_ match
543 // the given module. 543 // the given module.
544 bool IsValidInstanceOf(PluginModule* module); 544 bool IsValidInstanceOf(PluginModule* module);
545 545
546 // cc::TextureLayerClient implementation. 546 // cc::TextureLayerClient implementation.
547 virtual bool PrepareTextureMailbox( 547 virtual bool PrepareTextureMailbox(
548 cc::TextureMailbox* mailbox, 548 cc::TextureMailbox* mailbox,
549 scoped_ptr<cc::SingleReleaseCallback>* release_callback, 549 scoped_ptr<cc::SingleReleaseCallback>* release_callback,
550 bool use_shared_memory) OVERRIDE; 550 bool use_shared_memory) override;
551 551
552 // RenderFrameObserver 552 // RenderFrameObserver
553 virtual void OnDestruct() OVERRIDE; 553 virtual void OnDestruct() override;
554 554
555 void AddLatencyInfo(const std::vector<ui::LatencyInfo>& latency_info); 555 void AddLatencyInfo(const std::vector<ui::LatencyInfo>& latency_info);
556 556
557 private: 557 private:
558 friend class base::RefCounted<PepperPluginInstanceImpl>; 558 friend class base::RefCounted<PepperPluginInstanceImpl>;
559 friend class PpapiPluginInstanceTest; 559 friend class PpapiPluginInstanceTest;
560 friend class PpapiUnittest; 560 friend class PpapiUnittest;
561 561
562 // Delete should be called by the WebPlugin before this destructor. 562 // Delete should be called by the WebPlugin before this destructor.
563 virtual ~PepperPluginInstanceImpl(); 563 virtual ~PepperPluginInstanceImpl();
(...skipping 24 matching lines...) Expand all
588 scoped_ptr<blink::WebURLError> error_; 588 scoped_ptr<blink::WebURLError> error_;
589 }; 589 };
590 590
591 // Implements PPB_Gamepad_API. This is just to avoid having an excessive 591 // Implements PPB_Gamepad_API. This is just to avoid having an excessive
592 // number of interfaces implemented by PepperPluginInstanceImpl. 592 // number of interfaces implemented by PepperPluginInstanceImpl.
593 class GamepadImpl : public ppapi::thunk::PPB_Gamepad_API, 593 class GamepadImpl : public ppapi::thunk::PPB_Gamepad_API,
594 public ppapi::Resource { 594 public ppapi::Resource {
595 public: 595 public:
596 GamepadImpl(); 596 GamepadImpl();
597 // Resource implementation. 597 // Resource implementation.
598 virtual ppapi::thunk::PPB_Gamepad_API* AsPPB_Gamepad_API() OVERRIDE; 598 virtual ppapi::thunk::PPB_Gamepad_API* AsPPB_Gamepad_API() override;
599 virtual void Sample(PP_Instance instance, 599 virtual void Sample(PP_Instance instance,
600 PP_GamepadsSampleData* data) OVERRIDE; 600 PP_GamepadsSampleData* data) override;
601 601
602 private: 602 private:
603 virtual ~GamepadImpl(); 603 virtual ~GamepadImpl();
604 }; 604 };
605 605
606 // See the static Create functions above for creating PepperPluginInstanceImpl 606 // See the static Create functions above for creating PepperPluginInstanceImpl
607 // objects. This constructor is private so that we can hide the 607 // objects. This constructor is private so that we can hide the
608 // PPP_Instance_Combined details while still having 1 constructor to maintain 608 // PPP_Instance_Combined details while still having 1 constructor to maintain
609 // for member initialization. 609 // for member initialization.
610 PepperPluginInstanceImpl(RenderFrameImpl* render_frame, 610 PepperPluginInstanceImpl(RenderFrameImpl* render_frame,
(...skipping 329 matching lines...) Expand 10 before | Expand all | Expand 10 after
940 // view change events. 940 // view change events.
941 base::WeakPtrFactory<PepperPluginInstanceImpl> view_change_weak_ptr_factory_; 941 base::WeakPtrFactory<PepperPluginInstanceImpl> view_change_weak_ptr_factory_;
942 base::WeakPtrFactory<PepperPluginInstanceImpl> weak_factory_; 942 base::WeakPtrFactory<PepperPluginInstanceImpl> weak_factory_;
943 943
944 DISALLOW_COPY_AND_ASSIGN(PepperPluginInstanceImpl); 944 DISALLOW_COPY_AND_ASSIGN(PepperPluginInstanceImpl);
945 }; 945 };
946 946
947 } // namespace content 947 } // namespace content
948 948
949 #endif // CONTENT_RENDERER_PEPPER_PEPPER_PLUGIN_INSTANCE_IMPL_H_ 949 #endif // CONTENT_RENDERER_PEPPER_PEPPER_PLUGIN_INSTANCE_IMPL_H_
OLDNEW
« no previous file with comments | « content/renderer/pepper/pepper_platform_audio_output.h ('k') | content/renderer/pepper/pepper_plugin_instance_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698