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

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

Issue 2835403004: Revert "Use MojoCompositorFrameSink in RendererCompositorFrameSink"
Patch Set: Rebased 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
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 87 matching lines...) Expand 10 before | Expand all | Expand 10 after
98 void ProcessAckedTouchEvent(const TouchEventWithLatencyInfo& touch, 98 void ProcessAckedTouchEvent(const TouchEventWithLatencyInfo& touch,
99 InputEventAckState ack_result) override; 99 InputEventAckState ack_result) override;
100 #endif 100 #endif
101 void ProcessMouseEvent(const blink::WebMouseEvent& event, 101 void ProcessMouseEvent(const blink::WebMouseEvent& event,
102 const ui::LatencyInfo& latency) override; 102 const ui::LatencyInfo& latency) override;
103 void ProcessTouchEvent(const blink::WebTouchEvent& event, 103 void ProcessTouchEvent(const blink::WebTouchEvent& event,
104 const ui::LatencyInfo& latency) override; 104 const ui::LatencyInfo& latency) override;
105 105
106 bool LockMouse() override; 106 bool LockMouse() override;
107 void UnlockMouse() override; 107 void UnlockMouse() override;
108 void DidCreateNewRendererCompositorFrameSink(
109 cc::mojom::MojoCompositorFrameSinkClient* renderer_compositor_frame_sink)
110 override;
111 108
112 #if defined(OS_MACOSX) 109 #if defined(OS_MACOSX)
113 // RenderWidgetHostView implementation. 110 // RenderWidgetHostView implementation.
114 void SetActive(bool active) override; 111 void SetActive(bool active) override;
115 void ShowDefinitionForSelection() override; 112 void ShowDefinitionForSelection() override;
116 bool SupportsSpeech() const override; 113 bool SupportsSpeech() const override;
117 void SpeakSelection() override; 114 void SpeakSelection() override;
118 bool IsSpeaking() const override; 115 bool IsSpeaking() const override;
119 void StopSpeaking() override; 116 void StopSpeaking() override;
120 #endif // defined(OS_MACOSX) 117 #endif // defined(OS_MACOSX)
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
169 // The guest may forward its updates only when there is an ongoing IME 166 // The guest may forward its updates only when there is an ongoing IME
170 // session. 167 // session.
171 bool should_forward_text_selection_; 168 bool should_forward_text_selection_;
172 169
173 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewGuest); 170 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewGuest);
174 }; 171 };
175 172
176 } // namespace content 173 } // namespace content
177 174
178 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_WIDGET_HOST_VIEW_GUEST_H_ 175 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_WIDGET_HOST_VIEW_GUEST_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698