| 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 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 55 #include "content/child/web_memory_dump_provider_adapter.h" | 55 #include "content/child/web_memory_dump_provider_adapter.h" |
| 56 #include "content/child/web_process_memory_dump_impl.h" | 56 #include "content/child/web_process_memory_dump_impl.h" |
| 57 #include "content/child/web_url_loader_impl.h" | 57 #include "content/child/web_url_loader_impl.h" |
| 58 #include "content/child/web_url_request_util.h" | 58 #include "content/child/web_url_request_util.h" |
| 59 #include "content/child/websocket_bridge.h" | 59 #include "content/child/websocket_bridge.h" |
| 60 #include "content/child/worker_task_runner.h" | 60 #include "content/child/worker_task_runner.h" |
| 61 #include "content/public/common/content_client.h" | 61 #include "content/public/common/content_client.h" |
| 62 #include "net/base/data_url.h" | 62 #include "net/base/data_url.h" |
| 63 #include "net/base/ip_address_number.h" | 63 #include "net/base/ip_address_number.h" |
| 64 #include "net/base/net_errors.h" | 64 #include "net/base/net_errors.h" |
| 65 #include "net/base/net_util.h" | 65 #include "net/base/port_util.h" |
| 66 #include "third_party/WebKit/public/platform/WebConvertableToTraceFormat.h" | 66 #include "third_party/WebKit/public/platform/WebConvertableToTraceFormat.h" |
| 67 #include "third_party/WebKit/public/platform/WebData.h" | 67 #include "third_party/WebKit/public/platform/WebData.h" |
| 68 #include "third_party/WebKit/public/platform/WebFloatPoint.h" | 68 #include "third_party/WebKit/public/platform/WebFloatPoint.h" |
| 69 #include "third_party/WebKit/public/platform/WebMemoryDumpProvider.h" | 69 #include "third_party/WebKit/public/platform/WebMemoryDumpProvider.h" |
| 70 #include "third_party/WebKit/public/platform/WebString.h" | 70 #include "third_party/WebKit/public/platform/WebString.h" |
| 71 #include "third_party/WebKit/public/platform/WebURL.h" | 71 #include "third_party/WebKit/public/platform/WebURL.h" |
| 72 #include "third_party/WebKit/public/platform/WebWaitableEvent.h" | 72 #include "third_party/WebKit/public/platform/WebWaitableEvent.h" |
| 73 #include "third_party/WebKit/public/web/WebSecurityOrigin.h" | 73 #include "third_party/WebKit/public/web/WebSecurityOrigin.h" |
| 74 #include "ui/base/layout.h" | 74 #include "ui/base/layout.h" |
| 75 #include "ui/events/gestures/blink/web_gesture_curve_impl.h" | 75 #include "ui/events/gestures/blink/web_gesture_curve_impl.h" |
| (...skipping 1304 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1380 return WebString::fromUTF8(ui::KeycodeConverter::DomCodeToCodeString( | 1380 return WebString::fromUTF8(ui::KeycodeConverter::DomCodeToCodeString( |
| 1381 static_cast<ui::DomCode>(dom_code))); | 1381 static_cast<ui::DomCode>(dom_code))); |
| 1382 } | 1382 } |
| 1383 | 1383 |
| 1384 int BlinkPlatformImpl::domEnumFromCodeString(const WebString& code) { | 1384 int BlinkPlatformImpl::domEnumFromCodeString(const WebString& code) { |
| 1385 return static_cast<int>(ui::KeycodeConverter::CodeStringToDomCode( | 1385 return static_cast<int>(ui::KeycodeConverter::CodeStringToDomCode( |
| 1386 code.utf8().data())); | 1386 code.utf8().data())); |
| 1387 } | 1387 } |
| 1388 | 1388 |
| 1389 } // namespace content | 1389 } // namespace content |
| OLD | NEW |