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

Side by Side Diff: content/browser/renderer_host/render_widget_host_impl.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
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_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_ 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_
6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_ 6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 10
(...skipping 128 matching lines...) Expand 10 before | Expand all | Expand 10 after
139 void UpdateTextDirection(blink::WebTextDirection direction) override; 139 void UpdateTextDirection(blink::WebTextDirection direction) override;
140 void NotifyTextDirection() override; 140 void NotifyTextDirection() override;
141 void Focus() override; 141 void Focus() override;
142 void Blur() override; 142 void Blur() override;
143 void SetActive(bool active) override; 143 void SetActive(bool active) override;
144 void CopyFromBackingStore(const gfx::Rect& src_rect, 144 void CopyFromBackingStore(const gfx::Rect& src_rect,
145 const gfx::Size& accelerated_dst_size, 145 const gfx::Size& accelerated_dst_size,
146 const ReadbackRequestCallback& callback, 146 const ReadbackRequestCallback& callback,
147 const SkColorType preferred_color_type) override; 147 const SkColorType preferred_color_type) override;
148 bool CanCopyFromBackingStore() override; 148 bool CanCopyFromBackingStore() override;
149 void LockBackingStore() override;
150 void UnlockBackingStore() override;
151 void ForwardMouseEvent(const blink::WebMouseEvent& mouse_event) override; 149 void ForwardMouseEvent(const blink::WebMouseEvent& mouse_event) override;
152 void ForwardWheelEvent(const blink::WebMouseWheelEvent& wheel_event) override; 150 void ForwardWheelEvent(const blink::WebMouseWheelEvent& wheel_event) override;
153 void ForwardKeyboardEvent(const NativeWebKeyboardEvent& key_event) override; 151 void ForwardKeyboardEvent(const NativeWebKeyboardEvent& key_event) override;
154 void ForwardGestureEvent( 152 void ForwardGestureEvent(
155 const blink::WebGestureEvent& gesture_event) override; 153 const blink::WebGestureEvent& gesture_event) override;
156 RenderProcessHost* GetProcess() const override; 154 RenderProcessHost* GetProcess() const override;
157 int GetRoutingID() const override; 155 int GetRoutingID() const override;
158 RenderWidgetHostViewBase* GetView() const override; 156 RenderWidgetHostViewBase* GetView() const override;
159 bool IsLoading() const override; 157 bool IsLoading() const override;
160 void RestartHangMonitorTimeoutIfNecessary() override; 158 void RestartHangMonitorTimeoutIfNecessary() override;
(...skipping 737 matching lines...) Expand 10 before | Expand all | Expand 10 after
898 #endif 896 #endif
899 897
900 base::WeakPtrFactory<RenderWidgetHostImpl> weak_factory_; 898 base::WeakPtrFactory<RenderWidgetHostImpl> weak_factory_;
901 899
902 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostImpl); 900 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostImpl);
903 }; 901 };
904 902
905 } // namespace content 903 } // namespace content
906 904
907 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_ 905 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_
OLDNEW
« no previous file with comments | « content/browser/frame_host/render_widget_host_view_guest.cc ('k') | content/browser/renderer_host/render_widget_host_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698