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() {
return DevToolsToggleAction(kShowConsole);
}
// static
DevToolsToggleAction DevToolsToggleAction::ShowSecurityPanel() {
return DevToolsToggleAction(kShowSecurityPanel);
}
// static
DevToolsToggleAction DevToolsToggleAction::Inspect() {
return DevToolsToggleAction(kInspect);
......
......@@ -16,7 +16,6 @@ struct DevToolsToggleAction {
enum Type {
kShow,
kShowConsole,
kShowSecurityPanel,
kInspect,
kToggle,
kReveal,
......@@ -40,7 +39,6 @@ struct DevToolsToggleAction {
static DevToolsToggleAction Show();
static DevToolsToggleAction ShowConsole();
static DevToolsToggleAction ShowSecurityPanel();
static DevToolsToggleAction Inspect();
static DevToolsToggleAction Toggle();
static DevToolsToggleAction Reveal(const base::string16& url,
......
......@@ -1304,12 +1304,6 @@ void DevToolsWindow::DoAction(const DevToolsToggleAction& action) {
NULL);
break;
}
case DevToolsToggleAction::kShowSecurityPanel: {
base::StringValue panel_name("security");
bindings_->CallClientFunction("DevToolsAPI.showPanel", &panel_name, NULL,
NULL);
break;
}
case DevToolsToggleAction::kInspect:
bindings_->CallClientFunction(
"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