| Index: content/child/webthemeengine_impl_default.h
|
| diff --git a/content/child/webthemeengine_impl_default.h b/content/child/webthemeengine_impl_default.h
|
| index e4e1c7eaddc2f167e028aeab3ecfdbde5c65c4f9..36ddb6bf7f569f0b8b67eeea0580f7b9b12d0834 100644
|
| --- a/content/child/webthemeengine_impl_default.h
|
| +++ b/content/child/webthemeengine_impl_default.h
|
| @@ -27,6 +27,15 @@ class WebThemeEngineImpl : public blink::WebThemeEngine {
|
| blink::WebThemeEngine::State endState,
|
| double progress,
|
| const blink::WebRect& rect);
|
| +#if defined(OS_WIN)
|
| + // Caches the scrollbar metrics. These are retrieved in the browser and passed
|
| + // to the renderer in RendererPreferences because the required Windows system
|
| + // calls cannot be made in sandboxed renderers.
|
| + static void cacheScrollBarMetrics(int32_t vertical_scroll_bar_width,
|
| + int32_t horizontal_scroll_bar_height,
|
| + int32_t vertical_arrow_bitmap_height,
|
| + int32_t horizontal_arrow_bitmap_width);
|
| +#endif
|
| };
|
|
|
| } // namespace content
|
|
|