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

Side by Side Diff: content/browser/renderer_host/render_widget_host_view_android.h

Issue 1365563002: Make channel preemption not require view contexts for hookup (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@wakeup_gpu
Patch Set: rebase Created 5 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
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_VIEW_ANDROID_H_ 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_ANDROID_H_
6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_ANDROID_H_ 6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_ANDROID_H_
7 7
8 #include <map> 8 #include <map>
9 #include <queue> 9 #include <queue>
10 10
(...skipping 118 matching lines...) Expand 10 before | Expand all | Expand 10 after
129 ReadbackRequestCallback& callback, 129 ReadbackRequestCallback& callback,
130 const SkColorType preferred_color_type) override; 130 const SkColorType preferred_color_type) override;
131 void CopyFromCompositingSurfaceToVideoFrame( 131 void CopyFromCompositingSurfaceToVideoFrame(
132 const gfx::Rect& src_subrect, 132 const gfx::Rect& src_subrect,
133 const scoped_refptr<media::VideoFrame>& target, 133 const scoped_refptr<media::VideoFrame>& target,
134 const base::Callback<void(bool)>& callback) override; 134 const base::Callback<void(bool)>& callback) override;
135 bool CanCopyToVideoFrame() const override; 135 bool CanCopyToVideoFrame() const override;
136 void GetScreenInfo(blink::WebScreenInfo* results) override; 136 void GetScreenInfo(blink::WebScreenInfo* results) override;
137 bool GetScreenColorProfile(std::vector<char>* color_profile) override; 137 bool GetScreenColorProfile(std::vector<char>* color_profile) override;
138 gfx::Rect GetBoundsInRootWindow() override; 138 gfx::Rect GetBoundsInRootWindow() override;
139 gfx::GLSurfaceHandle GetCompositingSurface() override;
140 void ProcessAckedTouchEvent(const TouchEventWithLatencyInfo& touch, 139 void ProcessAckedTouchEvent(const TouchEventWithLatencyInfo& touch,
141 InputEventAckState ack_result) override; 140 InputEventAckState ack_result) override;
142 InputEventAckState FilterInputEvent( 141 InputEventAckState FilterInputEvent(
143 const blink::WebInputEvent& input_event) override; 142 const blink::WebInputEvent& input_event) override;
144 void OnSetNeedsFlushInput() override; 143 void OnSetNeedsFlushInput() override;
145 void GestureEventAck(const blink::WebGestureEvent& event, 144 void GestureEventAck(const blink::WebGestureEvent& event,
146 InputEventAckState ack_result) override; 145 InputEventAckState ack_result) override;
147 BrowserAccessibilityManager* CreateBrowserAccessibilityManager( 146 BrowserAccessibilityManager* CreateBrowserAccessibilityManager(
148 BrowserAccessibilityDelegate* delegate) override; 147 BrowserAccessibilityDelegate* delegate) override;
149 bool LockMouse() override; 148 bool LockMouse() override;
(...skipping 260 matching lines...) Expand 10 before | Expand all | Expand 10 after
410 gfx::Vector2dF last_scroll_offset_; 409 gfx::Vector2dF last_scroll_offset_;
411 410
412 base::WeakPtrFactory<RenderWidgetHostViewAndroid> weak_ptr_factory_; 411 base::WeakPtrFactory<RenderWidgetHostViewAndroid> weak_ptr_factory_;
413 412
414 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAndroid); 413 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAndroid);
415 }; 414 };
416 415
417 } // namespace content 416 } // namespace content
418 417
419 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_ANDROID_H_ 418 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_ANDROID_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698