OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 #include "content/child/blink_platform_impl.h" | 5 #include "content/child/blink_platform_impl.h" |
6 | 6 |
7 #include <math.h> | 7 #include <math.h> |
8 | 8 |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
51 #include "content/child/thread_safe_sender.h" | 51 #include "content/child/thread_safe_sender.h" |
52 #include "content/child/web_discardable_memory_impl.h" | 52 #include "content/child/web_discardable_memory_impl.h" |
53 #include "content/child/web_memory_dump_provider_adapter.h" | 53 #include "content/child/web_memory_dump_provider_adapter.h" |
54 #include "content/child/web_process_memory_dump_impl.h" | 54 #include "content/child/web_process_memory_dump_impl.h" |
55 #include "content/child/web_url_loader_impl.h" | 55 #include "content/child/web_url_loader_impl.h" |
56 #include "content/child/web_url_request_util.h" | 56 #include "content/child/web_url_request_util.h" |
57 #include "content/child/websocket_bridge.h" | 57 #include "content/child/websocket_bridge.h" |
58 #include "content/child/worker_task_runner.h" | 58 #include "content/child/worker_task_runner.h" |
59 #include "content/public/common/content_client.h" | 59 #include "content/public/common/content_client.h" |
60 #include "net/base/data_url.h" | 60 #include "net/base/data_url.h" |
| 61 #include "net/base/ip_address_number.h" |
61 #include "net/base/net_errors.h" | 62 #include "net/base/net_errors.h" |
62 #include "net/base/net_util.h" | 63 #include "net/base/net_util.h" |
63 #include "third_party/WebKit/public/platform/WebConvertableToTraceFormat.h" | 64 #include "third_party/WebKit/public/platform/WebConvertableToTraceFormat.h" |
64 #include "third_party/WebKit/public/platform/WebData.h" | 65 #include "third_party/WebKit/public/platform/WebData.h" |
65 #include "third_party/WebKit/public/platform/WebFloatPoint.h" | 66 #include "third_party/WebKit/public/platform/WebFloatPoint.h" |
66 #include "third_party/WebKit/public/platform/WebMemoryDumpProvider.h" | 67 #include "third_party/WebKit/public/platform/WebMemoryDumpProvider.h" |
67 #include "third_party/WebKit/public/platform/WebString.h" | 68 #include "third_party/WebKit/public/platform/WebString.h" |
68 #include "third_party/WebKit/public/platform/WebURL.h" | 69 #include "third_party/WebKit/public/platform/WebURL.h" |
69 #include "third_party/WebKit/public/platform/WebWaitableEvent.h" | 70 #include "third_party/WebKit/public/platform/WebWaitableEvent.h" |
70 #include "third_party/WebKit/public/web/WebSecurityOrigin.h" | 71 #include "third_party/WebKit/public/web/WebSecurityOrigin.h" |
(...skipping 1317 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1388 return WebString::fromUTF8(ui::KeycodeConverter::DomCodeToCodeString( | 1389 return WebString::fromUTF8(ui::KeycodeConverter::DomCodeToCodeString( |
1389 static_cast<ui::DomCode>(dom_code))); | 1390 static_cast<ui::DomCode>(dom_code))); |
1390 } | 1391 } |
1391 | 1392 |
1392 int BlinkPlatformImpl::domEnumFromCodeString(const WebString& code) { | 1393 int BlinkPlatformImpl::domEnumFromCodeString(const WebString& code) { |
1393 return static_cast<int>(ui::KeycodeConverter::CodeStringToDomCode( | 1394 return static_cast<int>(ui::KeycodeConverter::CodeStringToDomCode( |
1394 code.utf8().data())); | 1395 code.utf8().data())); |
1395 } | 1396 } |
1396 | 1397 |
1397 } // namespace content | 1398 } // namespace content |
OLD | NEW |