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 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
61 virtual bool handleMouseDownEvent(const PlatformMouseEvent&) = 0; | 61 virtual bool handleMouseDownEvent(const PlatformMouseEvent&) = 0; |
62 virtual bool handleMouseMoveEvent(const PlatformMouseEvent&) = 0; | 62 virtual bool handleMouseMoveEvent(const PlatformMouseEvent&) = 0; |
63 virtual bool handleMouseReleaseEvent(const PlatformMouseEvent&) = 0; | 63 virtual bool handleMouseReleaseEvent(const PlatformMouseEvent&) = 0; |
64 virtual bool handleWheelEvent(const PlatformWheelEvent&) = 0; | 64 virtual bool handleWheelEvent(const PlatformWheelEvent&) = 0; |
65 virtual bool handleKeyEvent(const PlatformKeyboardEvent&) = 0; | 65 virtual bool handleKeyEvent(const PlatformKeyboardEvent&) = 0; |
66 virtual bool handleTouchEvent(const PlatformTouchEvent&) = 0; | 66 virtual bool handleTouchEvent(const PlatformTouchEvent&) = 0; |
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 isActiveFocus() const OVERRIDE; |
72 virtual bool scrollbarsCanBeActive() const OVERRIDE; | 72 virtual bool scrollbarsCanBeActive() const OVERRIDE; |
73 virtual IntRect scrollableAreaBoundingBox() const OVERRIDE; | 73 virtual IntRect scrollableAreaBoundingBox() const OVERRIDE; |
74 | 74 |
75 // Widget public methods: | 75 // Widget public methods: |
76 virtual void invalidateRect(const IntRect&) OVERRIDE; | 76 virtual void invalidateRect(const IntRect&) OVERRIDE; |
77 | 77 |
78 // ScrollView public methods: | 78 // ScrollView public methods: |
79 virtual HostWindow* hostWindow() const OVERRIDE; | 79 virtual HostWindow* hostWindow() const OVERRIDE; |
80 virtual IntRect windowClipRect(IncludeScrollbarsInRect = ExcludeScrollbars)
const OVERRIDE; | 80 virtual IntRect windowClipRect(IncludeScrollbarsInRect = ExcludeScrollbars)
const OVERRIDE; |
81 | 81 |
82 protected: | 82 protected: |
83 // ScrollView protected methods: | 83 // ScrollView protected methods: |
84 virtual void paintContents(GraphicsContext*, const IntRect&) OVERRIDE; | 84 virtual void paintContents(GraphicsContext*, const IntRect&) OVERRIDE; |
85 virtual void contentsResized() OVERRIDE; | 85 virtual void contentsResized() OVERRIDE; |
86 virtual void scrollbarExistenceDidChange() OVERRIDE; | 86 virtual void scrollbarExistenceDidChange() OVERRIDE; |
87 | 87 |
88 private: | 88 private: |
89 FramelessScrollViewClient* m_client; | 89 FramelessScrollViewClient* m_client; |
90 }; | 90 }; |
91 | 91 |
92 } // namespace WebCore | 92 } // namespace WebCore |
93 | 93 |
94 #endif | 94 #endif |
OLD | NEW |