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

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

Issue 1504913002: Revert of Enforce marking "override" for functions overriding Blink. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years 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
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CONTENT_RENDERER_WEBSCROLLBARBEHAVIOR_IMPL_GTKORAURA_H_ 5 #ifndef CONTENT_RENDERER_WEBSCROLLBARBEHAVIOR_IMPL_GTKORAURA_H_
6 #define CONTENT_RENDERER_WEBSCROLLBARBEHAVIOR_IMPL_GTKORAURA_H_ 6 #define CONTENT_RENDERER_WEBSCROLLBARBEHAVIOR_IMPL_GTKORAURA_H_
7 7
8 #include "third_party/WebKit/public/platform/WebScrollbarBehavior.h" 8 #include "third_party/WebKit/public/platform/WebScrollbarBehavior.h"
9 9
10 namespace content { 10 namespace content {
11 11
12 class WebScrollbarBehaviorImpl : public blink::WebScrollbarBehavior { 12 class WebScrollbarBehaviorImpl : public blink::WebScrollbarBehavior {
13 public: 13 public:
14 bool shouldCenterOnThumb(blink::WebScrollbarBehavior::Button mouseButton, 14 virtual bool shouldCenterOnThumb(
15 bool shiftKeyPressed, 15 blink::WebScrollbarBehavior::Button mouseButton,
16 bool altKeyPressed) override; 16 bool shiftKeyPressed,
17 bool shouldSnapBackToDragOrigin(const blink::WebPoint& eventPoint, 17 bool altKeyPressed);
18 const blink::WebRect& scrollbarRect, 18 virtual bool shouldSnapBackToDragOrigin(const blink::WebPoint& eventPoint,
19 bool isHorizontal) override; 19 const blink::WebRect& scrollbarRect,
20 bool isHorizontal);
20 }; 21 };
21 22
22 } // namespace content 23 } // namespace content
23 24
24 #endif // CONTENT_RENDERER_WEBSCROLLBARBEHAVIOR_IMPL_GTKORAURA_H_ 25 #endif // CONTENT_RENDERER_WEBSCROLLBARBEHAVIOR_IMPL_GTKORAURA_H_
OLDNEW
« no previous file with comments | « content/renderer/wake_lock/wake_lock_dispatcher.h ('k') | media/blink/multibuffer_data_source_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698