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

Side by Side Diff: content/renderer/input/input_handler_manager.h

Issue 1873783003: Convert //content/renderer from scoped_ptr to std::unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 #ifndef CONTENT_RENDERER_INPUT_INPUT_HANDLER_MANAGER_H_ 5 #ifndef CONTENT_RENDERER_INPUT_INPUT_HANDLER_MANAGER_H_
6 #define CONTENT_RENDERER_INPUT_INPUT_HANDLER_MANAGER_H_ 6 #define CONTENT_RENDERER_INPUT_INPUT_HANDLER_MANAGER_H_
7 7
8 #include "base/containers/scoped_ptr_hash_map.h" 8 #include "base/containers/scoped_ptr_hash_map.h"
9 #include "base/memory/ref_counted.h" 9 #include "base/memory/ref_counted.h"
10 #include "base/memory/weak_ptr.h" 10 #include "base/memory/weak_ptr.h"
(...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after
107 107
108 void ObserveGestureEventAndResultOnCompositorThread( 108 void ObserveGestureEventAndResultOnCompositorThread(
109 int routing_id, 109 int routing_id,
110 const blink::WebGestureEvent& gesture_event, 110 const blink::WebGestureEvent& gesture_event,
111 const cc::InputHandlerScrollResult& scroll_result); 111 const cc::InputHandlerScrollResult& scroll_result);
112 112
113 void NotifyInputEventHandledOnCompositorThread(int routing_id, 113 void NotifyInputEventHandledOnCompositorThread(int routing_id,
114 blink::WebInputEvent::Type); 114 blink::WebInputEvent::Type);
115 115
116 typedef base::ScopedPtrHashMap<int, // routing_id 116 typedef base::ScopedPtrHashMap<int, // routing_id
117 scoped_ptr<InputHandlerWrapper>> 117 std::unique_ptr<InputHandlerWrapper>>
118 InputHandlerMap; 118 InputHandlerMap;
119 InputHandlerMap input_handlers_; 119 InputHandlerMap input_handlers_;
120 120
121 const scoped_refptr<base::SingleThreadTaskRunner> task_runner_; 121 const scoped_refptr<base::SingleThreadTaskRunner> task_runner_;
122 InputHandlerManagerClient* const client_; 122 InputHandlerManagerClient* const client_;
123 // May be null. 123 // May be null.
124 SynchronousInputHandlerProxyClient* const synchronous_handler_proxy_client_; 124 SynchronousInputHandlerProxyClient* const synchronous_handler_proxy_client_;
125 scheduler::RendererScheduler* const renderer_scheduler_; // Not owned. 125 scheduler::RendererScheduler* const renderer_scheduler_; // Not owned.
126 }; 126 };
127 127
128 } // namespace content 128 } // namespace content
129 129
130 #endif // CONTENT_RENDERER_INPUT_INPUT_HANDLER_MANAGER_H_ 130 #endif // CONTENT_RENDERER_INPUT_INPUT_HANDLER_MANAGER_H_
OLDNEW
« no previous file with comments | « content/renderer/input/input_event_filter.cc ('k') | content/renderer/input/input_handler_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698