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

Unified Diff: third_party/WebKit/Source/platform/scroll/ScrollbarThemeMacNonOverlayAPI.h

Issue 1424983002: Invalidate scrollbars when window activity changes if needed (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 2 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
« no previous file with comments | « third_party/WebKit/Source/platform/scroll/ScrollbarTheme.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/platform/scroll/ScrollbarThemeMacNonOverlayAPI.h
diff --git a/third_party/WebKit/Source/platform/scroll/ScrollbarThemeMacNonOverlayAPI.h b/third_party/WebKit/Source/platform/scroll/ScrollbarThemeMacNonOverlayAPI.h
index bf9cc292e8dbf4d85068285d7531f011e6c2511b..19da55ce3570c057d161cfb6b58e00924e5a00d5 100644
--- a/third_party/WebKit/Source/platform/scroll/ScrollbarThemeMacNonOverlayAPI.h
+++ b/third_party/WebKit/Source/platform/scroll/ScrollbarThemeMacNonOverlayAPI.h
@@ -41,6 +41,8 @@ public:
bool usesOverlayScrollbars() const override { return false; }
ScrollbarButtonsPlacement buttonsPlacement() const override;
+ bool invalidateOnWindowActiveChange() const override { return true; }
ojan 2015/10/29 00:25:25 This is just for mac 10.6 right? If so, we should
Elly Fong-Jones 2015/10/29 15:12:40 It is, yes. The non-overlay API is the 10.6 API; i
+
bool paint(const ScrollbarThemeClient*, GraphicsContext*, const IntRect& damageRect) override;
protected:
« no previous file with comments | « third_party/WebKit/Source/platform/scroll/ScrollbarTheme.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698