mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Add comment about additional place new system metrics should be added.
This commit is contained in:
parent
019ea85b6d
commit
7c16cf86f8
@ -809,6 +809,11 @@ InitSystemMetrics()
|
||||
nsCOMPtr<nsILookAndFeel> lookAndFeel(do_GetService(kLookAndFeelCID, &rv));
|
||||
NS_ENSURE_SUCCESS(rv, PR_FALSE);
|
||||
|
||||
/***************************************************************************
|
||||
* ANY METRICS ADDED HERE SHOULD ALSO BE ADDED AS MEDIA QUERIES IN *
|
||||
* nsMediaFeatures.cpp *
|
||||
***************************************************************************/
|
||||
|
||||
PRInt32 metricResult;
|
||||
lookAndFeel->GetMetric(nsILookAndFeel::eMetric_ScrollArrowStyle, metricResult);
|
||||
if (metricResult & nsILookAndFeel::eMetric_ScrollArrowStartBackward) {
|
||||
|
Loading…
Reference in New Issue
Block a user