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

Side by Side Diff: content/renderer/webscrollbarbehavior_impl_gtkoraura.h

Issue 175903002: Re-add snap-back behavior (Chrome side) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 6 years, 9 months 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 unified diff | Download patch | Annotate | Revision Log
Property Changes:
Added: svn:eol-style
## -0,0 +1 ##
+LF
\ No newline at end of property
OLDNEW
(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_CHILD_WEBSCROLLBARBEHAVIOR_IMPL_GTKORAURA_H_
6 #define CONTENT_CHILD_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 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);
21 };
22
23 } // namespace content
24
25 #endif // CONTENT_CHILD_WEBSCROLLBARBEHAVIOR_IMPL_GTKORAURA_H_
OLDNEW
« no previous file with comments | « content/renderer/renderer_webkitplatformsupport_impl.cc ('k') | content/renderer/webscrollbarbehavior_impl_gtkoraura.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698