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

Unified Diff: sky/engine/public/platform/WebScrollbarBehavior.h

Issue 720713003: Remove WebScroll* (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 6 years, 1 month 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 | « sky/engine/public/platform/WebScrollbar.h ('k') | sky/engine/public/platform/WebScrollbarLayer.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/engine/public/platform/WebScrollbarBehavior.h
diff --git a/sky/engine/public/platform/WebScrollbarBehavior.h b/sky/engine/public/platform/WebScrollbarBehavior.h
deleted file mode 100644
index 6d9b8a157468ecedfc6e9f46efc331356233813e..0000000000000000000000000000000000000000
--- a/sky/engine/public/platform/WebScrollbarBehavior.h
+++ /dev/null
@@ -1,28 +0,0 @@
-// Copyright 2014 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef WebScrollbarBehavior_h
-#define WebScrollbarBehavior_h
-
-namespace blink {
-
-struct WebPoint;
-struct WebRect;
-
-class WebScrollbarBehavior {
-public:
- enum Button {
- ButtonNone = -1,
- ButtonLeft,
- ButtonMiddle,
- ButtonRight
- };
- virtual ~WebScrollbarBehavior() { }
- virtual bool shouldCenterOnThumb(Button, bool shiftKeyPressed, bool altKeyPressed) { return false; }
- virtual bool shouldSnapBackToDragOrigin(const WebPoint& eventPoint, const WebRect& scrollbarRect, bool isHorizontal) { return false; }
-};
-
-} // namespace blink
-
-#endif
« no previous file with comments | « sky/engine/public/platform/WebScrollbar.h ('k') | sky/engine/public/platform/WebScrollbarLayer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698