| 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 <memory> | 9 #include <memory> |
| 10 #include <vector> | 10 #include <vector> |
| (...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_url_loader_impl.h" | 52 #include "content/child/web_url_loader_impl.h" |
| 53 #include "content/child/web_url_request_util.h" | 53 #include "content/child/web_url_request_util.h" |
| 54 #include "content/child/websocket_bridge.h" | 54 #include "content/child/websocket_bridge.h" |
| 55 #include "content/child/worker_thread_registry.h" | 55 #include "content/child/worker_thread_registry.h" |
| 56 #include "content/public/common/content_client.h" | 56 #include "content/public/common/content_client.h" |
| 57 #include "net/base/data_url.h" | 57 #include "net/base/data_url.h" |
| 58 #include "net/base/net_errors.h" | 58 #include "net/base/net_errors.h" |
| 59 #include "third_party/WebKit/public/platform/WebData.h" | 59 #include "third_party/WebKit/public/platform/WebData.h" |
| 60 #include "third_party/WebKit/public/platform/WebFloatPoint.h" | 60 #include "third_party/WebKit/public/platform/WebFloatPoint.h" |
| 61 #include "third_party/WebKit/public/platform/WebMemoryDumpProvider.h" | |
| 62 #include "third_party/WebKit/public/platform/WebSecurityOrigin.h" | 61 #include "third_party/WebKit/public/platform/WebSecurityOrigin.h" |
| 63 #include "third_party/WebKit/public/platform/WebString.h" | 62 #include "third_party/WebKit/public/platform/WebString.h" |
| 64 #include "third_party/WebKit/public/platform/WebURL.h" | 63 #include "third_party/WebKit/public/platform/WebURL.h" |
| 65 #include "ui/base/layout.h" | 64 #include "ui/base/layout.h" |
| 66 #include "ui/events/gestures/blink/web_gesture_curve_impl.h" | 65 #include "ui/events/gestures/blink/web_gesture_curve_impl.h" |
| 67 #include "ui/events/keycodes/dom/keycode_converter.h" | 66 #include "ui/events/keycodes/dom/keycode_converter.h" |
| 68 | 67 |
| 69 using blink::WebData; | 68 using blink::WebData; |
| 70 using blink::WebFallbackThemeEngine; | 69 using blink::WebFallbackThemeEngine; |
| 71 using blink::WebLocalizedString; | 70 using blink::WebLocalizedString; |
| (...skipping 927 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 999 return WebString::fromUTF8(ui::KeycodeConverter::DomKeyToKeyString( | 998 return WebString::fromUTF8(ui::KeycodeConverter::DomKeyToKeyString( |
| 1000 static_cast<ui::DomKey>(dom_key))); | 999 static_cast<ui::DomKey>(dom_key))); |
| 1001 } | 1000 } |
| 1002 | 1001 |
| 1003 int BlinkPlatformImpl::domKeyEnumFromString(const WebString& key_string) { | 1002 int BlinkPlatformImpl::domKeyEnumFromString(const WebString& key_string) { |
| 1004 return static_cast<int>( | 1003 return static_cast<int>( |
| 1005 ui::KeycodeConverter::KeyStringToDomKey(key_string.utf8())); | 1004 ui::KeycodeConverter::KeyStringToDomKey(key_string.utf8())); |
| 1006 } | 1005 } |
| 1007 | 1006 |
| 1008 } // namespace content | 1007 } // namespace content |
| OLD | NEW |