OLD | NEW |
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. Use of this | 1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. Use of this |
2 // source code is governed by a BSD-style license that can be found in the | 2 // source code is governed by a BSD-style license that can be found in the |
3 // LICENSE file. | 3 // LICENSE file. |
4 | 4 |
5 #include "chrome/browser/in_process_webkit/browser_webkitclient_impl.h" | 5 #include "chrome/browser/in_process_webkit/browser_webkitclient_impl.h" |
6 | 6 |
7 #include "base/logging.h" | 7 #include "base/logging.h" |
8 #include "chrome/browser/in_process_webkit/dom_storage_dispatcher_host.h" | 8 #include "chrome/browser/in_process_webkit/dom_storage_dispatcher_host.h" |
9 #include "webkit/api/public/WebData.h" | 9 #include "webkit/api/public/WebData.h" |
10 #include "webkit/api/public/WebString.h" | 10 #include "webkit/api/public/WebString.h" |
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
88 NOTREACHED(); | 88 NOTREACHED(); |
89 } | 89 } |
90 | 90 |
91 WebKit::WebData BrowserWebKitClientImpl::loadResource(const char* name) { | 91 WebKit::WebData BrowserWebKitClientImpl::loadResource(const char* name) { |
92 NOTREACHED(); | 92 NOTREACHED(); |
93 return WebKit::WebData(); | 93 return WebKit::WebData(); |
94 } | 94 } |
95 | 95 |
96 WebKit::WebStorageNamespace* | 96 WebKit::WebStorageNamespace* |
97 BrowserWebKitClientImpl::createLocalStorageNamespace( | 97 BrowserWebKitClientImpl::createLocalStorageNamespace( |
98 const WebKit::WebString& path) { | 98 const WebKit::WebString& path, unsigned quota) { |
99 // The "WebStorage" interface is used for renderer WebKit -> browser WebKit | 99 // The "WebStorage" interface is used for renderer WebKit -> browser WebKit |
100 // communication only. "WebStorageClient" will be used for browser WebKit -> | 100 // communication only. "WebStorageClient" will be used for browser WebKit -> |
101 // renderer WebKit. So this will never be implemented. | 101 // renderer WebKit. So this will never be implemented. |
102 NOTREACHED(); | 102 NOTREACHED(); |
103 return 0; | 103 return 0; |
104 } | 104 } |
105 | 105 |
106 WebKit::WebStorageNamespace* | 106 WebKit::WebStorageNamespace* |
107 BrowserWebKitClientImpl::createSessionStorageNamespace() { | 107 BrowserWebKitClientImpl::createSessionStorageNamespace() { |
108 // The "WebStorage" interface is used for renderer WebKit -> browser WebKit | 108 // The "WebStorage" interface is used for renderer WebKit -> browser WebKit |
(...skipping 13 matching lines...) Expand all Loading... |
122 | 122 |
123 DOMStorageDispatcherHost::DispatchStorageEvent(key, old_value, new_value, | 123 DOMStorageDispatcherHost::DispatchStorageEvent(key, old_value, new_value, |
124 origin, is_local_storage); | 124 origin, is_local_storage); |
125 } | 125 } |
126 | 126 |
127 WebKit::WebSharedWorkerRepository* | 127 WebKit::WebSharedWorkerRepository* |
128 BrowserWebKitClientImpl::sharedWorkerRepository() { | 128 BrowserWebKitClientImpl::sharedWorkerRepository() { |
129 NOTREACHED(); | 129 NOTREACHED(); |
130 return NULL; | 130 return NULL; |
131 } | 131 } |
OLD | NEW |