Remove unused did_first_* fields from InternalDocumentStateData.
[chromium-blink-merge.git] / content / renderer / webscrollbarbehavior_impl_mac.h
blob0163d822eb9cad8f44af8fb6eb65f6cfe36b22e1
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_MAC_H_
6 #define CONTENT_RENDERER_WEBSCROLLBARBEHAVIOR_IMPL_MAC_H_
8 #include "third_party/WebKit/public/platform/WebScrollbarBehavior.h"
10 namespace content {
12 class WebScrollbarBehaviorImpl : public blink::WebScrollbarBehavior {
13 public:
14 WebScrollbarBehaviorImpl();
16 virtual bool shouldCenterOnThumb(
17 blink::WebScrollbarBehavior::Button mouseButton,
18 bool shiftKeyPressed,
19 bool altKeyPressed);
21 void set_jump_on_track_click(bool jump_on_track_click) {
22 jump_on_track_click_ = jump_on_track_click;
25 private:
26 // The current value of AppleScrollerPagingBehavior from NSUserDefaults.
27 bool jump_on_track_click_;
30 } // namespace content
32 #endif // CONTENT_RENDERER_WEBSCROLLBARBEHAVIOR_IMPL_MAC_H_