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

Side by Side Diff: third_party/WebKit/Source/core/frame/FrameView.h

Issue 2426793002: Aura overlay scrollbars adjust color for dark backgrounds (Closed)
Patch Set: update Created 4 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 unified diff | Download patch
OLDNEW
1 /* 1 /*
2 Copyright (C) 1997 Martin Jones (mjones@kde.org) 2 Copyright (C) 1997 Martin Jones (mjones@kde.org)
3 (C) 1998 Waldo Bastian (bastian@kde.org) 3 (C) 1998 Waldo Bastian (bastian@kde.org)
4 (C) 1998, 1999 Torben Weis (weis@kde.org) 4 (C) 1998, 1999 Torben Weis (weis@kde.org)
5 (C) 1999 Lars Knoll (knoll@kde.org) 5 (C) 1999 Lars Knoll (knoll@kde.org)
6 (C) 1999 Antti Koivisto (koivisto@kde.org) 6 (C) 1999 Antti Koivisto (koivisto@kde.org)
7 Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009 Apple Inc. All rights 7 Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009 Apple Inc. All rights
8 reserved. 8 reserved.
9 9
10 This library is free software; you can redistribute it and/or 10 This library is free software; you can redistribute it and/or
(...skipping 325 matching lines...) Expand 10 before | Expand all | Expand 10 after
336 void setCursor(const Cursor&); 336 void setCursor(const Cursor&);
337 337
338 bool scrollbarsCanBeActive() const override; 338 bool scrollbarsCanBeActive() const override;
339 void scrollbarVisibilityChanged() override; 339 void scrollbarVisibilityChanged() override;
340 340
341 // FIXME: Remove this method once plugin loading is decoupled from layout. 341 // FIXME: Remove this method once plugin loading is decoupled from layout.
342 void flushAnyPendingPostLayoutTasks(); 342 void flushAnyPendingPostLayoutTasks();
343 343
344 bool shouldSuspendScrollAnimations() const override; 344 bool shouldSuspendScrollAnimations() const override;
345 void scrollbarStyleChanged() override; 345 void scrollbarStyleChanged() override;
346 ScrollbarOverlayStyle getScrollbarOverlayStyle() const override;
346 347
347 LayoutReplaced* embeddedReplacedContent() const; 348 LayoutReplaced* embeddedReplacedContent() const;
348 349
349 static void setInitialTracksPaintInvalidationsForTesting(bool); 350 static void setInitialTracksPaintInvalidationsForTesting(bool);
350 351
351 // These methods are for testing. 352 // These methods are for testing.
352 void setTracksPaintInvalidations(bool); 353 void setTracksPaintInvalidations(bool);
353 bool isTrackingPaintInvalidations() const { 354 bool isTrackingPaintInvalidations() const {
354 return m_trackedObjectPaintInvalidations.get(); 355 return m_trackedObjectPaintInvalidations.get();
355 } 356 }
(...skipping 751 matching lines...) Expand 10 before | Expand all | Expand 10 after
1107 widget.isFrameView()); 1108 widget.isFrameView());
1108 DEFINE_TYPE_CASTS(FrameView, 1109 DEFINE_TYPE_CASTS(FrameView,
1109 ScrollableArea, 1110 ScrollableArea,
1110 scrollableArea, 1111 scrollableArea,
1111 scrollableArea->isFrameView(), 1112 scrollableArea->isFrameView(),
1112 scrollableArea.isFrameView()); 1113 scrollableArea.isFrameView());
1113 1114
1114 } // namespace blink 1115 } // namespace blink
1115 1116
1116 #endif // FrameView_h 1117 #endif // FrameView_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698