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

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

Issue 7841012: Get chrome to link with USE_AURA (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 3 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
« no previous file with comments | « webkit/glue/webkit_glue.gypi ('k') | webkit/plugins/npapi/webplugin_delegate_impl_aura.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 456 matching lines...) Expand 10 before | Expand all | Expand 10 after
467 467
468 // Called by the message filter hook when the plugin enters a modal loop. 468 // Called by the message filter hook when the plugin enters a modal loop.
469 void OnModalLoopEntered(); 469 void OnModalLoopEntered();
470 470
471 // Returns true if the message passed in corresponds to a user gesture. 471 // Returns true if the message passed in corresponds to a user gesture.
472 static bool IsUserGesture(const WebKit::WebInputEvent& event); 472 static bool IsUserGesture(const WebKit::WebInputEvent& event);
473 473
474 // The url with which the plugin was instantiated. 474 // The url with which the plugin was instantiated.
475 std::string plugin_url_; 475 std::string plugin_url_;
476 476
477 #if defined(OS_WIN) 477 #if defined(OS_WIN) && !defined(USE_AURA)
478 // Indicates the end of a user gesture period. 478 // Indicates the end of a user gesture period.
479 void OnUserGestureEnd(); 479 void OnUserGestureEnd();
480 480
481 // Handle to the message filter hook 481 // Handle to the message filter hook
482 HHOOK handle_event_message_filter_hook_; 482 HHOOK handle_event_message_filter_hook_;
483 483
484 // Event which is set when the plugin enters a modal loop in the course 484 // Event which is set when the plugin enters a modal loop in the course
485 // of a NPP_HandleEvent call. 485 // of a NPP_HandleEvent call.
486 HANDLE handle_event_pump_messages_event_; 486 HANDLE handle_event_pump_messages_event_;
487 487
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
521 // True if NPP_New did not return an error. 521 // True if NPP_New did not return an error.
522 bool creation_succeeded_; 522 bool creation_succeeded_;
523 523
524 DISALLOW_COPY_AND_ASSIGN(WebPluginDelegateImpl); 524 DISALLOW_COPY_AND_ASSIGN(WebPluginDelegateImpl);
525 }; 525 };
526 526
527 } // namespace npapi 527 } // namespace npapi
528 } // namespace webkit 528 } // namespace webkit
529 529
530 #endif // WEBKIT_PLUGINS_NPAPI_WEBPLUGIN_DELEGATE_IMPL_H_ 530 #endif // WEBKIT_PLUGINS_NPAPI_WEBPLUGIN_DELEGATE_IMPL_H_
OLDNEW
« no previous file with comments | « webkit/glue/webkit_glue.gypi ('k') | webkit/plugins/npapi/webplugin_delegate_impl_aura.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698