Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(369)

Unified Diff: content/public/common/renderer_preferences.h

Issue 1054243002: Avoid calling the GetSystemMetrics API in the renderer process on Windows to get the scrollbar metr… (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: content/public/common/renderer_preferences.h
diff --git a/content/public/common/renderer_preferences.h b/content/public/common/renderer_preferences.h
index adc9901a2d4a28c248399dfe0fbf79a141af01d1..4f979b63c24b91113b8c0a551e8a017320e45ba7 100644
--- a/content/public/common/renderer_preferences.h
+++ b/content/public/common/renderer_preferences.h
@@ -154,6 +154,18 @@ struct CONTENT_EXPORT RendererPreferences {
// Contry iso of the mobile network for content detection purpose.
std::string network_contry_iso;
+
+ // The width of a vertical scroll bar in dips.
jam 2015/04/03 15:08:19 ditto if windows only
ananta 2015/04/03 19:17:04 Put these and the font values above under an if de
+ int32 vertical_scroll_bar_width_in_dips;
+
+ // The height of a horizontal scroll bar in dips.
+ int32 horizontal_scroll_bar_height_in_dips;
+
+ // The height of the arrow bitmap on a vertical scroll bar in dips.
+ int32 arrow_bitmap_height_vertical_scroll_bar_in_dips;
+
+ // The width of the arrow bitmap on a horizontal scroll bar in dips.
+ int32 arrow_bitmap_width_horizontal_scroll_bar_in_dips;
};
} // namespace content

Powered by Google App Engine
This is Rietveld 408576698