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

Unified Diff: Source/platform/scroll/ScrollbarThemeClient.h

Issue 26936002: Remove Widget's dependency upon its own inheritor aka ScrollView. This was nasty from an OO design… (Closed) Base URL: https://chromium.googlesource.com/chromium/blink@master
Patch Set: Clean up by using helper functions where appropriate Created 7 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
Index: Source/platform/scroll/ScrollbarThemeClient.h
diff --git a/Source/platform/scroll/ScrollbarThemeClient.h b/Source/platform/scroll/ScrollbarThemeClient.h
index 50cde48ebe99f18ee49bdc2ae33bed94056f5d60..b45647a8190bd100c80c6a42d7272f5c019ad0d2 100644
--- a/Source/platform/scroll/ScrollbarThemeClient.h
+++ b/Source/platform/scroll/ScrollbarThemeClient.h
@@ -35,7 +35,7 @@
namespace WebCore {
-class ScrollView;
+class Widget;
class ScrollbarThemeClient {
public:
@@ -46,8 +46,8 @@ public:
virtual IntSize size() const = 0;
virtual IntPoint location() const = 0;
- virtual ScrollView* parent() const = 0;
- virtual ScrollView* root() const = 0;
+ virtual Widget* parent() const = 0;
+ virtual Widget* root() const = 0;
virtual void setFrameRect(const IntRect&) = 0;
virtual IntRect frameRect() const = 0;

Powered by Google App Engine
This is Rietveld 408576698