OLD | NEW |
1 // Copyright (c) 2008, Google Inc. | 1 // Copyright (c) 2008, Google Inc. |
2 // All rights reserved. | 2 // 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 are | 5 // modification, are permitted provided that the following conditions are |
6 // met: | 6 // met: |
7 // | 7 // |
8 // * Redistributions of source code must retain the above copyright | 8 // * 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 // * Redistributions in binary form must reproduce the above | 10 // * Redistributions in binary form must reproduce the above |
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
67 NPN_RemoveProperty, | 67 NPN_RemoveProperty, |
68 NPN_HasProperty, | 68 NPN_HasProperty, |
69 NPN_HasMethod, | 69 NPN_HasMethod, |
70 NPN_ReleaseVariantValue, | 70 NPN_ReleaseVariantValue, |
71 NPN_SetException | 71 NPN_SetException |
72 }; | 72 }; |
73 | 73 |
74 | 74 |
75 namespace WebCore { | 75 namespace WebCore { |
76 | 76 |
77 bool ScriptController::m_recordPlaybackMode = false; | |
78 bool ScriptController::m_shouldExposeGCController = false; | |
79 | |
80 void ScriptController::setFlags(const char* str, int length) | 77 void ScriptController::setFlags(const char* str, int length) |
81 { | 78 { |
82 v8::V8::SetFlagsFromString(str, length); | 79 v8::V8::SetFlagsFromString(str, length); |
83 } | 80 } |
84 | 81 |
85 Frame* ScriptController::retrieveActiveFrame() | 82 Frame* ScriptController::retrieveActiveFrame() |
86 { | 83 { |
87 return V8Proxy::retrieveActiveFrame(); | 84 return V8Proxy::retrieveActiveFrame(); |
88 } | 85 } |
89 | 86 |
(...skipping 347 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
437 { | 434 { |
438 notImplemented(); | 435 notImplemented(); |
439 } | 436 } |
440 | 437 |
441 void ScriptController::updateDocument() | 438 void ScriptController::updateDocument() |
442 { | 439 { |
443 m_proxy->updateDocument(); | 440 m_proxy->updateDocument(); |
444 } | 441 } |
445 | 442 |
446 } // namespace WebCpre | 443 } // namespace WebCpre |
OLD | NEW |