| OLD | NEW |
| (Empty) | |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #ifndef CONTENT_RENDERER_WEBSCROLLBARBEHAVIOR_IMPL_GTKORAURA_H_ |
| 6 #define CONTENT_RENDERER_WEBSCROLLBARBEHAVIOR_IMPL_GTKORAURA_H_ |
| 7 |
| 8 #include "third_party/WebKit/public/platform/WebScrollbarBehavior.h" |
| 9 |
| 10 namespace content { |
| 11 |
| 12 class WebScrollbarBehaviorImpl : public blink::WebScrollbarBehavior { |
| 13 public: |
| 14 bool shouldCenterOnThumb(blink::WebPointerProperties::Button mouseButton, |
| 15 bool shiftKeyPressed, |
| 16 bool altKeyPressed) override; |
| 17 bool shouldSnapBackToDragOrigin(const blink::WebPoint& eventPoint, |
| 18 const blink::WebRect& scrollbarRect, |
| 19 bool isHorizontal) override; |
| 20 }; |
| 21 |
| 22 } // namespace content |
| 23 |
| 24 #endif // CONTENT_RENDERER_WEBSCROLLBARBEHAVIOR_IMPL_GTKORAURA_H_ |
| OLD | NEW |