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

Side by Side Diff: chrome/renderer/renderer_glue.cc

Issue 113034: Add an extra colon to make inspector work again.... (Closed) Base URL: svn://chrome-svn.corp.google.com/chrome/trunk/src/
Patch Set: Created 11 years, 7 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
« no previous file with comments | « chrome/browser/debugger/debugger_view.cc ('k') | 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 // This file provides the embedder's side of random webkit glue functions. 5 // This file provides the embedder's side of random webkit glue functions.
6 6
7 #include "build/build_config.h" 7 #include "build/build_config.h"
8 8
9 #include <vector> 9 #include <vector>
10 10
(...skipping 191 matching lines...) Expand 10 before | Expand all | Expand 10 after
202 void ClipboardReadAsciiText(std::string* result) { 202 void ClipboardReadAsciiText(std::string* result) {
203 RenderThread::current()->Send(new ViewHostMsg_ClipboardReadAsciiText(result)); 203 RenderThread::current()->Send(new ViewHostMsg_ClipboardReadAsciiText(result));
204 } 204 }
205 205
206 void ClipboardReadHTML(string16* markup, GURL* url) { 206 void ClipboardReadHTML(string16* markup, GURL* url) {
207 RenderThread::current()->Send(new ViewHostMsg_ClipboardReadHTML(markup, url)); 207 RenderThread::current()->Send(new ViewHostMsg_ClipboardReadHTML(markup, url));
208 } 208 }
209 209
210 GURL GetInspectorURL() { 210 GURL GetInspectorURL() {
211 return GURL(std::string(chrome::kChromeUIScheme) + 211 return GURL(std::string(chrome::kChromeUIScheme) +
212 "//inspector/inspector.html"); 212 "://inspector/inspector.html");
213 } 213 }
214 214
215 std::string GetUIResourceProtocol() { 215 std::string GetUIResourceProtocol() {
216 return "chrome"; 216 return "chrome";
217 } 217 }
218 218
219 bool GetPlugins(bool refresh, std::vector<WebPluginInfo>* plugins) { 219 bool GetPlugins(bool refresh, std::vector<WebPluginInfo>* plugins) {
220 if (!RenderThread::current()->plugin_refresh_allowed()) 220 if (!RenderThread::current()->plugin_refresh_allowed())
221 refresh = false; 221 refresh = false;
222 return RenderThread::current()->Send(new ViewHostMsg_GetPlugins( 222 return RenderThread::current()->Send(new ViewHostMsg_GetPlugins(
(...skipping 24 matching lines...) Expand all
247 void NotifyCacheStats() { 247 void NotifyCacheStats() {
248 // Update the browser about our cache 248 // Update the browser about our cache
249 // NOTE: Since this can be called from the plugin process, we might not have 249 // NOTE: Since this can be called from the plugin process, we might not have
250 // a RenderThread. Do nothing in that case. 250 // a RenderThread. Do nothing in that case.
251 if (!IsPluginProcess()) 251 if (!IsPluginProcess())
252 RenderThread::current()->InformHostOfCacheStatsLater(); 252 RenderThread::current()->InformHostOfCacheStatsLater();
253 } 253 }
254 254
255 255
256 } // namespace webkit_glue 256 } // namespace webkit_glue
OLDNEW
« no previous file with comments | « chrome/browser/debugger/debugger_view.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698