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

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

Issue 2122023002: Cross-process frames should be notified of device scale factor changes. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Version of patch without second test. Created 4 years, 4 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 <stddef.h> 8 #include <stddef.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 10
(...skipping 118 matching lines...) Expand 10 before | Expand all | Expand 10 after
129 void CopyFromCompositingSurface( 129 void CopyFromCompositingSurface(
130 const gfx::Rect& src_subrect, 130 const gfx::Rect& src_subrect,
131 const gfx::Size& dst_size, 131 const gfx::Size& dst_size,
132 const ReadbackRequestCallback& callback, 132 const ReadbackRequestCallback& callback,
133 const SkColorType preferred_color_type) override; 133 const SkColorType preferred_color_type) override;
134 void CopyFromCompositingSurfaceToVideoFrame( 134 void CopyFromCompositingSurfaceToVideoFrame(
135 const gfx::Rect& src_subrect, 135 const gfx::Rect& src_subrect,
136 const scoped_refptr<media::VideoFrame>& target, 136 const scoped_refptr<media::VideoFrame>& target,
137 const base::Callback<void(const gfx::Rect&, bool)>& callback) override; 137 const base::Callback<void(const gfx::Rect&, bool)>& callback) override;
138 bool CanCopyToVideoFrame() const override; 138 bool CanCopyToVideoFrame() const override;
139 void GetScreenInfo(blink::WebScreenInfo* results) override;
140 gfx::Rect GetBoundsInRootWindow() override; 139 gfx::Rect GetBoundsInRootWindow() override;
141 void ProcessAckedTouchEvent(const TouchEventWithLatencyInfo& touch, 140 void ProcessAckedTouchEvent(const TouchEventWithLatencyInfo& touch,
142 InputEventAckState ack_result) override; 141 InputEventAckState ack_result) override;
143 InputEventAckState FilterInputEvent( 142 InputEventAckState FilterInputEvent(
144 const blink::WebInputEvent& input_event) override; 143 const blink::WebInputEvent& input_event) override;
145 void OnSetNeedsFlushInput() override; 144 void OnSetNeedsFlushInput() override;
146 void GestureEventAck(const blink::WebGestureEvent& event, 145 void GestureEventAck(const blink::WebGestureEvent& event,
147 InputEventAckState ack_result) override; 146 InputEventAckState ack_result) override;
148 BrowserAccessibilityManager* CreateBrowserAccessibilityManager( 147 BrowserAccessibilityManager* CreateBrowserAccessibilityManager(
149 BrowserAccessibilityDelegate* delegate, bool for_root_frame) override; 148 BrowserAccessibilityDelegate* delegate, bool for_root_frame) override;
(...skipping 239 matching lines...) Expand 10 before | Expand all | Expand 10 after
389 gfx::Vector2dF last_scroll_offset_; 388 gfx::Vector2dF last_scroll_offset_;
390 389
391 base::WeakPtrFactory<RenderWidgetHostViewAndroid> weak_ptr_factory_; 390 base::WeakPtrFactory<RenderWidgetHostViewAndroid> weak_ptr_factory_;
392 391
393 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAndroid); 392 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAndroid);
394 }; 393 };
395 394
396 } // namespace content 395 } // namespace content
397 396
398 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_ANDROID_H_ 397 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_ANDROID_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698