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

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

Issue 1544273002: Switch to standard integer types in content/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 12 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
« no previous file with comments | « content/child/blink_platform_impl.h ('k') | content/child/blink_platform_impl_unittest.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
11 #include "base/bind.h" 11 #include "base/bind.h"
12 #include "base/files/file_path.h" 12 #include "base/files/file_path.h"
13 #include "base/location.h" 13 #include "base/location.h"
14 #include "base/macros.h"
14 #include "base/memory/scoped_ptr.h" 15 #include "base/memory/scoped_ptr.h"
15 #include "base/memory/singleton.h" 16 #include "base/memory/singleton.h"
16 #include "base/metrics/histogram.h" 17 #include "base/metrics/histogram.h"
17 #include "base/metrics/sparse_histogram.h" 18 #include "base/metrics/sparse_histogram.h"
18 #include "base/rand_util.h" 19 #include "base/rand_util.h"
19 #include "base/single_thread_task_runner.h" 20 #include "base/single_thread_task_runner.h"
20 #include "base/strings/string_number_conversions.h" 21 #include "base/strings/string_number_conversions.h"
21 #include "base/strings/string_util.h" 22 #include "base/strings/string_util.h"
22 #include "base/strings/utf_string_conversions.h" 23 #include "base/strings/utf_string_conversions.h"
23 #include "base/synchronization/lock.h" 24 #include "base/synchronization/lock.h"
24 #include "base/synchronization/waitable_event.h" 25 #include "base/synchronization/waitable_event.h"
25 #include "base/sys_info.h" 26 #include "base/sys_info.h"
26 #include "base/thread_task_runner_handle.h" 27 #include "base/thread_task_runner_handle.h"
27 #include "base/threading/platform_thread.h" 28 #include "base/threading/platform_thread.h"
28 #include "base/threading/thread.h" 29 #include "base/threading/thread.h"
29 #include "base/time/time.h" 30 #include "base/time/time.h"
30 #include "base/trace_event/memory_allocator_dump_guid.h" 31 #include "base/trace_event/memory_allocator_dump_guid.h"
31 #include "base/trace_event/memory_dump_manager.h" 32 #include "base/trace_event/memory_dump_manager.h"
32 #include "base/trace_event/trace_event.h" 33 #include "base/trace_event/trace_event.h"
33 #include "blink/public/resources/grit/blink_image_resources.h" 34 #include "blink/public/resources/grit/blink_image_resources.h"
34 #include "blink/public/resources/grit/blink_resources.h" 35 #include "blink/public/resources/grit/blink_resources.h"
36 #include "build/build_config.h"
35 #include "components/mime_util/mime_util.h" 37 #include "components/mime_util/mime_util.h"
36 #include "components/scheduler/child/web_task_runner_impl.h" 38 #include "components/scheduler/child/web_task_runner_impl.h"
37 #include "components/scheduler/child/webthread_impl_for_worker_scheduler.h" 39 #include "components/scheduler/child/webthread_impl_for_worker_scheduler.h"
38 #include "content/app/resources/grit/content_resources.h" 40 #include "content/app/resources/grit/content_resources.h"
39 #include "content/app/strings/grit/content_strings.h" 41 #include "content/app/strings/grit/content_strings.h"
40 #include "content/child/background_sync/background_sync_provider.h" 42 #include "content/child/background_sync/background_sync_provider.h"
41 #include "content/child/child_thread_impl.h" 43 #include "content/child/child_thread_impl.h"
42 #include "content/child/content_child_helpers.h" 44 #include "content/child/content_child_helpers.h"
43 #include "content/child/geofencing/web_geofencing_provider_impl.h" 45 #include "content/child/geofencing/web_geofencing_provider_impl.h"
44 #include "content/child/navigator_connect/service_port_provider.h" 46 #include "content/child/navigator_connect/service_port_provider.h"
(...skipping 1263 matching lines...) Expand 10 before | Expand all | Expand 10 after
1308 return WebString::fromUTF8(ui::KeycodeConverter::DomKeyToKeyString( 1310 return WebString::fromUTF8(ui::KeycodeConverter::DomKeyToKeyString(
1309 static_cast<ui::DomKey>(dom_key))); 1311 static_cast<ui::DomKey>(dom_key)));
1310 } 1312 }
1311 1313
1312 int BlinkPlatformImpl::domKeyEnumFromString(const WebString& key_string) { 1314 int BlinkPlatformImpl::domKeyEnumFromString(const WebString& key_string) {
1313 return static_cast<int>( 1315 return static_cast<int>(
1314 ui::KeycodeConverter::KeyStringToDomKey(key_string.utf8())); 1316 ui::KeycodeConverter::KeyStringToDomKey(key_string.utf8()));
1315 } 1317 }
1316 1318
1317 } // namespace content 1319 } // namespace content
OLDNEW
« no previous file with comments | « content/child/blink_platform_impl.h ('k') | content/child/blink_platform_impl_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698