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

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

Issue 2303653005: Migrate content/ files to histogram_macros.h includes. (Closed)
Patch Set: Created 4 years, 3 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/metrics/histogram.h" 7 #include "base/metrics/histogram_macros.h"
8 #include "base/trace_event/trace_event.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/public/renderer/render_thread.h" 10 #include "content/public/renderer/render_thread.h"
11 #include "content/renderer/renderer_blink_platform_impl.h" 11 #include "content/renderer/renderer_blink_platform_impl.h"
12 #include "ipc/ipc_sync_message_filter.h" 12 #include "ipc/ipc_sync_message_filter.h"
13 #include "third_party/WebKit/public/platform/WebGamepadListener.h" 13 #include "third_party/WebKit/public/platform/WebGamepadListener.h"
14 #include "third_party/WebKit/public/platform/WebPlatformEventListener.h" 14 #include "third_party/WebKit/public/platform/WebPlatformEventListener.h"
15 15
16 namespace content { 16 namespace content {
17 17
(...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after
129 } 129 }
130 130
131 void GamepadSharedMemoryReader::OnGamepadDisconnected( 131 void GamepadSharedMemoryReader::OnGamepadDisconnected(
132 int index, 132 int index,
133 const blink::WebGamepad& gamepad) { 133 const blink::WebGamepad& gamepad) {
134 if (listener()) 134 if (listener())
135 listener()->didDisconnectGamepad(index, gamepad); 135 listener()->didDisconnectGamepad(index, gamepad);
136 } 136 }
137 137
138 } // namespace content 138 } // namespace content
OLDNEW
« no previous file with comments | « content/renderer/dom_storage/webstoragearea_impl.cc ('k') | content/renderer/manifest/manifest_uma_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698