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

Side by Side Diff: webkit/glue/inspector_client_impl.cc

Issue 31012: Remove an unused variable that came from r10497 which breaks compile on Linux... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 11 years, 10 months 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2008 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 "base/compiler_specific.h" 7 #include "base/compiler_specific.h"
8 8
9 MSVC_PUSH_WARNING_LEVEL(0); 9 MSVC_PUSH_WARNING_LEVEL(0);
10 #include "DOMWindow.h" 10 #include "DOMWindow.h"
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after
96 inspector->setWindowVisible(true); 96 inspector->setWindowVisible(true);
97 97
98 // Notify the webview delegate of how many resources we're inspecting. 98 // Notify the webview delegate of how many resources we're inspecting.
99 WebViewDelegate* d = inspected_web_view_->delegate(); 99 WebViewDelegate* d = inspected_web_view_->delegate();
100 DCHECK(d); 100 DCHECK(d);
101 d->WebInspectorOpened(inspector->resources().size()); 101 d->WebInspectorOpened(inspector->resources().size());
102 } 102 }
103 103
104 void WebInspectorClient::closeWindow() { 104 void WebInspectorClient::closeWindow() {
105 inspector_web_view_ = NULL; 105 inspector_web_view_ = NULL;
106 WebFrameImpl* frame = inspected_web_view_->main_frame();
107 106
108 if (inspected_node_) 107 if (inspected_node_)
109 hideHighlight(); 108 hideHighlight();
110 109
111 if (inspected_web_view_->page()) 110 if (inspected_web_view_->page())
112 inspected_web_view_->page()->inspectorController()->setWindowVisible(false); 111 inspected_web_view_->page()->inspectorController()->setWindowVisible(false);
113 } 112 }
114 113
115 bool WebInspectorClient::windowVisible() { 114 bool WebInspectorClient::windowVisible() {
116 if (inspector_web_view_ != NULL) { 115 if (inspector_web_view_ != NULL) {
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
177 } 176 }
178 177
179 void WebInspectorClient::storeSetting( 178 void WebInspectorClient::storeSetting(
180 const String& key, const InspectorController::Setting&) { 179 const String& key, const InspectorController::Setting&) {
181 NOTIMPLEMENTED(); 180 NOTIMPLEMENTED();
182 } 181 }
183 182
184 void WebInspectorClient::removeSetting(const String& key) { 183 void WebInspectorClient::removeSetting(const String& key) {
185 NOTIMPLEMENTED(); 184 NOTIMPLEMENTED();
186 } 185 }
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698