| 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 16 matching lines...) Expand all Loading... |
| 27 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | 27 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE |
| 28 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 28 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
| 29 */ | 29 */ |
| 30 | 30 |
| 31 #ifndef FramelessScrollView_h | 31 #ifndef FramelessScrollView_h |
| 32 #define FramelessScrollView_h | 32 #define FramelessScrollView_h |
| 33 | 33 |
| 34 #include "platform/PlatformExport.h" | 34 #include "platform/PlatformExport.h" |
| 35 #include "platform/scroll/ScrollView.h" | 35 #include "platform/scroll/ScrollView.h" |
| 36 | 36 |
| 37 namespace WebCore { | 37 namespace blink { |
| 38 | 38 |
| 39 class FramelessScrollViewClient; | 39 class FramelessScrollViewClient; |
| 40 class PlatformGestureEvent; | 40 class PlatformGestureEvent; |
| 41 class PlatformKeyboardEvent; | 41 class PlatformKeyboardEvent; |
| 42 class PlatformMouseEvent; | 42 class PlatformMouseEvent; |
| 43 class PlatformTouchEvent; | 43 class PlatformTouchEvent; |
| 44 class PlatformWheelEvent; | 44 class PlatformWheelEvent; |
| 45 | 45 |
| 46 // A FramelessScrollView is a ScrollView that can be used to render custom | 46 // A FramelessScrollView is a ScrollView that can be used to render custom |
| 47 // content, which does not have an associated LocalFrame. | 47 // content, which does not have an associated LocalFrame. |
| (...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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 blink |
| 93 | 93 |
| 94 #endif | 94 #endif |
| OLD | NEW |