summaryrefslogtreecommitdiffstats
path: root/content/renderer
diff options
context:
space:
mode:
authorjdduke@chromium.org <jdduke@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-12-13 10:01:13 +0000
committerjdduke@chromium.org <jdduke@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-12-13 10:01:13 +0000
commit7a72d45674bcd17b9bcabe8b37d316a6af5b923e (patch)
treed3d5b0a697bcf4084316925f470e7949f149817d /content/renderer
parentb7cd4603fead2f7da7227f157833e90ea44b8e15 (diff)
downloadchromium_src-7a72d45674bcd17b9bcabe8b37d316a6af5b923e.zip
chromium_src-7a72d45674bcd17b9bcabe8b37d316a6af5b923e.tar.gz
chromium_src-7a72d45674bcd17b9bcabe8b37d316a6af5b923e.tar.bz2
Move input files in content/renderer/gpu to content/renderer/input
The input-related files in gpu/, while used conditionally only with threaded compositing, are logically unrelated to the rest of that folder's contents. Move them to an input/ folder, easing the review burden and isolating input churn from gpu churn. TBR=jam@chromium.org Review URL: https://codereview.chromium.org/114213002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@240579 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/renderer')
-rw-r--r--content/renderer/gpu/render_widget_compositor.cc2
-rw-r--r--content/renderer/input/OWNERS2
-rw-r--r--content/renderer/input/input_event_filter.cc (renamed from content/renderer/gpu/input_event_filter.cc)5
-rw-r--r--content/renderer/input/input_event_filter.h (renamed from content/renderer/gpu/input_event_filter.h)10
-rw-r--r--content/renderer/input/input_event_filter_unittest.cc (renamed from content/renderer/gpu/input_event_filter_unittest.cc)4
-rw-r--r--content/renderer/input/input_handler_manager.cc (renamed from content/renderer/gpu/input_handler_manager.cc)10
-rw-r--r--content/renderer/input/input_handler_manager.h (renamed from content/renderer/gpu/input_handler_manager.h)8
-rw-r--r--content/renderer/input/input_handler_manager_client.h (renamed from content/renderer/gpu/input_handler_manager_client.h)4
-rw-r--r--content/renderer/input/input_handler_proxy.cc (renamed from content/renderer/gpu/input_handler_proxy.cc)6
-rw-r--r--content/renderer/input/input_handler_proxy.h (renamed from content/renderer/gpu/input_handler_proxy.h)12
-rw-r--r--content/renderer/input/input_handler_proxy_client.h (renamed from content/renderer/gpu/input_handler_proxy_client.h)8
-rw-r--r--content/renderer/input/input_handler_proxy_unittest.cc (renamed from content/renderer/gpu/input_handler_proxy_unittest.cc)6
-rw-r--r--content/renderer/input/input_handler_wrapper.cc (renamed from content/renderer/gpu/input_handler_wrapper.cc)8
-rw-r--r--content/renderer/input/input_handler_wrapper.h (renamed from content/renderer/gpu/input_handler_wrapper.h)14
-rw-r--r--content/renderer/render_thread_impl.cc4
-rw-r--r--content/renderer/render_view_impl.cc2
-rw-r--r--content/renderer/render_widget.cc2
17 files changed, 55 insertions, 52 deletions
diff --git a/content/renderer/gpu/render_widget_compositor.cc b/content/renderer/gpu/render_widget_compositor.cc
index b4c147f..90ae2fe 100644
--- a/content/renderer/gpu/render_widget_compositor.cc
+++ b/content/renderer/gpu/render_widget_compositor.cc
@@ -26,7 +26,7 @@
#include "cc/trees/layer_tree_host.h"
#include "content/common/gpu/client/context_provider_command_buffer.h"
#include "content/public/common/content_switches.h"
-#include "content/renderer/gpu/input_handler_manager.h"
+#include "content/renderer/input/input_handler_manager.h"
#include "content/renderer/render_thread_impl.h"
#include "third_party/WebKit/public/platform/WebSize.h"
#include "third_party/WebKit/public/web/WebWidget.h"
diff --git a/content/renderer/input/OWNERS b/content/renderer/input/OWNERS
new file mode 100644
index 0000000..d012c83
--- /dev/null
+++ b/content/renderer/input/OWNERS
@@ -0,0 +1,2 @@
+aelias@chromium.org
+jdduke@chromium.org
diff --git a/content/renderer/gpu/input_event_filter.cc b/content/renderer/input/input_event_filter.cc
index 99ca07d..9aaaa19 100644
--- a/content/renderer/gpu/input_event_filter.cc
+++ b/content/renderer/input/input_event_filter.cc
@@ -1,7 +1,9 @@
-// Copyright (c) 2012 The Chromium Authors. All rights reserved.
+// Copyright 2013 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
+#include "content/renderer/input/input_event_filter.h"
+
#include "base/bind.h"
#include "base/command_line.h"
#include "base/debug/trace_event.h"
@@ -11,7 +13,6 @@
#include "content/common/input_messages.h"
#include "content/common/view_messages.h"
#include "content/public/common/content_switches.h"
-#include "content/renderer/gpu/input_event_filter.h"
#include "ui/gfx/vector2d_f.h"
using blink::WebInputEvent;
diff --git a/content/renderer/gpu/input_event_filter.h b/content/renderer/input/input_event_filter.h
index f155693..240f939 100644
--- a/content/renderer/gpu/input_event_filter.h
+++ b/content/renderer/input/input_event_filter.h
@@ -1,9 +1,9 @@
-// Copyright (c) 2011 The Chromium Authors. All rights reserved.
+// Copyright 2013 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef CONTENT_RENDERER_GPU_INPUT_EVENT_FILTER_H_
-#define CONTENT_RENDERER_GPU_INPUT_EVENT_FILTER_H_
+#ifndef CONTENT_RENDERER_INPUT_INPUT_EVENT_FILTER_H_
+#define CONTENT_RENDERER_INPUT_INPUT_EVENT_FILTER_H_
#include <queue>
#include <set>
@@ -12,7 +12,7 @@
#include "base/synchronization/lock.h"
#include "content/common/content_export.h"
#include "content/port/common/input_event_ack_state.h"
-#include "content/renderer/gpu/input_handler_manager_client.h"
+#include "content/renderer/input/input_handler_manager_client.h"
#include "ipc/ipc_channel_proxy.h"
#include "third_party/WebKit/public/web/WebInputEvent.h"
@@ -91,4 +91,4 @@ class CONTENT_EXPORT InputEventFilter
} // namespace content
-#endif // CONTENT_RENDERER_GPU_INPUT_EVENT_FILTER_H_
+#endif // CONTENT_RENDERER_INPUT_INPUT_EVENT_FILTER_H_
diff --git a/content/renderer/gpu/input_event_filter_unittest.cc b/content/renderer/input/input_event_filter_unittest.cc
index 675d38c..a131ceb 100644
--- a/content/renderer/gpu/input_event_filter_unittest.cc
+++ b/content/renderer/input/input_event_filter_unittest.cc
@@ -1,4 +1,4 @@
-// Copyright (c) 2012 The Chromium Authors. All rights reserved.
+// Copyright 2013 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
@@ -10,7 +10,7 @@
#include "base/message_loop/message_loop.h"
#include "content/common/input_messages.h"
#include "content/common/view_messages.h"
-#include "content/renderer/gpu/input_event_filter.h"
+#include "content/renderer/input/input_event_filter.h"
#include "ipc/ipc_test_sink.h"
#include "testing/gtest/include/gtest/gtest.h"
diff --git a/content/renderer/gpu/input_handler_manager.cc b/content/renderer/input/input_handler_manager.cc
index bf04859..6195f51 100644
--- a/content/renderer/gpu/input_handler_manager.cc
+++ b/content/renderer/input/input_handler_manager.cc
@@ -1,16 +1,16 @@
-// Copyright (c) 2012 The Chromium Authors. All rights reserved.
+// Copyright 2013 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#include "content/renderer/gpu/input_handler_manager.h"
+#include "content/renderer/input/input_handler_manager.h"
#include "base/bind.h"
#include "base/debug/trace_event.h"
#include "base/message_loop/message_loop_proxy.h"
#include "cc/input/input_handler.h"
-#include "content/renderer/gpu/input_event_filter.h"
-#include "content/renderer/gpu/input_handler_manager_client.h"
-#include "content/renderer/gpu/input_handler_wrapper.h"
+#include "content/renderer/input/input_event_filter.h"
+#include "content/renderer/input/input_handler_manager_client.h"
+#include "content/renderer/input/input_handler_wrapper.h"
using blink::WebInputEvent;
diff --git a/content/renderer/gpu/input_handler_manager.h b/content/renderer/input/input_handler_manager.h
index 624fb27..f2df041 100644
--- a/content/renderer/gpu/input_handler_manager.h
+++ b/content/renderer/input/input_handler_manager.h
@@ -1,9 +1,9 @@
-// Copyright (c) 2012 The Chromium Authors. All rights reserved.
+// Copyright 2013 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef CONTENT_RENDERER_GPU_INPUT_HANDLER_MANAGER_H_
-#define CONTENT_RENDERER_GPU_INPUT_HANDLER_MANAGER_H_
+#ifndef CONTENT_RENDERER_INPUT_INPUT_HANDLER_MANAGER_H_
+#define CONTENT_RENDERER_INPUT_INPUT_HANDLER_MANAGER_H_
#include "base/containers/scoped_ptr_hash_map.h"
#include "base/memory/ref_counted.h"
@@ -75,4 +75,4 @@ class InputHandlerManager {
} // namespace content
-#endif // CONTENT_RENDERER_GPU_INPUT_HANDLER_MANAGER_H_
+#endif // CONTENT_RENDERER_INPUT_INPUT_HANDLER_MANAGER_H_
diff --git a/content/renderer/gpu/input_handler_manager_client.h b/content/renderer/input/input_handler_manager_client.h
index d65b285..0a36e50 100644
--- a/content/renderer/gpu/input_handler_manager_client.h
+++ b/content/renderer/input/input_handler_manager_client.h
@@ -2,8 +2,8 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef CONTENT_RENDERER_GPU_INPUT_HANDLER_MANAGER_CLIENT_H_
-#define CONTENT_RENDERER_GPU_INPUT_HANDLER_MANAGER_CLIENT_H_
+#ifndef CONTENT_RENDERER_INPUT_INPUT_HANDLER_MANAGER_CLIENT_H_
+#define CONTENT_RENDERER_INPUT_INPUT_HANDLER_MANAGER_CLIENT_H_
#include "base/basictypes.h"
#include "base/callback.h"
diff --git a/content/renderer/gpu/input_handler_proxy.cc b/content/renderer/input/input_handler_proxy.cc
index f8c86cd..71a39dc 100644
--- a/content/renderer/gpu/input_handler_proxy.cc
+++ b/content/renderer/input/input_handler_proxy.cc
@@ -1,13 +1,13 @@
-// Copyright (c) 2013 The Chromium Authors. All rights reserved.
+// Copyright 2013 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#include "content/renderer/gpu/input_handler_proxy.h"
+#include "content/renderer/input/input_handler_proxy.h"
#include "base/debug/trace_event.h"
#include "base/logging.h"
#include "base/metrics/histogram.h"
-#include "content/renderer/gpu/input_handler_proxy_client.h"
+#include "content/renderer/input/input_handler_proxy_client.h"
#include "third_party/WebKit/public/platform/Platform.h"
#include "third_party/WebKit/public/web/WebInputEvent.h"
#include "ui/events/latency_info.h"
diff --git a/content/renderer/gpu/input_handler_proxy.h b/content/renderer/input/input_handler_proxy.h
index 5063b9a..46f88ab 100644
--- a/content/renderer/gpu/input_handler_proxy.h
+++ b/content/renderer/input/input_handler_proxy.h
@@ -1,19 +1,19 @@
-// Copyright (c) 2013 The Chromium Authors. All rights reserved.
+// Copyright 2013 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef CONTENT_RENDERER_GPU_INPUT_HANDLER_PROXY_H_
-#define CONTENT_RENDERER_GPU_INPUT_HANDLER_PROXY_H_
+#ifndef CONTENT_RENDERER_INPUT_INPUT_HANDLER_PROXY_H_
+#define CONTENT_RENDERER_INPUT_INPUT_HANDLER_PROXY_H_
#include "base/basictypes.h"
#include "base/containers/hash_tables.h"
#include "base/memory/scoped_ptr.h"
#include "cc/input/input_handler.h"
#include "content/common/content_export.h"
-#include "third_party/WebKit/public/web/WebActiveWheelFlingParameters.h"
-#include "third_party/WebKit/public/web/WebInputEvent.h"
#include "third_party/WebKit/public/platform/WebGestureCurve.h"
#include "third_party/WebKit/public/platform/WebGestureCurveTarget.h"
+#include "third_party/WebKit/public/web/WebActiveWheelFlingParameters.h"
+#include "third_party/WebKit/public/web/WebInputEvent.h"
namespace content {
@@ -92,4 +92,4 @@ class CONTENT_EXPORT InputHandlerProxy
} // namespace content
-#endif // CONTENT_RENDERER_GPU_INPUT_HANDLER_PROXY_H_
+#endif // CONTENT_RENDERER_INPUT_INPUT_HANDLER_PROXY_H_
diff --git a/content/renderer/gpu/input_handler_proxy_client.h b/content/renderer/input/input_handler_proxy_client.h
index 2b9b9ef..7ef1121 100644
--- a/content/renderer/gpu/input_handler_proxy_client.h
+++ b/content/renderer/input/input_handler_proxy_client.h
@@ -1,9 +1,9 @@
-// Copyright (c) 2013 The Chromium Authors. All rights reserved.
+// Copyright 2013 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef CONTENT_RENDERER_GPU_INPUT_HANDLER_PROXY_CLIENT_H_
-#define CONTENT_RENDERER_GPU_INPUT_HANDLER_PROXY_CLIENT_H_
+#ifndef CONTENT_RENDERER_INPUT_INPUT_HANDLER_PROXY_CLIENT_H_
+#define CONTENT_RENDERER_INPUT_INPUT_HANDLER_PROXY_CLIENT_H_
namespace blink {
class WebGestureCurve;
@@ -40,4 +40,4 @@ class InputHandlerProxyClient {
} // namespace content
-#endif // CONTENT_RENDERER_GPU_INPUT_HANDLER_PROXY_CLIENT_H_
+#endif // CONTENT_RENDERER_INPUT_INPUT_HANDLER_PROXY_CLIENT_H_
diff --git a/content/renderer/gpu/input_handler_proxy_unittest.cc b/content/renderer/input/input_handler_proxy_unittest.cc
index 83b8120..c7cc916 100644
--- a/content/renderer/gpu/input_handler_proxy_unittest.cc
+++ b/content/renderer/input/input_handler_proxy_unittest.cc
@@ -1,13 +1,13 @@
-// Copyright (c) 2013 The Chromium Authors. All rights reserved.
+// Copyright 2013 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#include "content/renderer/gpu/input_handler_proxy.h"
+#include "content/renderer/input/input_handler_proxy.h"
#include "base/basictypes.h"
#include "base/memory/scoped_ptr.h"
#include "cc/base/swap_promise_monitor.h"
-#include "content/renderer/gpu/input_handler_proxy_client.h"
+#include "content/renderer/input/input_handler_proxy_client.h"
#include "testing/gmock/include/gmock/gmock.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "third_party/WebKit/public/platform/WebFloatPoint.h"
diff --git a/content/renderer/gpu/input_handler_wrapper.cc b/content/renderer/input/input_handler_wrapper.cc
index 502819b..14e23eb 100644
--- a/content/renderer/gpu/input_handler_wrapper.cc
+++ b/content/renderer/input/input_handler_wrapper.cc
@@ -1,12 +1,12 @@
-// Copyright (c) 2013 The Chromium Authors. All rights reserved.
+// Copyright 2013 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#include "content/renderer/gpu/input_handler_wrapper.h"
+#include "content/renderer/input/input_handler_wrapper.h"
#include "base/message_loop/message_loop_proxy.h"
-#include "content/renderer/gpu/input_event_filter.h"
-#include "content/renderer/gpu/input_handler_manager.h"
+#include "content/renderer/input/input_event_filter.h"
+#include "content/renderer/input/input_handler_manager.h"
#include "third_party/WebKit/public/platform/Platform.h"
namespace content {
diff --git a/content/renderer/gpu/input_handler_wrapper.h b/content/renderer/input/input_handler_wrapper.h
index 0511403..562012a 100644
--- a/content/renderer/gpu/input_handler_wrapper.h
+++ b/content/renderer/input/input_handler_wrapper.h
@@ -1,14 +1,14 @@
-// Copyright (c) 2013 The Chromium Authors. All rights reserved.
+// Copyright 2013 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef CONTENT_RENDERER_GPU_INPUT_HANDLER_WRAPPER_H_
-#define CONTENT_RENDERER_GPU_INPUT_HANDLER_WRAPPER_H_
+#ifndef CONTENT_RENDERER_INPUT_INPUT_HANDLER_WRAPPER_H_
+#define CONTENT_RENDERER_INPUT_INPUT_HANDLER_WRAPPER_H_
#include "base/memory/weak_ptr.h"
-#include "content/renderer/gpu/input_handler_manager.h"
-#include "content/renderer/gpu/input_handler_proxy.h"
-#include "content/renderer/gpu/input_handler_proxy_client.h"
+#include "content/renderer/input/input_handler_manager.h"
+#include "content/renderer/input/input_handler_proxy.h"
+#include "content/renderer/input/input_handler_proxy_client.h"
namespace content {
@@ -49,4 +49,4 @@ class InputHandlerWrapper : public InputHandlerProxyClient {
} // namespace content
-#endif // CONTENT_RENDERER_GPU_INPUT_HANDLER_WRAPPER_H_
+#endif // CONTENT_RENDERER_INPUT_INPUT_HANDLER_WRAPPER_H_
diff --git a/content/renderer/render_thread_impl.cc b/content/renderer/render_thread_impl.cc
index 56a15b0..95b0931 100644
--- a/content/renderer/render_thread_impl.cc
+++ b/content/renderer/render_thread_impl.cc
@@ -64,8 +64,8 @@
#include "content/renderer/gamepad_shared_memory_reader.h"
#include "content/renderer/gpu/compositor_output_surface.h"
#include "content/renderer/gpu/gpu_benchmarking_extension.h"
-#include "content/renderer/gpu/input_event_filter.h"
-#include "content/renderer/gpu/input_handler_manager.h"
+#include "content/renderer/input/input_event_filter.h"
+#include "content/renderer/input/input_handler_manager.h"
#include "content/renderer/media/audio_input_message_filter.h"
#include "content/renderer/media/audio_message_filter.h"
#include "content/renderer/media/audio_renderer_mixer_manager.h"
diff --git a/content/renderer/render_view_impl.cc b/content/renderer/render_view_impl.cc
index e8ba84a..869bac2 100644
--- a/content/renderer/render_view_impl.cc
+++ b/content/renderer/render_view_impl.cc
@@ -85,11 +85,11 @@
#include "content/renderer/external_popup_menu.h"
#include "content/renderer/fetchers/alt_error_page_resource_fetcher.h"
#include "content/renderer/geolocation_dispatcher.h"
-#include "content/renderer/gpu/input_handler_manager.h"
#include "content/renderer/gpu/render_widget_compositor.h"
#include "content/renderer/idle_user_detector.h"
#include "content/renderer/image_loading_helper.h"
#include "content/renderer/ime_event_guard.h"
+#include "content/renderer/input/input_handler_manager.h"
#include "content/renderer/input_tag_speech_dispatcher.h"
#include "content/renderer/internal_document_state_data.h"
#include "content/renderer/java/java_bridge_dispatcher.h"
diff --git a/content/renderer/render_widget.cc b/content/renderer/render_widget.cc
index b44c0f7..0a6acf6 100644
--- a/content/renderer/render_widget.cc
+++ b/content/renderer/render_widget.cc
@@ -34,10 +34,10 @@
#include "content/renderer/gpu/compositor_output_surface.h"
#include "content/renderer/gpu/compositor_software_output_device.h"
#include "content/renderer/gpu/delegated_compositor_output_surface.h"
-#include "content/renderer/gpu/input_handler_manager.h"
#include "content/renderer/gpu/mailbox_output_surface.h"
#include "content/renderer/gpu/render_widget_compositor.h"
#include "content/renderer/ime_event_guard.h"
+#include "content/renderer/input/input_handler_manager.h"
#include "content/renderer/pepper/pepper_plugin_instance_impl.h"
#include "content/renderer/render_process.h"
#include "content/renderer/render_thread_impl.h"