| Index: content/shell/browser/blink_test_controller.cc
|
| diff --git a/content/shell/browser/blink_test_controller.cc b/content/shell/browser/blink_test_controller.cc
|
| index db0142530440748ce62ecf5d0aac16546292346e..818d356bcdfcc44bb359eb7dd415f98473d29194 100644
|
| --- a/content/shell/browser/blink_test_controller.cc
|
| +++ b/content/shell/browser/blink_test_controller.cc
|
| @@ -416,6 +416,8 @@ bool BlinkTestController::OnMessageReceived(const IPC::Message& message) {
|
| OnGetBluetoothManualChooserEvents)
|
| IPC_MESSAGE_HANDLER(ShellViewHostMsg_SendBluetoothManualChooserEvent,
|
| OnSendBluetoothManualChooserEvent)
|
| + IPC_MESSAGE_HANDLER(ShellViewHostMsg_SetDeviceScaleFactor,
|
| + OnSetDeviceScaleFactor)
|
| IPC_MESSAGE_UNHANDLED(handled = false)
|
| IPC_END_MESSAGE_MAP()
|
|
|
| @@ -775,4 +777,8 @@ void BlinkTestController::OnSendBluetoothManualChooserEvent(
|
| bluetooth_chooser_factory_->SendEvent(event, argument);
|
| }
|
|
|
| +void BlinkTestController::OnSetDeviceScaleFactor(float scale) {
|
| + main_window_->SetDeviceScaleFactor(scale);
|
| +}
|
| +
|
| } // namespace content
|
|
|