| OLD | NEW |
| 1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2009 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 #include "config.h" | 5 #include "config.h" |
| 6 | 6 |
| 7 #include <string> | 7 #include <string> |
| 8 | 8 |
| 9 #include "Document.h" | 9 #include "Document.h" |
| 10 #include "DOMWindow.h" | 10 #include "DOMWindow.h" |
| 11 #include "Frame.h" | 11 #include "Frame.h" |
| 12 #include "InspectorController.h" | 12 #include "InspectorController.h" |
| 13 #include "Node.h" | 13 #include "Node.h" |
| 14 #include "Page.h" | 14 #include "Page.h" |
| 15 #include "PlatformString.h" | 15 #include "PlatformString.h" |
| 16 #include "SecurityOrigin.h" | 16 #include "SecurityOrigin.h" |
| 17 #include <wtf/OwnPtr.h> | 17 #include <wtf/OwnPtr.h> |
| 18 #include <wtf/Vector.h> | 18 #include <wtf/Vector.h> |
| 19 #undef LOG | 19 #undef LOG |
| 20 | 20 |
| 21 #include "V8Binding.h" | 21 #include "V8Binding.h" |
| 22 #include "v8_custom.h" | 22 #include "V8CustomBinding.h" |
| 23 #include "v8_proxy.h" | 23 #include "v8_proxy.h" |
| 24 #include "v8_utility.h" | 24 #include "v8_utility.h" |
| 25 #include "base/string_util.h" | 25 #include "base/string_util.h" |
| 26 #include "base/values.h" | 26 #include "base/values.h" |
| 27 #include "webkit/api/public/WebScriptSource.h" | 27 #include "webkit/api/public/WebScriptSource.h" |
| 28 #include "webkit/glue/devtools/bound_object.h" | 28 #include "webkit/glue/devtools/bound_object.h" |
| 29 #include "webkit/glue/devtools/debugger_agent.h" | 29 #include "webkit/glue/devtools/debugger_agent.h" |
| 30 #include "webkit/glue/devtools/devtools_rpc_js.h" | 30 #include "webkit/glue/devtools/devtools_rpc_js.h" |
| 31 #include "webkit/glue/devtools/dom_agent.h" | 31 #include "webkit/glue/devtools/dom_agent.h" |
| 32 #include "webkit/glue/devtools/tools_agent.h" | 32 #include "webkit/glue/devtools/tools_agent.h" |
| (...skipping 265 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 298 } | 298 } |
| 299 | 299 |
| 300 // static | 300 // static |
| 301 v8::Handle<v8::Value> WebDevToolsClientImpl::JsActivateWindow( | 301 v8::Handle<v8::Value> WebDevToolsClientImpl::JsActivateWindow( |
| 302 const v8::Arguments& args) { | 302 const v8::Arguments& args) { |
| 303 WebDevToolsClientImpl* client = static_cast<WebDevToolsClientImpl*>( | 303 WebDevToolsClientImpl* client = static_cast<WebDevToolsClientImpl*>( |
| 304 v8::External::Cast(*args.Data())->Value()); | 304 v8::External::Cast(*args.Data())->Value()); |
| 305 client->delegate_->ActivateWindow(); | 305 client->delegate_->ActivateWindow(); |
| 306 return v8::Undefined(); | 306 return v8::Undefined(); |
| 307 } | 307 } |
| OLD | NEW |