simply handling temporary zoom levels of webview
This commit is contained in:
parent
e3fe3cc490
commit
cbeaa6be87
4 changed files with 45 additions and 35 deletions
|
@ -1530,7 +1530,7 @@ double WebContents::GetZoomFactor() {
|
|||
void WebContents::OnSetTemporaryZoomLevel(double level,
|
||||
IPC::Message* reply_msg) {
|
||||
zoom_controller_->SetTemporaryZoomLevel(level);
|
||||
double new_level = zoom_controller_->GetTemporaryZoomLevel();
|
||||
double new_level = zoom_controller_->GetZoomLevel();
|
||||
AtomViewHostMsg_SetTemporaryZoomLevel::WriteReplyParams(reply_msg, new_level);
|
||||
Send(reply_msg);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue