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

Unified Diff: chrome/browser/renderer_host/render_sandbox_host_linux.cc

Issue 149760: Introduce WebLocalizedString and queryLocalizedString methods... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 11 years, 5 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | chrome/renderer/renderer_webkitclient_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/renderer_host/render_sandbox_host_linux.cc
===================================================================
--- chrome/browser/renderer_host/render_sandbox_host_linux.cc (revision 20904)
+++ chrome/browser/renderer_host/render_sandbox_host_linux.cc (working copy)
@@ -30,6 +30,7 @@
using WebKit::WebData;
using WebKit::WebFontInfo;
using WebKit::WebKitClient;
+using WebKit::WebLocalizedString;
using WebKit::WebMimeRegistry;
using WebKit::WebPluginInfo;
using WebKit::WebPluginListBuilder;
@@ -106,6 +107,10 @@
virtual WebSandboxSupport* sandboxSupport() { return NULL; }
virtual WebThemeEngine* themeEngine() { return NULL; }
+ virtual bool getFileSize(const WebString& path, long long& result) {
+ return false;
+ }
+
virtual unsigned long long visitedLinkHash(const char*, size_t) { return 0; }
virtual bool isLinkVisited(unsigned long long) { return false; }
@@ -114,10 +119,6 @@
virtual void prefetchHostName(const WebString&) { }
- virtual bool getFileSize(const WebString& path, long long& result) {
- return false;
- }
-
virtual WebURLLoader* createURLLoader() { return NULL; }
virtual void getPluginList(bool refresh, WebPluginListBuilder*) { }
@@ -129,6 +130,12 @@
virtual void traceEventEnd(const char* name, void*, const char*) { }
virtual WebData loadResource(const char*) { return WebData(); }
+ virtual WebString queryLocalizedString(WebLocalizedString::Name) {
+ return WebString();
+ }
+ virtual WebString queryLocalizedString(WebLocalizedString::Name, int) {
+ return WebString();
+ }
virtual void suddenTerminationChanged(bool) { }
« no previous file with comments | « no previous file | chrome/renderer/renderer_webkitclient_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698