Roll WebRTC 9189:9205, Libjingle 9186:9198
[chromium-blink-merge.git] / content / renderer / webscrollbarbehavior_impl_gtkoraura.h
blob30ccb239f37af450caf5e9c11c10e6893fdeb79a
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.
5 #ifndef CONTENT_RENDERER_WEBSCROLLBARBEHAVIOR_IMPL_GTKORAURA_H_
6 #define CONTENT_RENDERER_WEBSCROLLBARBEHAVIOR_IMPL_GTKORAURA_H_
8 #include "third_party/WebKit/public/platform/WebScrollbarBehavior.h"
10 namespace content {
12 class WebScrollbarBehaviorImpl : public blink::WebScrollbarBehavior {
13 public:
14 virtual bool shouldCenterOnThumb(
15 blink::WebScrollbarBehavior::Button mouseButton,
16 bool shiftKeyPressed,
17 bool altKeyPressed);
18 virtual bool shouldSnapBackToDragOrigin(const blink::WebPoint& eventPoint,
19 const blink::WebRect& scrollbarRect,
20 bool isHorizontal);
23 } // namespace content
25 #endif // CONTENT_RENDERER_WEBSCROLLBARBEHAVIOR_IMPL_GTKORAURA_H_