forked from WebKit/WebKit-http
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Win][MiniBrowser] MiniBrowser::updateDeviceScaleFactor should be a M…
…ainWindow's method https://bugs.webkit.org/show_bug.cgi?id=186387 Reviewed by Ryosuke Niwa. MiniBrowser::updateDeviceScaleFactor does nothing for MiniBrowser. It should be a MainWindow's method. * MiniBrowser/win/MainWindow.cpp: (MainWindow::init): Call MainWindow::updateDeviceScaleFactor. (MainWindow::resizeSubViews): Do not set a font every time window size is changed. (MainWindow::WndProc): Call MainWindow::updateDeviceScaleFactor on WM_DPICHANGED. (MainWindow::updateDeviceScaleFactor): Converted from MiniBrowser::updateDeviceScaleFactor and MiniBrowser::generateFontForScaleFactor. Set a URL bar's font if DPI is changed. * MiniBrowser/win/MainWindow.h: * MiniBrowser/win/MiniBrowser.cpp: (MiniBrowser::init): (MiniBrowser::generateFontForScaleFactor): Deleted. (MiniBrowser::updateDeviceScaleFactor): Deleted. * MiniBrowser/win/MiniBrowser.h: (MiniBrowser::deviceScaleFactor): Deleted. (MiniBrowser::urlBarFont): Deleted. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@232609 268f45cc-cd09-0410-ab3c-d52691b4dbfc
- Loading branch information
1 parent
13c43e1
commit 62cffd9
Showing
5 changed files
with
42 additions
and
29 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,29 @@ | ||
2018-06-07 Fujii Hironori <[email protected]> | ||
|
||
[Win][MiniBrowser] MiniBrowser::updateDeviceScaleFactor should be a MainWindow's method | ||
https://bugs.webkit.org/show_bug.cgi?id=186387 | ||
|
||
Reviewed by Ryosuke Niwa. | ||
|
||
MiniBrowser::updateDeviceScaleFactor does nothing for MiniBrowser. | ||
It should be a MainWindow's method. | ||
|
||
* MiniBrowser/win/MainWindow.cpp: | ||
(MainWindow::init): Call MainWindow::updateDeviceScaleFactor. | ||
(MainWindow::resizeSubViews): Do not set a font every time window size is changed. | ||
(MainWindow::WndProc): Call MainWindow::updateDeviceScaleFactor on WM_DPICHANGED. | ||
(MainWindow::updateDeviceScaleFactor): Converted from | ||
MiniBrowser::updateDeviceScaleFactor and | ||
MiniBrowser::generateFontForScaleFactor. Set a URL bar's font if DPI is changed. | ||
* MiniBrowser/win/MainWindow.h: | ||
* MiniBrowser/win/MiniBrowser.cpp: | ||
(MiniBrowser::init): | ||
(MiniBrowser::generateFontForScaleFactor): Deleted. | ||
(MiniBrowser::updateDeviceScaleFactor): Deleted. | ||
* MiniBrowser/win/MiniBrowser.h: | ||
(MiniBrowser::deviceScaleFactor): Deleted. | ||
(MiniBrowser::urlBarFont): Deleted. | ||
|
||
2018-06-07 Jonathan Bedard <[email protected]> | ||
|
||
[webkitpy] Treat svn versions as Version objects | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters