Chromium Code Reviews| Index: content/browser/renderer_host/render_widget_host_view_aura.cc |
| =================================================================== |
| --- content/browser/renderer_host/render_widget_host_view_aura.cc (revision 221161) |
| +++ content/browser/renderer_host/render_widget_host_view_aura.cc (working copy) |
| @@ -808,6 +808,7 @@ |
| if (!host_->should_auto_resize() && |
| !resize_lock_.get() && |
| desired_size != current_frame_size_ && |
| + !device_emulation_enabled_ && |
|
aelias_OOO_until_Jul13
2013/09/13 23:51:44
Is it really that you want to accept an image of *
dgozman
2013/09/14 07:42:42
I think, this would be a right choice.
aelias_OOO_until_Jul13
2013/09/14 07:50:53
Not necessarily. First, note that CC is rather fl
aelias_OOO_until_Jul13
2013/09/14 08:06:51
On second thought, the real difficulty if you go t
dgozman
2013/09/19 10:17:11
Done.
|
| host_->is_accelerated_compositing_active()) { |
| aura::RootWindow* root_window = window_->GetRootWindow(); |
| ui::Compositor* compositor = root_window ? |
| @@ -2002,6 +2003,10 @@ |
| touch_editing_client_->GestureEventAck(gesture_event_type); |
| } |
| +void RenderWidgetHostViewAura::EmulateDevice(bool enabled) { |
| + device_emulation_enabled_ = enabled; |
| +} |
| + |
| void RenderWidgetHostViewAura::ProcessAckedTouchEvent( |
| const TouchEventWithLatencyInfo& touch, InputEventAckState ack_result) { |
| ScopedVector<ui::TouchEvent> events; |