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

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

Issue 12418: Implement History as HTML and add/change a bunch of stuff to make it easier t... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 12 years 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 | « chrome/renderer/render_view.cc ('k') | webkit/port/bindings/v8/v8_proxy.cpp » ('j') | 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 <windows.h> 7 #include <windows.h>
8 #include <wininet.h> 8 #include <wininet.h>
9 9
10 #include "base/clipboard.h" 10 #include "base/clipboard.h"
(...skipping 208 matching lines...) Expand 10 before | Expand all | Expand 10 after
219 219
220 void webkit_glue::ClipboardReadAsciiText(std::string* result) { 220 void webkit_glue::ClipboardReadAsciiText(std::string* result) {
221 RenderThread::current()->Send(new ViewHostMsg_ClipboardReadAsciiText(result)); 221 RenderThread::current()->Send(new ViewHostMsg_ClipboardReadAsciiText(result));
222 } 222 }
223 223
224 void webkit_glue::ClipboardReadHTML(std::wstring* markup, GURL* url) { 224 void webkit_glue::ClipboardReadHTML(std::wstring* markup, GURL* url) {
225 RenderThread::current()->Send(new ViewHostMsg_ClipboardReadHTML(markup, url)); 225 RenderThread::current()->Send(new ViewHostMsg_ClipboardReadHTML(markup, url));
226 } 226 }
227 227
228 GURL webkit_glue::GetInspectorURL() { 228 GURL webkit_glue::GetInspectorURL() {
229 return GURL("chrome-resource://inspector/inspector.html"); 229 return GURL("chrome://inspector/inspector.html");
230 } 230 }
231 231
232 std::string webkit_glue::GetUIResourceProtocol() { 232 std::string webkit_glue::GetUIResourceProtocol() {
233 return "chrome-resource"; 233 return "chrome";
234 } 234 }
235 235
236 bool webkit_glue::GetPlugins(bool refresh, 236 bool webkit_glue::GetPlugins(bool refresh,
237 std::vector<WebPluginInfo>* plugins) { 237 std::vector<WebPluginInfo>* plugins) {
238 return RenderThread::current()->Send( 238 return RenderThread::current()->Send(
239 new ViewHostMsg_GetPlugins(refresh, plugins)); 239 new ViewHostMsg_GetPlugins(refresh, plugins));
240 } 240 }
241 241
242 bool webkit_glue::EnsureFontLoaded(HFONT font) { 242 bool webkit_glue::EnsureFontLoaded(HFONT font) {
243 LOGFONT logfont; 243 LOGFONT logfont;
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after
312 // NOTE: Since this can be called from the plugin process, we might not have 312 // NOTE: Since this can be called from the plugin process, we might not have
313 // a RenderThread. Do nothing in that case. 313 // a RenderThread. Do nothing in that case.
314 if (RenderThread::current()) 314 if (RenderThread::current())
315 RenderThread::current()->InformHostOfCacheStatsLater(); 315 RenderThread::current()->InformHostOfCacheStatsLater();
316 } 316 }
317 317
318 #endif // !USING_SIMPLE_RESOURCE_LOADER_BRIDGE 318 #endif // !USING_SIMPLE_RESOURCE_LOADER_BRIDGE
319 319
320 } // namespace webkit_glue 320 } // namespace webkit_glue
321 321
OLDNEW
« no previous file with comments | « chrome/renderer/render_view.cc ('k') | webkit/port/bindings/v8/v8_proxy.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698