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

Side by Side Diff: Source/platform/exported/WebScrollbarThemeGeometryNative.h

Issue 630853002: Replacing the OVERRIDE with override in third_party/WebKit/Source/platform (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebase build fix Created 6 years, 2 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
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2012 Google Inc. All rights reserved. 2 * Copyright (C) 2012 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 7 *
8 * 1. Redistributions of source code must retain the above copyright 8 * 1. Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * 2. Redistributions in binary form must reproduce the above copyright 10 * 2. Redistributions in binary form must reproduce the above copyright
(...skipping 23 matching lines...) Expand all
34 namespace blink { 34 namespace blink {
35 35
36 class ScrollbarTheme; 36 class ScrollbarTheme;
37 class WebScrollbar; 37 class WebScrollbar;
38 38
39 class PLATFORM_EXPORT WebScrollbarThemeGeometryNative : public WebScrollbarTheme Geometry { 39 class PLATFORM_EXPORT WebScrollbarThemeGeometryNative : public WebScrollbarTheme Geometry {
40 public: 40 public:
41 static PassOwnPtr<WebScrollbarThemeGeometryNative> create(ScrollbarTheme*); 41 static PassOwnPtr<WebScrollbarThemeGeometryNative> create(ScrollbarTheme*);
42 42
43 // WebScrollbarThemeGeometry overrides 43 // WebScrollbarThemeGeometry overrides
44 virtual WebScrollbarThemeGeometryNative* clone() const OVERRIDE; 44 virtual WebScrollbarThemeGeometryNative* clone() const override;
45 virtual int thumbPosition(WebScrollbar*) OVERRIDE; 45 virtual int thumbPosition(WebScrollbar*) override;
46 virtual int thumbLength(WebScrollbar*) OVERRIDE; 46 virtual int thumbLength(WebScrollbar*) override;
47 virtual int trackPosition(WebScrollbar*) OVERRIDE; 47 virtual int trackPosition(WebScrollbar*) override;
48 virtual int trackLength(WebScrollbar*) OVERRIDE; 48 virtual int trackLength(WebScrollbar*) override;
49 virtual bool hasButtons(WebScrollbar*) OVERRIDE; 49 virtual bool hasButtons(WebScrollbar*) override;
50 virtual bool hasThumb(WebScrollbar*) OVERRIDE; 50 virtual bool hasThumb(WebScrollbar*) override;
51 virtual WebRect trackRect(WebScrollbar*) OVERRIDE; 51 virtual WebRect trackRect(WebScrollbar*) override;
52 virtual WebRect thumbRect(WebScrollbar*) OVERRIDE; 52 virtual WebRect thumbRect(WebScrollbar*) override;
53 virtual int minimumThumbLength(WebScrollbar*) OVERRIDE; 53 virtual int minimumThumbLength(WebScrollbar*) override;
54 virtual int scrollbarThickness(WebScrollbar*) OVERRIDE; 54 virtual int scrollbarThickness(WebScrollbar*) override;
55 virtual WebRect backButtonStartRect(WebScrollbar*) OVERRIDE; 55 virtual WebRect backButtonStartRect(WebScrollbar*) override;
56 virtual WebRect backButtonEndRect(WebScrollbar*) OVERRIDE; 56 virtual WebRect backButtonEndRect(WebScrollbar*) override;
57 virtual WebRect forwardButtonStartRect(WebScrollbar*) OVERRIDE; 57 virtual WebRect forwardButtonStartRect(WebScrollbar*) override;
58 virtual WebRect forwardButtonEndRect(WebScrollbar*) OVERRIDE; 58 virtual WebRect forwardButtonEndRect(WebScrollbar*) override;
59 virtual WebRect constrainTrackRectToTrackPieces(WebScrollbar*, const WebRect &) OVERRIDE; 59 virtual WebRect constrainTrackRectToTrackPieces(WebScrollbar*, const WebRect &) override;
60 virtual void splitTrack(WebScrollbar*, const WebRect& track, WebRect& startT rack, WebRect& thumb, WebRect& endTrack) OVERRIDE; 60 virtual void splitTrack(WebScrollbar*, const WebRect& track, WebRect& startT rack, WebRect& thumb, WebRect& endTrack) override;
61 61
62 private: 62 private:
63 explicit WebScrollbarThemeGeometryNative(ScrollbarTheme*); 63 explicit WebScrollbarThemeGeometryNative(ScrollbarTheme*);
64 64
65 // The theme is not owned by this class. It is assumed that the theme is a 65 // The theme is not owned by this class. It is assumed that the theme is a
66 // static pointer and its lifetime is essentially infinite. Only thread-safe 66 // static pointer and its lifetime is essentially infinite. Only thread-safe
67 // functions on the theme can be called by this theme. 67 // functions on the theme can be called by this theme.
68 ScrollbarTheme* m_theme; 68 ScrollbarTheme* m_theme;
69 }; 69 };
70 70
71 } // namespace blink 71 } // namespace blink
72 72
73 #endif 73 #endif
OLDNEW
« no previous file with comments | « Source/platform/exported/WebScrollbarThemeClientImpl.h ('k') | Source/platform/fonts/FontCacheTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698