Commit af5642ce authored by einbinder's avatar einbinder Committed by Commit bot

DevTools: Remove ShowSecurityPanel as it is no longer used

There is no longer a link to the DevTools security panel in the url bar.

BUG=646465

Review-Url: https://codereview.chromium.org/2570423002
Cr-Commit-Position: refs/heads/master@{#438695}
parent 873679cd
...@@ -44,11 +44,6 @@ DevToolsToggleAction DevToolsToggleAction::ShowConsole() { ...@@ -44,11 +44,6 @@ DevToolsToggleAction DevToolsToggleAction::ShowConsole() {
return DevToolsToggleAction(kShowConsole); return DevToolsToggleAction(kShowConsole);
} }
// static
DevToolsToggleAction DevToolsToggleAction::ShowSecurityPanel() {
return DevToolsToggleAction(kShowSecurityPanel);
}
// static // static
DevToolsToggleAction DevToolsToggleAction::Inspect() { DevToolsToggleAction DevToolsToggleAction::Inspect() {
return DevToolsToggleAction(kInspect); return DevToolsToggleAction(kInspect);
......
...@@ -16,7 +16,6 @@ struct DevToolsToggleAction { ...@@ -16,7 +16,6 @@ struct DevToolsToggleAction {
enum Type { enum Type {
kShow, kShow,
kShowConsole, kShowConsole,
kShowSecurityPanel,
kInspect, kInspect,
kToggle, kToggle,
kReveal, kReveal,
...@@ -40,7 +39,6 @@ struct DevToolsToggleAction { ...@@ -40,7 +39,6 @@ struct DevToolsToggleAction {
static DevToolsToggleAction Show(); static DevToolsToggleAction Show();
static DevToolsToggleAction ShowConsole(); static DevToolsToggleAction ShowConsole();
static DevToolsToggleAction ShowSecurityPanel();
static DevToolsToggleAction Inspect(); static DevToolsToggleAction Inspect();
static DevToolsToggleAction Toggle(); static DevToolsToggleAction Toggle();
static DevToolsToggleAction Reveal(const base::string16& url, static DevToolsToggleAction Reveal(const base::string16& url,
......
...@@ -1304,12 +1304,6 @@ void DevToolsWindow::DoAction(const DevToolsToggleAction& action) { ...@@ -1304,12 +1304,6 @@ void DevToolsWindow::DoAction(const DevToolsToggleAction& action) {
NULL); NULL);
break; break;
} }
case DevToolsToggleAction::kShowSecurityPanel: {
base::StringValue panel_name("security");
bindings_->CallClientFunction("DevToolsAPI.showPanel", &panel_name, NULL,
NULL);
break;
}
case DevToolsToggleAction::kInspect: case DevToolsToggleAction::kInspect:
bindings_->CallClientFunction( bindings_->CallClientFunction(
"DevToolsAPI.enterInspectElementMode", NULL, NULL, NULL); "DevToolsAPI.enterInspectElementMode", NULL, NULL, NULL);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment