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

Side by Side Diff: chrome/browser/in_process_webkit/browser_webkitclient_impl.cc

Issue 258010: Reverting 27759. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 11 years, 2 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
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 "webkit/api/public/WebData.h" 9 #include "webkit/api/public/WebData.h"
9 #include "webkit/api/public/WebString.h" 10 #include "webkit/api/public/WebString.h"
10 #include "webkit/api/public/WebURL.h" 11 #include "webkit/api/public/WebURL.h"
11 12
12 WebKit::WebClipboard* BrowserWebKitClientImpl::clipboard() { 13 WebKit::WebClipboard* BrowserWebKitClientImpl::clipboard() {
13 NOTREACHED(); 14 NOTREACHED();
14 return NULL; 15 return NULL;
15 } 16 }
16 17
17 WebKit::WebMimeRegistry* BrowserWebKitClientImpl::mimeRegistry() { 18 WebKit::WebMimeRegistry* BrowserWebKitClientImpl::mimeRegistry() {
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after
98 } 99 }
99 100
100 WebKit::WebStorageNamespace* 101 WebKit::WebStorageNamespace*
101 BrowserWebKitClientImpl::createSessionStorageNamespace() { 102 BrowserWebKitClientImpl::createSessionStorageNamespace() {
102 // The "WebStorage" interface is used for renderer WebKit -> browser WebKit 103 // The "WebStorage" interface is used for renderer WebKit -> browser WebKit
103 // communication only. "WebStorageClient" will be used for browser WebKit -> 104 // communication only. "WebStorageClient" will be used for browser WebKit ->
104 // renderer WebKit. So this will never be implemented. 105 // renderer WebKit. So this will never be implemented.
105 NOTREACHED(); 106 NOTREACHED();
106 return 0; 107 return 0;
107 } 108 }
109
110 void BrowserWebKitClientImpl::dispatchStorageEvent(
111 const WebKit::WebString& key, const WebKit::WebString& old_value,
112 const WebKit::WebString& new_value, const WebKit::WebString& origin,
113 bool is_local_storage) {
114 // TODO(jorlow): Implement
115 if (!is_local_storage)
116 return;
117
118 DOMStorageDispatcherHost::DispatchStorageEvent(key, old_value, new_value,
119 origin, is_local_storage);
120 }
OLDNEW
« no previous file with comments | « chrome/browser/in_process_webkit/browser_webkitclient_impl.h ('k') | chrome/browser/in_process_webkit/dom_storage_context.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698