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

Unified Diff: webkit/glue/webdevtoolsfrontend_impl.cc

Issue 348056: Highlight node with mouse over it while selecting element to inspect (Closed)
Patch Set: Created 11 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « webkit/glue/webdevtoolsfrontend_impl.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/glue/webdevtoolsfrontend_impl.cc
diff --git a/webkit/glue/webdevtoolsfrontend_impl.cc b/webkit/glue/webdevtoolsfrontend_impl.cc
index 0cee5b586d2ec8c654fa3ea00003e8e7fa941be9..8f8a10db8c4c4ec4bf5f180923413ec22bb9a1ab 100644
--- a/webkit/glue/webdevtoolsfrontend_impl.cc
+++ b/webkit/glue/webdevtoolsfrontend_impl.cc
@@ -176,9 +176,6 @@ WebDevToolsFrontendImpl::WebDevToolsFrontendImpl(
"undockWindow",
WebDevToolsFrontendImpl::JsUndockWindow);
dev_tools_host_->AddProtoFunction(
- "toggleInspectElementMode",
- WebDevToolsFrontendImpl::JsToggleInspectElementMode);
- dev_tools_host_->AddProtoFunction(
"getApplicationLocale",
WebDevToolsFrontendImpl::JsGetApplicationLocale);
dev_tools_host_->AddProtoFunction(
@@ -389,16 +386,6 @@ v8::Handle<v8::Value> WebDevToolsFrontendImpl::JsUndockWindow(
}
// static
-v8::Handle<v8::Value> WebDevToolsFrontendImpl::JsToggleInspectElementMode(
- const v8::Arguments& args) {
- WebDevToolsFrontendImpl* frontend = static_cast<WebDevToolsFrontendImpl*>(
- v8::External::Cast(*args.Data())->Value());
- int enabled = static_cast<int>(args[0]->BooleanValue());
- frontend->client_->toggleInspectElementMode(enabled);
- return v8::Undefined();
-}
-
-// static
v8::Handle<v8::Value> WebDevToolsFrontendImpl::JsGetApplicationLocale(
const v8::Arguments& args) {
WebDevToolsFrontendImpl* frontend = static_cast<WebDevToolsFrontendImpl*>(
« no previous file with comments | « webkit/glue/webdevtoolsfrontend_impl.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698