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

Side by Side Diff: content/browser/frame_host/render_widget_host_view_guest.h

Issue 2096493002: Make cc::CompositorFrames movable [Part 1 of 2] (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressed Dana's nits Created 4 years, 5 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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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_FRAME_HOST_RENDER_WIDGET_HOST_VIEW_GUEST_H_ 5 #ifndef CONTENT_BROWSER_FRAME_HOST_RENDER_WIDGET_HOST_VIEW_GUEST_H_
6 #define CONTENT_BROWSER_FRAME_HOST_RENDER_WIDGET_HOST_VIEW_GUEST_H_ 6 #define CONTENT_BROWSER_FRAME_HOST_RENDER_WIDGET_HOST_VIEW_GUEST_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 10
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after
85 #endif 85 #endif
86 void RenderProcessGone(base::TerminationStatus status, 86 void RenderProcessGone(base::TerminationStatus status,
87 int error_code) override; 87 int error_code) override;
88 void Destroy() override; 88 void Destroy() override;
89 void SetTooltipText(const base::string16& tooltip_text) override; 89 void SetTooltipText(const base::string16& tooltip_text) override;
90 void SelectionChanged(const base::string16& text, 90 void SelectionChanged(const base::string16& text,
91 size_t offset, 91 size_t offset,
92 const gfx::Range& range) override; 92 const gfx::Range& range) override;
93 void SelectionBoundsChanged( 93 void SelectionBoundsChanged(
94 const ViewHostMsg_SelectionBounds_Params& params) override; 94 const ViewHostMsg_SelectionBounds_Params& params) override;
95 void OnSwapCompositorFrame( 95 void OnSwapCompositorFrame(uint32_t output_surface_id,
96 uint32_t output_surface_id, 96 cc::CompositorFrame frame) override;
97 std::unique_ptr<cc::CompositorFrame> frame) override;
98 #if defined(USE_AURA) 97 #if defined(USE_AURA)
99 void ProcessAckedTouchEvent(const TouchEventWithLatencyInfo& touch, 98 void ProcessAckedTouchEvent(const TouchEventWithLatencyInfo& touch,
100 InputEventAckState ack_result) override; 99 InputEventAckState ack_result) override;
101 #endif 100 #endif
102 void ProcessTouchEvent(const blink::WebTouchEvent& event, 101 void ProcessTouchEvent(const blink::WebTouchEvent& event,
103 const ui::LatencyInfo& latency) override; 102 const ui::LatencyInfo& latency) override;
104 103
105 bool LockMouse() override; 104 bool LockMouse() override;
106 void UnlockMouse() override; 105 void UnlockMouse() override;
107 void GetScreenInfo(blink::WebScreenInfo* results) override; 106 void GetScreenInfo(blink::WebScreenInfo* results) override;
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
142 // The platform view for this RenderWidgetHostView. 141 // The platform view for this RenderWidgetHostView.
143 // RenderWidgetHostViewGuest mostly only cares about stuff related to 142 // RenderWidgetHostViewGuest mostly only cares about stuff related to
144 // compositing, the rest are directly forwarded to this |platform_view_|. 143 // compositing, the rest are directly forwarded to this |platform_view_|.
145 base::WeakPtr<RenderWidgetHostViewBase> platform_view_; 144 base::WeakPtr<RenderWidgetHostViewBase> platform_view_;
146 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewGuest); 145 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewGuest);
147 }; 146 };
148 147
149 } // namespace content 148 } // namespace content
150 149
151 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_WIDGET_HOST_VIEW_GUEST_H_ 150 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_WIDGET_HOST_VIEW_GUEST_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698