OLD | NEW |
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 Loading... |
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 |
OLD | NEW |