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

Side by Side Diff: webkit/port/bindings/v8/ScriptController.cpp

Issue 10719: Add GCController support to test_shell.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 12 years, 1 month 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) 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 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
71 NPN_HasProperty, 71 NPN_HasProperty,
72 NPN_HasMethod, 72 NPN_HasMethod,
73 NPN_ReleaseVariantValue, 73 NPN_ReleaseVariantValue,
74 NPN_SetException 74 NPN_SetException
75 }; 75 };
76 76
77 77
78 namespace WebCore { 78 namespace WebCore {
79 79
80 bool ScriptController::m_recordPlaybackMode = false; 80 bool ScriptController::m_recordPlaybackMode = false;
81 bool ScriptController::m_shouldExposeGCController = false;
81 82
82 void ScriptController::setFlags(const char* str, int length) 83 void ScriptController::setFlags(const char* str, int length)
83 { 84 {
84 v8::V8::SetFlagsFromString(str, length); 85 v8::V8::SetFlagsFromString(str, length);
85 } 86 }
86 87
87 void ScriptController::setDomain(Frame* frame, const String&) 88 void ScriptController::setDomain(Frame* frame, const String&)
88 { 89 {
89 V8Proxy::DomainChanged(frame); 90 V8Proxy::DomainChanged(frame);
90 } 91 }
(...skipping 484 matching lines...) Expand 10 before | Expand all | Expand 10 after
575 v8::Persistent<v8::Object> handle = 576 v8::Persistent<v8::Object> handle =
576 v8::Persistent<v8::Object>::New(instance); 577 v8::Persistent<v8::Object>::New(instance);
577 m_instance = handle; 578 m_instance = handle;
578 #ifndef NDEBUG 579 #ifndef NDEBUG
579 V8Proxy::RegisterGlobalHandle(JSINSTANCE, this, handle); 580 V8Proxy::RegisterGlobalHandle(JSINSTANCE, this, handle);
580 #endif 581 #endif
581 return *this; 582 return *this;
582 } 583 }
583 584
584 } // namespace WebCpre 585 } // namespace WebCpre
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698