Index: content/browser/renderer_host/render_widget_host_view_aura.h |
=================================================================== |
--- content/browser/renderer_host/render_widget_host_view_aura.h (revision 221161) |
+++ content/browser/renderer_host/render_widget_host_view_aura.h (working copy) |
@@ -224,6 +224,7 @@ |
virtual gfx::Rect GetBoundsInRootWindow() OVERRIDE; |
virtual void GestureEventAck(int gesture_event_type, |
InputEventAckState ack_result) OVERRIDE; |
+ virtual void EmulateDevice(bool enabled) OVERRIDE; |
virtual void ProcessAckedTouchEvent( |
const TouchEventWithLatencyInfo& touch, |
InputEventAckState ack_result) OVERRIDE; |
@@ -636,6 +637,10 @@ |
// renderer of producing a frame of the right size. |
scoped_ptr<ResizeLock> resize_lock_; |
+ // When device emulation is enabled, renderer may supply image of different |
+ // size. |
+ bool device_emulation_enabled_; |
aelias_OOO_until_Jul13
2013/09/13 23:51:44
This name sounds too generic considering it only a
dgozman
2013/09/19 10:17:11
Created |expected_rendered_size_| instead.
|
+ |
// Keeps track of the current frame size. |
gfx::Size current_frame_size_; |