Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(235)

Side by Side Diff: content/child/blink_platform_impl.cc

Issue 1230313005: split port_util.h off of net_util.h (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: remove garbage that got added Created 5 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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 1295 matching lines...) Expand 10 before | Expand all | Expand 10 after
1371 return WebString::fromUTF8(ui::KeycodeConverter::DomCodeToCodeString( 1371 return WebString::fromUTF8(ui::KeycodeConverter::DomCodeToCodeString(
1372 static_cast<ui::DomCode>(dom_code))); 1372 static_cast<ui::DomCode>(dom_code)));
1373 } 1373 }
1374 1374
1375 int BlinkPlatformImpl::domEnumFromCodeString(const WebString& code) { 1375 int BlinkPlatformImpl::domEnumFromCodeString(const WebString& code) {
1376 return static_cast<int>(ui::KeycodeConverter::CodeStringToDomCode( 1376 return static_cast<int>(ui::KeycodeConverter::CodeStringToDomCode(
1377 code.utf8().data())); 1377 code.utf8().data()));
1378 } 1378 }
1379 1379
1380 } // namespace content 1380 } // namespace content
OLDNEW
« no previous file with comments | « chrome/browser/ui/startup/startup_browser_creator.cc ('k') | content/renderer/pepper/pepper_websocket_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698