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

Side by Side Diff: content/renderer/render_widget.h

Issue 2884243003: Add a mojo channel for frame messages. (Closed)
Patch Set: Fix presubmit warning I ignored Created 3 years, 7 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
« no previous file with comments | « content/renderer/render_frame_impl.cc ('k') | content/renderer/render_widget.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 #ifndef CONTENT_RENDERER_RENDER_WIDGET_H_ 5 #ifndef CONTENT_RENDERER_RENDER_WIDGET_H_
6 #define CONTENT_RENDERER_RENDER_WIDGET_H_ 6 #define CONTENT_RENDERER_RENDER_WIDGET_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 10
(...skipping 410 matching lines...) Expand 10 before | Expand all | Expand 10 after
421 421
422 InputEventAckState HandleInputEvent( 422 InputEventAckState HandleInputEvent(
423 const blink::WebCoalescedInputEvent& input_event, 423 const blink::WebCoalescedInputEvent& input_event,
424 const ui::LatencyInfo& latency_info, 424 const ui::LatencyInfo& latency_info,
425 InputEventDispatchType dispatch_type) override; 425 InputEventDispatchType dispatch_type) override;
426 426
427 void SendInputEventAck(blink::WebInputEvent::Type type, 427 void SendInputEventAck(blink::WebInputEvent::Type type,
428 InputEventAckState ack_result, 428 InputEventAckState ack_result,
429 uint32_t touch_event_id) override; 429 uint32_t touch_event_id) override;
430 430
431 scoped_refptr<MainThreadEventQueue> GetInputEventQueue();
432
431 protected: 433 protected:
432 // Friend RefCounted so that the dtor can be non-public. Using this class 434 // Friend RefCounted so that the dtor can be non-public. Using this class
433 // without ref-counting is an error. 435 // without ref-counting is an error.
434 friend class base::RefCounted<RenderWidget>; 436 friend class base::RefCounted<RenderWidget>;
435 437
436 // For unit tests. 438 // For unit tests.
437 friend class RenderWidgetTest; 439 friend class RenderWidgetTest;
438 440
439 enum ResizeAck { 441 enum ResizeAck {
440 SEND_RESIZE_ACK, 442 SEND_RESIZE_ACK,
(...skipping 446 matching lines...) Expand 10 before | Expand all | Expand 10 after
887 scoped_refptr<MainThreadEventQueue> input_event_queue_; 889 scoped_refptr<MainThreadEventQueue> input_event_queue_;
888 890
889 base::WeakPtrFactory<RenderWidget> weak_ptr_factory_; 891 base::WeakPtrFactory<RenderWidget> weak_ptr_factory_;
890 892
891 DISALLOW_COPY_AND_ASSIGN(RenderWidget); 893 DISALLOW_COPY_AND_ASSIGN(RenderWidget);
892 }; 894 };
893 895
894 } // namespace content 896 } // namespace content
895 897
896 #endif // CONTENT_RENDERER_RENDER_WIDGET_H_ 898 #endif // CONTENT_RENDERER_RENDER_WIDGET_H_
OLDNEW
« no previous file with comments | « content/renderer/render_frame_impl.cc ('k') | content/renderer/render_widget.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698