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

Side by Side Diff: third_party/WebKit/Source/core/frame/RootFrameViewport.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 unified diff | Download patch
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef RootFrameViewport_h 5 #ifndef RootFrameViewport_h
6 #define RootFrameViewport_h 6 #define RootFrameViewport_h
7 7
8 #include "core/CoreExport.h" 8 #include "core/CoreExport.h"
9 #include "platform/scroll/ScrollableArea.h" 9 #include "platform/scroll/ScrollableArea.h"
10 10
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after
86 GraphicsLayer* LayerForVerticalScrollbar() const override; 86 GraphicsLayer* LayerForVerticalScrollbar() const override;
87 GraphicsLayer* LayerForScrollCorner() const override; 87 GraphicsLayer* LayerForScrollCorner() const override;
88 int HorizontalScrollbarHeight( 88 int HorizontalScrollbarHeight(
89 OverlayScrollbarClipBehavior = 89 OverlayScrollbarClipBehavior =
90 kIgnorePlatformOverlayScrollbarSize) const override; 90 kIgnorePlatformOverlayScrollbarSize) const override;
91 int VerticalScrollbarWidth( 91 int VerticalScrollbarWidth(
92 OverlayScrollbarClipBehavior = 92 OverlayScrollbarClipBehavior =
93 kIgnorePlatformOverlayScrollbarSize) const override; 93 kIgnorePlatformOverlayScrollbarSize) const override;
94 ScrollResult UserScroll(ScrollGranularity, const FloatSize&) override; 94 ScrollResult UserScroll(ScrollGranularity, const FloatSize&) override;
95 bool ScrollAnimatorEnabled() const override; 95 bool ScrollAnimatorEnabled() const override;
96 HostWindow* GetHostWindow() const override; 96 PlatformChromeClient* GetChromeClient() const override;
97 void ServiceScrollAnimations(double) override; 97 void ServiceScrollAnimations(double) override;
98 void UpdateCompositorScrollAnimations() override; 98 void UpdateCompositorScrollAnimations() override;
99 void CancelProgrammaticScrollAnimation() override; 99 void CancelProgrammaticScrollAnimation() override;
100 ScrollBehavior ScrollBehaviorStyle() const override; 100 ScrollBehavior ScrollBehaviorStyle() const override;
101 void ClearScrollableArea() override; 101 void ClearScrollableArea() override;
102 LayoutBox* GetLayoutBox() const override; 102 LayoutBox* GetLayoutBox() const override;
103 FloatQuad LocalToVisibleContentQuad(const FloatQuad&, 103 FloatQuad LocalToVisibleContentQuad(const FloatQuad&,
104 const LayoutObject*, 104 const LayoutObject*,
105 unsigned = 0) const final; 105 unsigned = 0) const final;
106 RefPtr<WebTaskRunner> GetTimerTaskRunner() const final; 106 RefPtr<WebTaskRunner> GetTimerTaskRunner() const final;
(...skipping 27 matching lines...) Expand all
134 134
135 DEFINE_TYPE_CASTS(RootFrameViewport, 135 DEFINE_TYPE_CASTS(RootFrameViewport,
136 ScrollableArea, 136 ScrollableArea,
137 scrollableArea, 137 scrollableArea,
138 scrollableArea->IsRootFrameViewport(), 138 scrollableArea->IsRootFrameViewport(),
139 scrollableArea.IsRootFrameViewport()); 139 scrollableArea.IsRootFrameViewport());
140 140
141 } // namespace blink 141 } // namespace blink
142 142
143 #endif // RootFrameViewport_h 143 #endif // RootFrameViewport_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/frame/FrameView.cpp ('k') | third_party/WebKit/Source/core/frame/RootFrameViewport.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698