| 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 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 54 #include "net/base/net_util.h" | 54 #include "net/base/net_util.h" |
| 55 #include "third_party/WebKit/public/platform/WebConvertableToTraceFormat.h" | 55 #include "third_party/WebKit/public/platform/WebConvertableToTraceFormat.h" |
| 56 #include "third_party/WebKit/public/platform/WebData.h" | 56 #include "third_party/WebKit/public/platform/WebData.h" |
| 57 #include "third_party/WebKit/public/platform/WebFloatPoint.h" | 57 #include "third_party/WebKit/public/platform/WebFloatPoint.h" |
| 58 #include "third_party/WebKit/public/platform/WebString.h" | 58 #include "third_party/WebKit/public/platform/WebString.h" |
| 59 #include "third_party/WebKit/public/platform/WebURL.h" | 59 #include "third_party/WebKit/public/platform/WebURL.h" |
| 60 #include "third_party/WebKit/public/platform/WebWaitableEvent.h" | 60 #include "third_party/WebKit/public/platform/WebWaitableEvent.h" |
| 61 #include "third_party/WebKit/public/web/WebSecurityOrigin.h" | 61 #include "third_party/WebKit/public/web/WebSecurityOrigin.h" |
| 62 #include "ui/base/layout.h" | 62 #include "ui/base/layout.h" |
| 63 #include "ui/events/gestures/blink/web_gesture_curve_impl.h" | 63 #include "ui/events/gestures/blink/web_gesture_curve_impl.h" |
| 64 #include "ui/events/keycodes/dom4/keycode_converter.h" | 64 #include "ui/events/keycodes/dom/keycode_converter.h" |
| 65 | 65 |
| 66 using blink::WebData; | 66 using blink::WebData; |
| 67 using blink::WebFallbackThemeEngine; | 67 using blink::WebFallbackThemeEngine; |
| 68 using blink::WebLocalizedString; | 68 using blink::WebLocalizedString; |
| 69 using blink::WebString; | 69 using blink::WebString; |
| 70 using blink::WebThemeEngine; | 70 using blink::WebThemeEngine; |
| 71 using blink::WebURL; | 71 using blink::WebURL; |
| 72 using blink::WebURLError; | 72 using blink::WebURLError; |
| 73 using blink::WebURLLoader; | 73 using blink::WebURLLoader; |
| 74 | 74 |
| (...skipping 1263 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1338 return WebString::fromUTF8(ui::KeycodeConverter::DomCodeToCodeString( | 1338 return WebString::fromUTF8(ui::KeycodeConverter::DomCodeToCodeString( |
| 1339 static_cast<ui::DomCode>(dom_code))); | 1339 static_cast<ui::DomCode>(dom_code))); |
| 1340 } | 1340 } |
| 1341 | 1341 |
| 1342 int BlinkPlatformImpl::domEnumFromCodeString(const WebString& code) { | 1342 int BlinkPlatformImpl::domEnumFromCodeString(const WebString& code) { |
| 1343 return static_cast<int>(ui::KeycodeConverter::CodeStringToDomCode( | 1343 return static_cast<int>(ui::KeycodeConverter::CodeStringToDomCode( |
| 1344 code.utf8().data())); | 1344 code.utf8().data())); |
| 1345 } | 1345 } |
| 1346 | 1346 |
| 1347 } // namespace content | 1347 } // namespace content |
| OLD | NEW |