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

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

Issue 1586983004: Revert of Scale scrollbar in use-zoom-for-dsf mode (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 11 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: third_party/WebKit/Source/platform/scroll/Scrollbar.h
diff --git a/third_party/WebKit/Source/platform/scroll/Scrollbar.h b/third_party/WebKit/Source/platform/scroll/Scrollbar.h
index 4256eb3fdcc37a7553d7a0ae93a7aa47b1b404d4..072e38c04e9cc7c16a65e293cd26a0a0c2cf5e7f 100644
--- a/third_party/WebKit/Source/platform/scroll/Scrollbar.h
+++ b/third_party/WebKit/Source/platform/scroll/Scrollbar.h
@@ -38,7 +38,6 @@
namespace blink {
class GraphicsContext;
-class HostWindow;
class IntRect;
class PlatformGestureEvent;
class PlatformMouseEvent;
@@ -48,7 +47,7 @@
class PLATFORM_EXPORT Scrollbar : public Widget, public ScrollbarThemeClient {
public:
- static PassRefPtrWillBeRawPtr<Scrollbar> create(ScrollableArea*, ScrollbarOrientation, ScrollbarControlSize, HostWindow*);
+ static PassRefPtrWillBeRawPtr<Scrollbar> create(ScrollableArea*, ScrollbarOrientation, ScrollbarControlSize);
// Theme object ownership remains with the caller and it must outlive the scrollbar.
static PassRefPtrWillBeRawPtr<Scrollbar> createForTesting(ScrollableArea*, ScrollbarOrientation, ScrollbarControlSize, ScrollbarTheme*);
@@ -93,8 +92,6 @@
void visibilityChanged() override;
bool enabled() const override { return m_enabled; }
void setEnabled(bool) override;
-
- int scrollbarThickness() const;
// Called by the ScrollableArea when the scroll offset changes.
void offsetDidChange();
@@ -180,7 +177,7 @@
DECLARE_VIRTUAL_TRACE();
protected:
- Scrollbar(ScrollableArea*, ScrollbarOrientation, ScrollbarControlSize, HostWindow* = 0, ScrollbarTheme* = 0);
+ Scrollbar(ScrollableArea*, ScrollbarOrientation, ScrollbarControlSize, ScrollbarTheme* = 0);
void autoscrollTimerFired(Timer<Scrollbar>*);
void startTimerIfNeeded(double delay);
@@ -193,7 +190,6 @@
ScrollbarOrientation m_orientation;
ScrollbarControlSize m_controlSize;
ScrollbarTheme& m_theme;
- HostWindow* m_hostWindow;
int m_visibleSize;
int m_totalSize;

Powered by Google App Engine
This is Rietveld 408576698