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

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

Issue 1424983002: Invalidate scrollbars when window activity changes if needed (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: be forceful about 10.6-only Created 5 years 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: third_party/WebKit/Source/platform/scroll/ScrollbarTheme.h
diff --git a/third_party/WebKit/Source/platform/scroll/ScrollbarTheme.h b/third_party/WebKit/Source/platform/scroll/ScrollbarTheme.h
index 11a38e527cc006345a12db6c6a9532c5cac858d1..560ee0da61dd62f7de46ae42b000e35d51969d4d 100644
--- a/third_party/WebKit/Source/platform/scroll/ScrollbarTheme.h
+++ b/third_party/WebKit/Source/platform/scroll/ScrollbarTheme.h
@@ -69,6 +69,7 @@ public:
virtual void updateScrollbarOverlayStyle(const ScrollbarThemeClient*) { }
virtual bool invalidateOnMouseEnterExit() { return false; }
+ virtual bool invalidateOnWindowActiveChange() const { return false; }
virtual void paintScrollCorner(GraphicsContext*, const DisplayItemClientWrapper&, const IntRect& cornerRect);
virtual void paintTickmarks(GraphicsContext*, const ScrollbarThemeClient*, const IntRect&) { }

Powered by Google App Engine
This is Rietveld 408576698