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

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, 1 month 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
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, int value1, int value2);
111 virtual WebKit::WebString queryLocalizedString(
112 WebKit::WebLocalizedString::Name name, const WebKit::WebString& value);
113 virtual WebKit::WebString queryLocalizedString(
114 WebKit::WebLocalizedString::Name name,
115 const WebKit::WebString& value1, const WebKit::WebString& value2);
107 116
108 virtual WebKit::WebString defaultLocale() { 117 virtual WebKit::WebString defaultLocale() {
109 return ASCIIToUTF16("en-US"); 118 return ASCIIToUTF16("en-US");
110 } 119 }
111 120
112 virtual WebKit::WebStorageNamespace* createLocalStorageNamespace( 121 virtual WebKit::WebStorageNamespace* createLocalStorageNamespace(
113 const WebKit::WebString& path, unsigned quota) { 122 const WebKit::WebString& path, unsigned quota) {
114 // Enforce quota here, ignoring the value from the renderer as in Chrome. 123 // Enforce quota here, ignoring the value from the renderer as in Chrome.
115 return WebKit::WebStorageNamespace::createLocalStorageNamespace(path, 124 return WebKit::WebStorageNamespace::createLocalStorageNamespace(path,
116 WebKit::WebStorageNamespace::m_localStorageQuota); 125 WebKit::WebStorageNamespace::m_localStorageQuota);
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
168 SimpleWebCookieJarImpl cookie_jar_; 177 SimpleWebCookieJarImpl cookie_jar_;
169 scoped_refptr<TestShellWebBlobRegistryImpl> blob_registry_; 178 scoped_refptr<TestShellWebBlobRegistryImpl> blob_registry_;
170 SimpleFileSystem file_system_; 179 SimpleFileSystem file_system_;
171 180
172 #if defined(OS_WIN) 181 #if defined(OS_WIN)
173 WebKit::WebThemeEngine* active_theme_engine_; 182 WebKit::WebThemeEngine* active_theme_engine_;
174 #endif 183 #endif
175 }; 184 };
176 185
177 #endif // WEBKIT_TOOLS_TEST_SHELL_TEST_SHELL_WEBKIT_INIT_H_ 186 #endif // WEBKIT_TOOLS_TEST_SHELL_TEST_SHELL_WEBKIT_INIT_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698