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

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

Issue 2382873002: Replace usage of SurfaceId's client_id with FrameSinkId (Closed)
Patch Set: Rebased 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 417 matching lines...) Expand 10 before | Expand all | Expand 10 after
505 virtual void OnDeviceScaleFactorChanged(); 506 virtual void OnDeviceScaleFactorChanged();
506 507
507 void OnRepaint(gfx::Size size_to_paint); 508 void OnRepaint(gfx::Size size_to_paint);
508 void OnSyntheticGestureCompleted(); 509 void OnSyntheticGestureCompleted();
509 void OnSetTextDirection(blink::WebTextDirection direction); 510 void OnSetTextDirection(blink::WebTextDirection direction);
510 void OnGetFPS(); 511 void OnGetFPS();
511 void OnUpdateScreenRects(const gfx::Rect& view_screen_rect, 512 void OnUpdateScreenRects(const gfx::Rect& view_screen_rect,
512 const gfx::Rect& window_screen_rect); 513 const gfx::Rect& window_screen_rect);
513 void OnUpdateWindowScreenRect(const gfx::Rect& window_screen_rect); 514 void OnUpdateWindowScreenRect(const gfx::Rect& window_screen_rect);
514 void OnShowImeIfNeeded(); 515 void OnShowImeIfNeeded();
515 void OnSetSurfaceClientId(uint32_t surface_id_namespace); 516 void OnSetFrameSinkId(const cc::FrameSinkId& frame_sink_id);
516 void OnHandleCompositorProto(const std::vector<uint8_t>& proto); 517 void OnHandleCompositorProto(const std::vector<uint8_t>& proto);
517 518
518 #if defined(OS_ANDROID) 519 #if defined(OS_ANDROID)
519 // Called when we send IME event that expects an ACK. 520 // Called when we send IME event that expects an ACK.
520 void OnImeEventSentForAck(const blink::WebTextInputInfo& info); 521 void OnImeEventSentForAck(const blink::WebTextInputInfo& info);
521 522
522 // Called by the browser process for every required IME acknowledgement. 523 // Called by the browser process for every required IME acknowledgement.
523 void OnImeEventAck(); 524 void OnImeEventAck();
524 525
525 // Called by the browser process to update text input state. 526 // Called by the browser process to update text input state.
(...skipping 306 matching lines...) Expand 10 before | Expand all | Expand 10 after
832 // Stores edit commands associated to the next key event. 833 // Stores edit commands associated to the next key event.
833 // Will be cleared as soon as the next key event is processed. 834 // Will be cleared as soon as the next key event is processed.
834 EditCommands edit_commands_; 835 EditCommands edit_commands_;
835 836
836 DISALLOW_COPY_AND_ASSIGN(RenderWidget); 837 DISALLOW_COPY_AND_ASSIGN(RenderWidget);
837 }; 838 };
838 839
839 } // namespace content 840 } // namespace content
840 841
841 #endif // CONTENT_RENDERER_RENDER_WIDGET_H_ 842 #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