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

Side by Side Diff: tests/fake_browser_ppapi/fake_window.h

Issue 7292002: Remove plugin connection to PPAPI scriptable objects (var deprecated). Also (Closed) Base URL: svn://svn.chromium.org/native_client/trunk/src/native_client/
Patch Set: '' Created 9 years, 5 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 | « tests/fake_browser_ppapi/fake_url_util.cc ('k') | tests/fake_browser_ppapi/fake_window.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 /*
2 * Copyright 2010 The Native Client Authors. All rights reserved.
3 * Use of this source code is governed by a BSD-style license that can
4 * be found in the LICENSE file.
5 */
6
7 #ifndef NATIVE_CLIENT_TESTS_FAKE_BROWSER_PPAPI_FAKE_WINDOW_H_
8 #define NATIVE_CLIENT_TESTS_FAKE_BROWSER_PPAPI_FAKE_WINDOW_H_
9
10 #include "native_client/src/include/nacl_macros.h"
11 #include "native_client/src/include/portability.h"
12 #include "native_client/tests/fake_browser_ppapi/fake_host.h"
13 #include "native_client/tests/fake_browser_ppapi/fake_object.h"
14 #include "ppapi/c/pp_instance.h"
15 #include "ppapi/c/pp_module.h"
16 #include "ppapi/c/pp_var.h"
17
18 namespace fake_browser_ppapi {
19
20 // Implements a fake window DOM object.
21 class FakeWindow {
22 public:
23 FakeWindow(PP_Module browser_module, PP_Instance browser_instance,
24 Host* host, const char* page_url);
25 ~FakeWindow();
26 PP_Var FakeWindowObject();
27
28 private:
29 PP_Var window_var_;
30 Host* host_;
31 NACL_DISALLOW_COPY_AND_ASSIGN(FakeWindow);
32 };
33
34 } // namespace fake_browser_ppapi
35
36 #endif // NATIVE_CLIENT_TESTS_FAKE_BROWSER_PPAPI_FAKE_WINDOW_H_
OLDNEW
« no previous file with comments | « tests/fake_browser_ppapi/fake_url_util.cc ('k') | tests/fake_browser_ppapi/fake_window.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698