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

Side by Side Diff: content/browser/renderer_host/input/input_router_impl.h

Issue 2435863004: Remove stl_util's deletion function use from content/. (Closed)
Patch Set: minus service worker Created 4 years, 2 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_BROWSER_RENDERER_HOST_INPUT_INPUT_ROUTER_IMPL_H_ 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_INPUT_INPUT_ROUTER_IMPL_H_
6 #define CONTENT_BROWSER_RENDERER_HOST_INPUT_INPUT_ROUTER_IMPL_H_ 6 #define CONTENT_BROWSER_RENDERER_HOST_INPUT_INPUT_ROUTER_IMPL_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <memory> 10 #include <memory>
(...skipping 191 matching lines...) Expand 10 before | Expand all | Expand 10 after
202 IPC::Sender* sender_; 202 IPC::Sender* sender_;
203 InputRouterClient* client_; 203 InputRouterClient* client_;
204 InputAckHandler* ack_handler_; 204 InputAckHandler* ack_handler_;
205 int routing_id_; 205 int routing_id_;
206 int frame_tree_node_id_; 206 int frame_tree_node_id_;
207 207
208 // (Similar to |mouse_move_pending_|.) True while waiting for SelectRange_ACK 208 // (Similar to |mouse_move_pending_|.) True while waiting for SelectRange_ACK
209 // or MoveRangeSelectionExtent_ACK. 209 // or MoveRangeSelectionExtent_ACK.
210 bool select_message_pending_; 210 bool select_message_pending_;
211 211
212 // Queue of pending select messages to send after receving the next select 212 // Queue of pending select messages to send after receiving the next select
213 // message ack. 213 // message ack.
214 std::deque<IPC::Message*> pending_select_messages_; 214 std::deque<std::unique_ptr<IPC::Message>> pending_select_messages_;
215 215
216 // True while waiting for MoveCaret_ACK. 216 // True while waiting for MoveCaret_ACK.
217 bool move_caret_pending_; 217 bool move_caret_pending_;
218 218
219 // The next MoveCaret to send, if any. 219 // The next MoveCaret to send, if any.
220 std::unique_ptr<IPC::Message> next_move_caret_; 220 std::unique_ptr<IPC::Message> next_move_caret_;
221 221
222 // A queue of the mouse move events sent to the renderer. Similar 222 // A queue of the mouse move events sent to the renderer. Similar
223 // to |key_queue_|. 223 // to |key_queue_|.
224 typedef std::deque<MouseEventWithLatencyInfo> MouseMoveQueue; 224 typedef std::deque<MouseEventWithLatencyInfo> MouseMoveQueue;
(...skipping 30 matching lines...) Expand all
255 InputEventStreamValidator output_stream_validator_; 255 InputEventStreamValidator output_stream_validator_;
256 256
257 float device_scale_factor_; 257 float device_scale_factor_;
258 258
259 DISALLOW_COPY_AND_ASSIGN(InputRouterImpl); 259 DISALLOW_COPY_AND_ASSIGN(InputRouterImpl);
260 }; 260 };
261 261
262 } // namespace content 262 } // namespace content
263 263
264 #endif // CONTENT_BROWSER_RENDERER_HOST_INPUT_INPUT_ROUTER_IMPL_H_ 264 #endif // CONTENT_BROWSER_RENDERER_HOST_INPUT_INPUT_ROUTER_IMPL_H_
OLDNEW
« no previous file with comments | « content/browser/manifest/manifest_manager_host.cc ('k') | content/browser/renderer_host/input/input_router_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698