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

Side by Side Diff: webkit/plugins/npapi/webplugin_delegate_impl.h

Issue 7054068: Make sandboxed Flash work under UIPI (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 6 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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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_NPAPI_WEBPLUGIN_DELEGATE_IMPL_H_ 5 #ifndef WEBKIT_PLUGINS_NPAPI_WEBPLUGIN_DELEGATE_IMPL_H_
6 #define WEBKIT_PLUGINS_NPAPI_WEBPLUGIN_DELEGATE_IMPL_H_ 6 #define WEBKIT_PLUGINS_NPAPI_WEBPLUGIN_DELEGATE_IMPL_H_
7 7
8 #include <string> 8 #include <string>
9 #include <list> 9 #include <list>
10 10
(...skipping 461 matching lines...) Expand 10 before | Expand all | Expand 10 after
472 // Handle to the message filter hook 472 // Handle to the message filter hook
473 HHOOK handle_event_message_filter_hook_; 473 HHOOK handle_event_message_filter_hook_;
474 474
475 // Event which is set when the plugin enters a modal loop in the course 475 // Event which is set when the plugin enters a modal loop in the course
476 // of a NPP_HandleEvent call. 476 // of a NPP_HandleEvent call.
477 HANDLE handle_event_pump_messages_event_; 477 HANDLE handle_event_pump_messages_event_;
478 478
479 // This flag indicates whether we started tracking a user gesture message. 479 // This flag indicates whether we started tracking a user gesture message.
480 bool user_gesture_message_posted_; 480 bool user_gesture_message_posted_;
481 481
482 // Flag indicates this is the built-in Flash plugin.
483 bool is_builtin_flash_;
484
482 // Runnable Method Factory used to invoke the OnUserGestureEnd method 485 // Runnable Method Factory used to invoke the OnUserGestureEnd method
483 // asynchronously. 486 // asynchronously.
484 ScopedRunnableMethodFactory<WebPluginDelegateImpl> user_gesture_msg_factory_; 487 ScopedRunnableMethodFactory<WebPluginDelegateImpl> user_gesture_msg_factory_;
485 488
486 // Handle to the mouse hook installed for certain windowed plugins like 489 // Handle to the mouse hook installed for certain windowed plugins like
487 // flash. 490 // flash.
488 HHOOK mouse_hook_; 491 HHOOK mouse_hook_;
489 #endif 492 #endif
490 493
491 // Holds the depth of the HandleEvent callstack. 494 // Holds the depth of the HandleEvent callstack.
(...skipping 20 matching lines...) Expand all
512 // True if NPP_New did not return an error. 515 // True if NPP_New did not return an error.
513 bool creation_succeeded_; 516 bool creation_succeeded_;
514 517
515 DISALLOW_COPY_AND_ASSIGN(WebPluginDelegateImpl); 518 DISALLOW_COPY_AND_ASSIGN(WebPluginDelegateImpl);
516 }; 519 };
517 520
518 } // namespace npapi 521 } // namespace npapi
519 } // namespace webkit 522 } // namespace webkit
520 523
521 #endif // WEBKIT_PLUGINS_NPAPI_WEBPLUGIN_DELEGATE_IMPL_H_ 524 #endif // WEBKIT_PLUGINS_NPAPI_WEBPLUGIN_DELEGATE_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698