OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2011 Google Inc. All rights reserved. | 2 * Copyright (C) 2011 Google Inc. All rights reserved. |
3 * | 3 * |
4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
5 * modification, are permitted provided that the following conditions | 5 * modification, are permitted provided that the following conditions |
6 * are met: | 6 * are met: |
7 * | 7 * |
8 * 1. Redistributions of source code must retain the above copyright | 8 * 1. Redistributions of source code must retain the above copyright |
9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
10 * 2. Redistributions in binary form must reproduce the above copyright | 10 * 2. Redistributions in binary form must reproduce the above copyright |
(...skipping 17 matching lines...) Expand all Loading... |
28 | 28 |
29 // Normally we'd have: | 29 // Normally we'd have: |
30 // #include <v8.h> | 30 // #include <v8.h> |
31 // ...but this file is used in cases where we don't have V8 (e.g., Skia) | 31 // ...but this file is used in cases where we don't have V8 (e.g., Skia) |
32 namespace v8 { | 32 namespace v8 { |
33 class Context; | 33 class Context; |
34 class Value; | 34 class Value; |
35 template <class T> class Local; | 35 template <class T> class Local; |
36 } | 36 } |
37 | 37 |
| 38 namespace blink { |
| 39 class ScriptState; |
| 40 } |
| 41 |
38 namespace WebCoreTestSupport { | 42 namespace WebCoreTestSupport { |
39 | 43 |
40 v8::Local<v8::Value> createInternalsObject(v8::Local<v8::Context>); | 44 v8::Local<v8::Value> createInternalsObject(v8::Local<v8::Context>); |
41 void injectInternalsObject(v8::Local<v8::Context>); | 45 void injectInternalsObject(v8::Local<v8::Context>); |
42 void resetInternalsObject(v8::Local<v8::Context>); | 46 void resetInternalsObject(v8::Local<v8::Context>); |
| 47 void installOriginTrialsForTests(blink::ScriptState*); |
43 | 48 |
44 } // namespace blink | 49 } // namespace blink |
45 | 50 |
46 #endif | 51 #endif |
OLD | NEW |