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

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

Issue 5996003: Revert "Revert 69755 - Move the NPAPI files from webkit/glue/plugins to webkit/plugins/npapi" (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 10 years 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) 2006-2008 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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_GLUE_PLUGINS_TEST_PLUGIN_NPOBJECT_LIFETIME_TEST_H__ 5 #ifndef WEBKIT_PLUGINS_NPAPI_TEST_PLUGIN_NPOBJECT_LIFETIME_TEST_H_
6 #define WEBKIT_GLUE_PLUGINS_TEST_PLUGIN_NPOBJECT_LIFETIME_TEST_H__ 6 #define WEBKIT_PLUGINS_NPAPI_TEST_PLUGIN_NPOBJECT_LIFETIME_TEST_H_
7 7
8 #include "build/build_config.h" 8 #include "build/build_config.h"
9 #include "webkit/glue/plugins/test/plugin_test.h" 9 #include "webkit/plugins/npapi/test/plugin_test.h"
10 10
11 namespace NPAPIClient { 11 namespace NPAPIClient {
12 12
13 // The NPObjectLifeTime class tests the case where a plugin has an NPObject 13 // The NPObjectLifeTime class tests the case where a plugin has an NPObject
14 // which points to a different plugin instance on a different frame in the 14 // which points to a different plugin instance on a different frame in the
15 // page and whether refcounts on this npobject are valid when the source frame 15 // page and whether refcounts on this npobject are valid when the source frame
16 // is destroyed. 16 // is destroyed.
17 class NPObjectLifetimeTest : public PluginTest { 17 class NPObjectLifetimeTest : public PluginTest {
18 public: 18 public:
19 // Constructor. 19 // Constructor.
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
70 unsigned long elapsed_milli_seconds); 70 unsigned long elapsed_milli_seconds);
71 UINT_PTR timer_id_; 71 UINT_PTR timer_id_;
72 #endif 72 #endif
73 73
74 private: 74 private:
75 static NPObjectDeletePluginInNPN_Evaluate* g_npn_evaluate_test_instance_; 75 static NPObjectDeletePluginInNPN_Evaluate* g_npn_evaluate_test_instance_;
76 76
77 DISALLOW_IMPLICIT_CONSTRUCTORS(NPObjectDeletePluginInNPN_Evaluate); 77 DISALLOW_IMPLICIT_CONSTRUCTORS(NPObjectDeletePluginInNPN_Evaluate);
78 }; 78 };
79 79
80 } // namespace NPAPIClient 80 } // namespace NPAPIClient
81 81
82 #endif // WEBKIT_GLUE_PLUGINS_TEST_PLUGIN_NPOBJECT_LIFETIME_TEST_H__ 82 #endif // WEBKIT_PLUGINS_NPAPI_TEST_PLUGIN_NPOBJECT_LIFETIME_TEST_H_
OLDNEW
« no previous file with comments | « webkit/plugins/npapi/test/plugin_new_fails_test.cc ('k') | webkit/plugins/npapi/test/plugin_npobject_lifetime_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698