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 <math.h> | 5 #include <math.h> |
6 #include "config.h" | 6 #include "config.h" |
7 | 7 |
8 #include "FrameView.h" | 8 #include "FrameView.h" |
9 #include "ScrollView.h" | 9 #include "ScrollView.h" |
10 #include <wtf/Assertions.h> | 10 #include <wtf/Assertions.h> |
(...skipping 171 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
182 } | 182 } |
183 | 183 |
184 void WebKitClientImpl::decrementStatsCounter(const char* name) { | 184 void WebKitClientImpl::decrementStatsCounter(const char* name) { |
185 StatsCounter(name).Decrement(); | 185 StatsCounter(name).Decrement(); |
186 } | 186 } |
187 | 187 |
188 void WebKitClientImpl::incrementStatsCounter(const char* name) { | 188 void WebKitClientImpl::incrementStatsCounter(const char* name) { |
189 StatsCounter(name).Increment(); | 189 StatsCounter(name).Increment(); |
190 } | 190 } |
191 | 191 |
| 192 WebKit::WebString WebKitClientImpl::genKeyAndSignChallenge( |
| 193 unsigned key_size_index, |
| 194 const WebKit::WebString& challenge, |
| 195 const WebKit::WebURL& url) { |
| 196 NOTREACHED(); |
| 197 return WebKit::WebString(); |
| 198 } |
| 199 |
192 void WebKitClientImpl::traceEventBegin(const char* name, void* id, | 200 void WebKitClientImpl::traceEventBegin(const char* name, void* id, |
193 const char* extra) { | 201 const char* extra) { |
194 TRACE_EVENT_BEGIN(name, id, extra); | 202 TRACE_EVENT_BEGIN(name, id, extra); |
195 } | 203 } |
196 | 204 |
197 void WebKitClientImpl::traceEventEnd(const char* name, void* id, | 205 void WebKitClientImpl::traceEventEnd(const char* name, void* id, |
198 const char* extra) { | 206 const char* extra) { |
199 TRACE_EVENT_END(name, id, extra); | 207 TRACE_EVENT_END(name, id, extra); |
200 } | 208 } |
201 | 209 |
(...skipping 304 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
506 return file_util::DirectoryExists(file_path); | 514 return file_util::DirectoryExists(file_path); |
507 } | 515 } |
508 | 516 |
509 WebKit::WebURL WebKitClientImpl::filePathToURL(const WebKit::WebString& path) { | 517 WebKit::WebURL WebKitClientImpl::filePathToURL(const WebKit::WebString& path) { |
510 FilePath file_path(webkit_glue::WebStringToFilePathString(path)); | 518 FilePath file_path(webkit_glue::WebStringToFilePathString(path)); |
511 GURL file_url = net::FilePathToFileURL(file_path); | 519 GURL file_url = net::FilePathToFileURL(file_path); |
512 return webkit_glue::KURLToWebURL(webkit_glue::GURLToKURL(file_url)); | 520 return webkit_glue::KURLToWebURL(webkit_glue::GURLToKURL(file_url)); |
513 } | 521 } |
514 | 522 |
515 } // namespace webkit_glue | 523 } // namespace webkit_glue |
OLD | NEW |