Don't pass a null ServiceWorker registration with OK status code.
[chromium-blink-merge.git] / content / renderer / webscrollbarbehavior_impl_gtkoraura.h
blob7d681d37250fe32f0a79b2eaf86ce87e07b7f2d6
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_CHILD_WEBSCROLLBARBEHAVIOR_IMPL_GTKORAURA_H_
6 #define CONTENT_CHILD_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_CHILD_WEBSCROLLBARBEHAVIOR_IMPL_GTKORAURA_H_