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

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

Issue 2658293002: content: Remove Lock/Unlock CompositingSurface API from RWH. (Closed)
Patch Set: last_frame_info Created 3 years, 10 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 | « no previous file | content/browser/frame_host/render_widget_host_view_child_frame.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 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_CHILD_FRAME_H_ 5 #ifndef CONTENT_BROWSER_FRAME_HOST_RENDER_WIDGET_HOST_VIEW_CHILD_FRAME_H_
6 #define CONTENT_BROWSER_FRAME_HOST_RENDER_WIDGET_HOST_VIEW_CHILD_FRAME_H_ 6 #define CONTENT_BROWSER_FRAME_HOST_RENDER_WIDGET_HOST_VIEW_CHILD_FRAME_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 10
(...skipping 138 matching lines...) Expand 10 before | Expand all | Expand 10 after
149 // RenderWidgetHostView implementation. 149 // RenderWidgetHostView implementation.
150 ui::AcceleratedWidgetMac* GetAcceleratedWidgetMac() const override; 150 ui::AcceleratedWidgetMac* GetAcceleratedWidgetMac() const override;
151 void SetActive(bool active) override; 151 void SetActive(bool active) override;
152 void ShowDefinitionForSelection() override; 152 void ShowDefinitionForSelection() override;
153 bool SupportsSpeech() const override; 153 bool SupportsSpeech() const override;
154 void SpeakSelection() override; 154 void SpeakSelection() override;
155 bool IsSpeaking() const override; 155 bool IsSpeaking() const override;
156 void StopSpeaking() override; 156 void StopSpeaking() override;
157 #endif // defined(OS_MACOSX) 157 #endif // defined(OS_MACOSX)
158 158
159 // RenderWidgetHostViewBase implementation.
160 void LockCompositingSurface() override;
161 void UnlockCompositingSurface() override;
162
163 InputEventAckState FilterInputEvent( 159 InputEventAckState FilterInputEvent(
164 const blink::WebInputEvent& input_event) override; 160 const blink::WebInputEvent& input_event) override;
165 BrowserAccessibilityManager* CreateBrowserAccessibilityManager( 161 BrowserAccessibilityManager* CreateBrowserAccessibilityManager(
166 BrowserAccessibilityDelegate* delegate, bool for_root_frame) override; 162 BrowserAccessibilityDelegate* delegate, bool for_root_frame) override;
167 163
168 // cc::SurfaceFactoryClient implementation. 164 // cc::SurfaceFactoryClient implementation.
169 void ReturnResources(const cc::ReturnedResourceArray& resources) override; 165 void ReturnResources(const cc::ReturnedResourceArray& resources) override;
170 void SetBeginFrameSource(cc::BeginFrameSource* source) override; 166 void SetBeginFrameSource(cc::BeginFrameSource* source) override;
171 167
172 // cc::BeginFrameObserver implementation. 168 // cc::BeginFrameObserver implementation.
(...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after
270 // The surface client ID of the parent RenderWidgetHostView. 0 if none. 266 // The surface client ID of the parent RenderWidgetHostView. 0 if none.
271 cc::FrameSinkId parent_frame_sink_id_; 267 cc::FrameSinkId parent_frame_sink_id_;
272 268
273 base::WeakPtrFactory<RenderWidgetHostViewChildFrame> weak_factory_; 269 base::WeakPtrFactory<RenderWidgetHostViewChildFrame> weak_factory_;
274 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewChildFrame); 270 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewChildFrame);
275 }; 271 };
276 272
277 } // namespace content 273 } // namespace content
278 274
279 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_WIDGET_HOST_VIEW_CHILD_FRAME_H_ 275 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_WIDGET_HOST_VIEW_CHILD_FRAME_H_
OLDNEW
« no previous file with comments | « no previous file | content/browser/frame_host/render_widget_host_view_child_frame.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698