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

Side by Side Diff: Source/core/platform/ScrollbarThemeClient.h

Issue 23480037: Fix RTL scroll bars being misrendered on Android. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: isLeftSideVerticalScrollbar Created 7 years, 3 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 | Annotate | Revision Log
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2012 Google Inc. All rights reserved. 2 * Copyright (C) 2012 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 7 *
8 * 1. Redistributions of source code must retain the above copyright 8 * 1. Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * 2. Redistributions in binary form must reproduce the above copyright 10 * 2. Redistributions in binary form must reproduce the above copyright
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
57 57
58 virtual ScrollbarOverlayStyle scrollbarOverlayStyle() const = 0; 58 virtual ScrollbarOverlayStyle scrollbarOverlayStyle() const = 0;
59 virtual void getTickmarks(Vector<IntRect>&) const = 0; 59 virtual void getTickmarks(Vector<IntRect>&) const = 0;
60 virtual bool isScrollableAreaActive() const = 0; 60 virtual bool isScrollableAreaActive() const = 0;
61 virtual bool isScrollViewScrollbar() const = 0; 61 virtual bool isScrollViewScrollbar() const = 0;
62 62
63 virtual IntPoint convertFromContainingWindow(const IntPoint& windowPoint) = 0; 63 virtual IntPoint convertFromContainingWindow(const IntPoint& windowPoint) = 0;
64 64
65 virtual bool isCustomScrollbar() const = 0; 65 virtual bool isCustomScrollbar() const = 0;
66 virtual ScrollbarOrientation orientation() const = 0; 66 virtual ScrollbarOrientation orientation() const = 0;
67 virtual bool isLeftSideVerticalScrollbar() const = 0;
67 68
68 virtual int value() const = 0; 69 virtual int value() const = 0;
69 virtual float currentPos() const = 0; 70 virtual float currentPos() const = 0;
70 virtual int visibleSize() const = 0; 71 virtual int visibleSize() const = 0;
71 virtual int totalSize() const = 0; 72 virtual int totalSize() const = 0;
72 virtual int maximum() const = 0; 73 virtual int maximum() const = 0;
73 virtual ScrollbarControlSize controlSize() const = 0; 74 virtual ScrollbarControlSize controlSize() const = 0;
74 75
75 virtual ScrollbarPart pressedPart() const = 0; 76 virtual ScrollbarPart pressedPart() const = 0;
76 virtual ScrollbarPart hoveredPart() const = 0; 77 virtual ScrollbarPart hoveredPart() const = 0;
77 78
78 virtual void styleChanged() = 0; 79 virtual void styleChanged() = 0;
79 80
80 virtual bool enabled() const = 0; 81 virtual bool enabled() const = 0;
81 virtual void setEnabled(bool) = 0; 82 virtual void setEnabled(bool) = 0;
82 83
83 virtual bool isOverlayScrollbar() const = 0; 84 virtual bool isOverlayScrollbar() const = 0;
84 85
85 virtual bool isAlphaLocked() const = 0; 86 virtual bool isAlphaLocked() const = 0;
86 virtual void setIsAlphaLocked(bool) = 0; 87 virtual void setIsAlphaLocked(bool) = 0;
87 88
88 protected: 89 protected:
89 virtual ~ScrollbarThemeClient() { } 90 virtual ~ScrollbarThemeClient() { }
90 }; 91 };
91 92
92 } // namespace WebCore 93 } // namespace WebCore
93 94
94 #endif // ScollbarThemeClient_h 95 #endif // ScollbarThemeClient_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698