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

Side by Side Diff: webkit/tools/test_shell/test_shell_webkit_init.h

Issue 4678006: Add form validation message strings.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 10 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 | « webkit/support/test_webkit_client.cc ('k') | webkit/tools/test_shell/test_shell_webkit_init.cc » ('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) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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 #ifndef WEBKIT_TOOLS_TEST_SHELL_TEST_SHELL_WEBKIT_INIT_H_ 5 #ifndef WEBKIT_TOOLS_TEST_SHELL_TEST_SHELL_WEBKIT_INIT_H_
6 #define WEBKIT_TOOLS_TEST_SHELL_TEST_SHELL_WEBKIT_INIT_H_ 6 #define WEBKIT_TOOLS_TEST_SHELL_TEST_SHELL_WEBKIT_INIT_H_
7 7
8 #include "base/utf_string_conversions.h" 8 #include "base/utf_string_conversions.h"
9 #include "third_party/WebKit/WebKit/chromium/public/WebGraphicsContext3D.h" 9 #include "third_party/WebKit/WebKit/chromium/public/WebGraphicsContext3D.h"
10 #include "third_party/WebKit/WebKit/chromium/public/WebIDBFactory.h" 10 #include "third_party/WebKit/WebKit/chromium/public/WebIDBFactory.h"
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after
97 } 97 }
98 98
99 virtual WebKit::WebMessagePortChannel* createMessagePortChannel() { 99 virtual WebKit::WebMessagePortChannel* createMessagePortChannel() {
100 return NULL; 100 return NULL;
101 } 101 }
102 102
103 virtual void prefetchHostName(const WebKit::WebString&) { 103 virtual void prefetchHostName(const WebKit::WebString&) {
104 } 104 }
105 105
106 virtual WebKit::WebData loadResource(const char* name); 106 virtual WebKit::WebData loadResource(const char* name);
107 virtual WebKit::WebString queryLocalizedString(
108 WebKit::WebLocalizedString::Name name);
109 virtual WebKit::WebString queryLocalizedString(
110 WebKit::WebLocalizedString::Name name, const WebKit::WebString& value);
111 virtual WebKit::WebString queryLocalizedString(
112 WebKit::WebLocalizedString::Name name,
113 const WebKit::WebString& value1, const WebKit::WebString& value2);
107 114
108 virtual WebKit::WebString defaultLocale() { 115 virtual WebKit::WebString defaultLocale() {
109 return ASCIIToUTF16("en-US"); 116 return ASCIIToUTF16("en-US");
110 } 117 }
111 118
112 virtual WebKit::WebStorageNamespace* createLocalStorageNamespace( 119 virtual WebKit::WebStorageNamespace* createLocalStorageNamespace(
113 const WebKit::WebString& path, unsigned quota) { 120 const WebKit::WebString& path, unsigned quota) {
114 // Enforce quota here, ignoring the value from the renderer as in Chrome. 121 // Enforce quota here, ignoring the value from the renderer as in Chrome.
115 return WebKit::WebStorageNamespace::createLocalStorageNamespace(path, 122 return WebKit::WebStorageNamespace::createLocalStorageNamespace(path,
116 WebKit::WebStorageNamespace::m_localStorageQuota); 123 WebKit::WebStorageNamespace::m_localStorageQuota);
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
168 SimpleWebCookieJarImpl cookie_jar_; 175 SimpleWebCookieJarImpl cookie_jar_;
169 scoped_refptr<TestShellWebBlobRegistryImpl> blob_registry_; 176 scoped_refptr<TestShellWebBlobRegistryImpl> blob_registry_;
170 SimpleFileSystem file_system_; 177 SimpleFileSystem file_system_;
171 178
172 #if defined(OS_WIN) 179 #if defined(OS_WIN)
173 WebKit::WebThemeEngine* active_theme_engine_; 180 WebKit::WebThemeEngine* active_theme_engine_;
174 #endif 181 #endif
175 }; 182 };
176 183
177 #endif // WEBKIT_TOOLS_TEST_SHELL_TEST_SHELL_WEBKIT_INIT_H_ 184 #endif // WEBKIT_TOOLS_TEST_SHELL_TEST_SHELL_WEBKIT_INIT_H_
OLDNEW
« no previous file with comments | « webkit/support/test_webkit_client.cc ('k') | webkit/tools/test_shell/test_shell_webkit_init.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698