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

Unified Diff: Source/core/frame/VisualViewport.h

Issue 1308053003: Replace pinch scrollbars with regular scrollbars. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: fix comment Created 5 years, 4 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/core/frame/VisualViewport.h
diff --git a/Source/core/frame/VisualViewport.h b/Source/core/frame/VisualViewport.h
index e1831b29873c518e99eede32574e55f6ba43dc54..41e24aa00ddc7cc0f713cdf2658acd307931ac1c 100644
--- a/Source/core/frame/VisualViewport.h
+++ b/Source/core/frame/VisualViewport.h
@@ -37,14 +37,12 @@
#include "platform/geometry/IntSize.h"
#include "platform/graphics/GraphicsLayerClient.h"
#include "platform/scroll/ScrollableArea.h"
-#include "public/platform/WebScrollbar.h"
#include "public/platform/WebSize.h"
#include "wtf/OwnPtr.h"
#include "wtf/PassOwnPtr.h"
namespace blink {
class WebLayerTreeView;
-class WebScrollbarLayer;
}
namespace blink {
@@ -199,7 +197,6 @@ private:
void paintContents(const GraphicsLayer*, GraphicsContext&, GraphicsLayerPaintingPhase, const IntRect& inClip) override;
String debugName(const GraphicsLayer*) override;
- void setupScrollbar(WebScrollbar::Orientation);
FloatPoint clampOffsetToBoundaries(const FloatPoint&);
LocalFrame* mainFrame() const;
@@ -216,10 +213,6 @@ private:
OwnPtr<GraphicsLayer> m_overscrollElasticityLayer;
OwnPtr<GraphicsLayer> m_pageScaleLayer;
OwnPtr<GraphicsLayer> m_innerViewportScrollLayer;
- OwnPtr<GraphicsLayer> m_overlayScrollbarHorizontal;
- OwnPtr<GraphicsLayer> m_overlayScrollbarVertical;
- OwnPtr<WebScrollbarLayer> m_webOverlayScrollbarHorizontal;
- OwnPtr<WebScrollbarLayer> m_webOverlayScrollbarVertical;
// Offset of the visual viewport from the main frame's origin, in CSS pixels.
FloatPoint m_offset;

Powered by Google App Engine
This is Rietveld 408576698