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

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

Issue 2824753005: Rename HostWindow to PlatformChromeClient (Closed)
Patch Set: mac Created 3 years, 8 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 0d492ef1e273b5f1693645b6231a520b93110e29..14cc4f7ca713b48b096e7fce0b2102a9a0c73195 100644
--- a/third_party/WebKit/Source/platform/scroll/Scrollbar.h
+++ b/third_party/WebKit/Source/platform/scroll/Scrollbar.h
@@ -38,8 +38,8 @@ namespace blink {
class CullRect;
class GraphicsContext;
-class HostWindow;
class IntRect;
+class PlatformChromeClient;
class ScrollableArea;
class ScrollbarTheme;
class WebGestureEvent;
@@ -52,8 +52,8 @@ class PLATFORM_EXPORT Scrollbar : public FrameViewBase,
static Scrollbar* Create(ScrollableArea* scrollable_area,
ScrollbarOrientation orientation,
ScrollbarControlSize size,
- HostWindow* host_window) {
- return new Scrollbar(scrollable_area, orientation, size, host_window);
+ PlatformChromeClient* chrome_client) {
+ return new Scrollbar(scrollable_area, orientation, size, chrome_client);
}
// Theme object ownership remains with the caller and it must outlive the
@@ -209,7 +209,7 @@ class PLATFORM_EXPORT Scrollbar : public FrameViewBase,
Scrollbar(ScrollableArea*,
ScrollbarOrientation,
ScrollbarControlSize,
- HostWindow* = 0,
+ PlatformChromeClient* = 0,
ScrollbarTheme* = 0);
void AutoscrollTimerFired(TimerBase*);
@@ -223,7 +223,7 @@ class PLATFORM_EXPORT Scrollbar : public FrameViewBase,
ScrollbarOrientation orientation_;
ScrollbarControlSize control_size_;
ScrollbarTheme& theme_;
- Member<HostWindow> host_window_;
+ Member<PlatformChromeClient> chrome_client_;
int visible_size_;
int total_size_;
« no previous file with comments | « third_party/WebKit/Source/platform/scroll/ScrollableArea.cpp ('k') | third_party/WebKit/Source/platform/scroll/Scrollbar.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698