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

Side by Side Diff: Source/platform/scroll/FramelessScrollView.h

Issue 131003004: Update platform classes to use OVERRIDE / FINAL when needed (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 11 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
OLDNEW
1 /* 1 /*
2 * Copyright (c) 2008, 2009, Google Inc. All rights reserved. 2 * Copyright (c) 2008, 2009, 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 are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * 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 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
67 virtual bool handleGestureEvent(const PlatformGestureEvent&) = 0; 67 virtual bool handleGestureEvent(const PlatformGestureEvent&) = 0;
68 68
69 // ScrollableArea public methods: 69 // ScrollableArea public methods:
70 virtual void invalidateScrollbarRect(Scrollbar*, const IntRect&) OVERRIDE; 70 virtual void invalidateScrollbarRect(Scrollbar*, const IntRect&) OVERRIDE;
71 virtual bool isActive() const OVERRIDE; 71 virtual bool isActive() const OVERRIDE;
72 virtual ScrollableArea* enclosingScrollableArea() const OVERRIDE; 72 virtual ScrollableArea* enclosingScrollableArea() const OVERRIDE;
73 virtual bool scrollbarsCanBeActive() const OVERRIDE; 73 virtual bool scrollbarsCanBeActive() const OVERRIDE;
74 virtual IntRect scrollableAreaBoundingBox() const OVERRIDE; 74 virtual IntRect scrollableAreaBoundingBox() const OVERRIDE;
75 75
76 // Widget public methods: 76 // Widget public methods:
77 virtual void invalidateRect(const IntRect&); 77 virtual void invalidateRect(const IntRect&) OVERRIDE;
78 78
79 // ScrollView public methods: 79 // ScrollView public methods:
80 virtual HostWindow* hostWindow() const; 80 virtual HostWindow* hostWindow() const OVERRIDE;
81 virtual IntRect windowClipRect(bool clipToContents = true) const; 81 virtual IntRect windowClipRect(bool clipToContents = true) const OVERRIDE;
82 82
83 protected: 83 protected:
84 // ScrollView protected methods: 84 // ScrollView protected methods:
85 virtual void paintContents(GraphicsContext*, const IntRect&); 85 virtual void paintContents(GraphicsContext*, const IntRect&) OVERRIDE;
86 virtual void contentsResized(); 86 virtual void contentsResized() OVERRIDE;
87 virtual void scrollbarExistenceDidChange(); 87 virtual void scrollbarExistenceDidChange() OVERRIDE;
88 88
89 private: 89 private:
90 FramelessScrollViewClient* m_client; 90 FramelessScrollViewClient* m_client;
91 }; 91 };
92 92
93 } // namespace WebCore 93 } // namespace WebCore
94 94
95 #endif 95 #endif
OLDNEW
« no previous file with comments | « Source/platform/plugins/PluginListBuilder.h ('k') | Source/platform/scroll/ScrollAnimatorNone.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698