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

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: Fix for clang compile error 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
« no previous file with comments | « Source/core/rendering/RenderWidget.cpp ('k') | Source/web/WebInputEventConversion.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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;
« no previous file with comments | « Source/core/rendering/RenderWidget.cpp ('k') | Source/web/WebInputEventConversion.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698