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

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

Issue 2369793002: WIP: Propagate SurfaceID up window tree hierarchy
Patch Set: Fix input events: EventDispatcher ignores container windows 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
« no previous file with comments | « content/renderer/gpu/render_widget_compositor.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 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
68 class WebFrameWidget; 68 class WebFrameWidget;
69 class WebGestureEvent; 69 class WebGestureEvent;
70 class WebLocalFrame; 70 class WebLocalFrame;
71 class WebMouseEvent; 71 class WebMouseEvent;
72 class WebNode; 72 class WebNode;
73 struct WebPoint; 73 struct WebPoint;
74 } 74 }
75 75
76 namespace cc { 76 namespace cc {
77 class CompositorFrameSink; 77 class CompositorFrameSink;
78 class FrameSinkId;
78 class SwapPromise; 79 class SwapPromise;
79 } 80 }
80 81
81 namespace gfx { 82 namespace gfx {
82 class Range; 83 class Range;
83 } 84 }
84 85
85 namespace ui { 86 namespace ui {
86 struct DidOverscrollParams; 87 struct DidOverscrollParams;
87 } 88 }
(...skipping 413 matching lines...) Expand 10 before | Expand all | Expand 10 after
501 virtual void OnDeviceScaleFactorChanged(); 502 virtual void OnDeviceScaleFactorChanged();
502 503
503 void OnRepaint(gfx::Size size_to_paint); 504 void OnRepaint(gfx::Size size_to_paint);
504 void OnSyntheticGestureCompleted(); 505 void OnSyntheticGestureCompleted();
505 void OnSetTextDirection(blink::WebTextDirection direction); 506 void OnSetTextDirection(blink::WebTextDirection direction);
506 void OnGetFPS(); 507 void OnGetFPS();
507 void OnUpdateScreenRects(const gfx::Rect& view_screen_rect, 508 void OnUpdateScreenRects(const gfx::Rect& view_screen_rect,
508 const gfx::Rect& window_screen_rect); 509 const gfx::Rect& window_screen_rect);
509 void OnUpdateWindowScreenRect(const gfx::Rect& window_screen_rect); 510 void OnUpdateWindowScreenRect(const gfx::Rect& window_screen_rect);
510 void OnShowImeIfNeeded(); 511 void OnShowImeIfNeeded();
511 void OnSetSurfaceClientId(uint32_t surface_id_namespace); 512 void OnSetFrameSinkId(const cc::FrameSinkId& frame_sink_id);
512 void OnHandleCompositorProto(const std::vector<uint8_t>& proto); 513 void OnHandleCompositorProto(const std::vector<uint8_t>& proto);
513 514
514 #if defined(OS_ANDROID) 515 #if defined(OS_ANDROID)
515 // Called when we send IME event that expects an ACK. 516 // Called when we send IME event that expects an ACK.
516 void OnImeEventSentForAck(const blink::WebTextInputInfo& info); 517 void OnImeEventSentForAck(const blink::WebTextInputInfo& info);
517 518
518 // Called by the browser process for every required IME acknowledgement. 519 // Called by the browser process for every required IME acknowledgement.
519 void OnImeEventAck(); 520 void OnImeEventAck();
520 521
521 // Called by the browser process to update text input state. 522 // Called by the browser process to update text input state.
(...skipping 300 matching lines...) Expand 10 before | Expand all | Expand 10 after
822 // Stores edit commands associated to the next key event. 823 // Stores edit commands associated to the next key event.
823 // Will be cleared as soon as the next key event is processed. 824 // Will be cleared as soon as the next key event is processed.
824 EditCommands edit_commands_; 825 EditCommands edit_commands_;
825 826
826 DISALLOW_COPY_AND_ASSIGN(RenderWidget); 827 DISALLOW_COPY_AND_ASSIGN(RenderWidget);
827 }; 828 };
828 829
829 } // namespace content 830 } // namespace content
830 831
831 #endif // CONTENT_RENDERER_RENDER_WIDGET_H_ 832 #endif // CONTENT_RENDERER_RENDER_WIDGET_H_
OLDNEW
« no previous file with comments | « content/renderer/gpu/render_widget_compositor.cc ('k') | content/renderer/render_widget.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698