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

Side by Side Diff: content/renderer/gamepad_shared_memory_reader.cc

Issue 862403005: Mechanical rename of tracing includes for /content [2/3] (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 11 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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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/renderer/gamepad_shared_memory_reader.h" 5 #include "content/renderer/gamepad_shared_memory_reader.h"
6 6
7 #include "base/debug/trace_event.h"
8 #include "base/metrics/histogram.h" 7 #include "base/metrics/histogram.h"
8 #include "base/trace_event/trace_event.h"
9 #include "content/common/gamepad_hardware_buffer.h" 9 #include "content/common/gamepad_hardware_buffer.h"
10 #include "content/common/gamepad_user_gesture.h" 10 #include "content/common/gamepad_user_gesture.h"
11 #include "content/public/renderer/render_thread.h" 11 #include "content/public/renderer/render_thread.h"
12 #include "content/renderer/renderer_blink_platform_impl.h" 12 #include "content/renderer/renderer_blink_platform_impl.h"
13 #include "ipc/ipc_sync_message_filter.h" 13 #include "ipc/ipc_sync_message_filter.h"
14 #include "third_party/WebKit/public/platform/WebGamepadListener.h" 14 #include "third_party/WebKit/public/platform/WebGamepadListener.h"
15 #include "third_party/WebKit/public/platform/WebPlatformEventListener.h" 15 #include "third_party/WebKit/public/platform/WebPlatformEventListener.h"
16 16
17 namespace content { 17 namespace content {
18 18
(...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after
130 } 130 }
131 131
132 void GamepadSharedMemoryReader::OnGamepadDisconnected( 132 void GamepadSharedMemoryReader::OnGamepadDisconnected(
133 int index, 133 int index,
134 const blink::WebGamepad& gamepad) { 134 const blink::WebGamepad& gamepad) {
135 if (listener()) 135 if (listener())
136 listener()->didDisconnectGamepad(index, gamepad); 136 listener()->didDisconnectGamepad(index, gamepad);
137 } 137 }
138 138
139 } // namespace content 139 } // namespace content
OLDNEW
« no previous file with comments | « content/renderer/devtools/v8_sampling_profiler_browsertest.cc ('k') | content/renderer/input/input_event_filter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698