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

Side by Side Diff: webkit/plugins/npapi/test/plugin_windowless_test.h

Issue 10855141: Fix race condition with windowless plugin buffers. The problem, which is already fixed for Mac, is … (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) 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_TEST_PLUGIN_EXECUTE_SCRIPT_DELETE_TEST_H_ 5 #ifndef WEBKIT_PLUGINS_NPAPI_TEST_PLUGIN_EXECUTE_SCRIPT_DELETE_TEST_H_
6 #define WEBKIT_PLUGINS_NPAPI_TEST_PLUGIN_EXECUTE_SCRIPT_DELETE_TEST_H_ 6 #define WEBKIT_PLUGINS_NPAPI_TEST_PLUGIN_EXECUTE_SCRIPT_DELETE_TEST_H_
7 7
8 #include "webkit/plugins/npapi/test/plugin_test.h" 8 #include "webkit/plugins/npapi/test/plugin_test.h"
9 9
10 namespace NPAPIClient { 10 namespace NPAPIClient {
(...skipping 10 matching lines...) Expand all
21 21
22 // NPAPI HandleEvent handler 22 // NPAPI HandleEvent handler
23 virtual NPError New(uint16 mode, int16 argc, const char* argn[], 23 virtual NPError New(uint16 mode, int16 argc, const char* argn[],
24 const char* argv[], NPSavedData* saved) OVERRIDE; 24 const char* argv[], NPSavedData* saved) OVERRIDE;
25 virtual int16 HandleEvent(void* event) OVERRIDE; 25 virtual int16 HandleEvent(void* event) OVERRIDE;
26 26
27 protected: 27 protected:
28 NPError ExecuteScript(NPNetscapeFuncs* browser, NPP id, 28 NPError ExecuteScript(NPNetscapeFuncs* browser, NPP id,
29 const std::string& script, NPVariant* result); 29 const std::string& script, NPVariant* result);
30 void ExecuteScriptDeleteInPaint(NPNetscapeFuncs* browser); 30 void ExecuteScriptDeleteInPaint(NPNetscapeFuncs* browser);
31 void ExecuteScriptResizeInPaint(NPNetscapeFuncs* browser);
31 void MultipleInstanceSyncCalls(NPNetscapeFuncs* browser); 32 void MultipleInstanceSyncCalls(NPNetscapeFuncs* browser);
32 void ConvertPoint(NPNetscapeFuncs* browser); 33 void ConvertPoint(NPNetscapeFuncs* browser);
34
35 int paint_counter_;
33 }; 36 };
34 37
35 } // namespace NPAPIClient 38 } // namespace NPAPIClient
36 39
37 #endif // WEBKIT_PLUGINS_NPAPI_TEST_PLUGIN_EXECUTE_SCRIPT_DELETE_TEST_H_ 40 #endif // WEBKIT_PLUGINS_NPAPI_TEST_PLUGIN_EXECUTE_SCRIPT_DELETE_TEST_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698