OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2011 Google Inc. All rights reserved. | 2 * Copyright (C) 2011 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 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
67 virtual WebCore::IntPoint maximumScrollPosition() const OVERRIDE; | 67 virtual WebCore::IntPoint maximumScrollPosition() const OVERRIDE; |
68 virtual int visibleHeight() const OVERRIDE; | 68 virtual int visibleHeight() const OVERRIDE; |
69 virtual int visibleWidth() const OVERRIDE; | 69 virtual int visibleWidth() const OVERRIDE; |
70 virtual WebCore::IntSize contentsSize() const OVERRIDE; | 70 virtual WebCore::IntSize contentsSize() const OVERRIDE; |
71 virtual WebCore::IntSize overhangAmount() const OVERRIDE; | 71 virtual WebCore::IntSize overhangAmount() const OVERRIDE; |
72 virtual WebCore::IntPoint lastKnownMousePosition() const OVERRIDE; | 72 virtual WebCore::IntPoint lastKnownMousePosition() const OVERRIDE; |
73 virtual bool shouldSuspendScrollAnimations() const OVERRIDE; | 73 virtual bool shouldSuspendScrollAnimations() const OVERRIDE; |
74 virtual void scrollbarStyleChanged(int newStyle, bool forceUpdate) OVERRIDE; | 74 virtual void scrollbarStyleChanged(int newStyle, bool forceUpdate) OVERRIDE; |
75 virtual bool scrollbarsCanBeActive() const OVERRIDE; | 75 virtual bool scrollbarsCanBeActive() const OVERRIDE; |
76 virtual WebCore::IntRect scrollableAreaBoundingBox() const OVERRIDE; | 76 virtual WebCore::IntRect scrollableAreaBoundingBox() const OVERRIDE; |
| 77 virtual bool isHorizontallyScrollable() const OVERRIDE; |
| 78 virtual bool isVerticallyScrollable() const OVERRIDE; |
77 | 79 |
78 private: | 80 private: |
79 WebCore::FrameView* m_frameView; | 81 WebCore::FrameView* m_frameView; |
80 WebCore::IntPoint m_lastMousePosition; | 82 WebCore::IntPoint m_lastMousePosition; |
81 WebCore::IntRect m_frameRect; | 83 WebCore::IntRect m_frameRect; |
82 WebPluginScrollbarImpl* m_horizontalScrollbar; | 84 WebPluginScrollbarImpl* m_horizontalScrollbar; |
83 WebPluginScrollbarImpl* m_verticalScrollbar; | 85 WebPluginScrollbarImpl* m_verticalScrollbar; |
84 }; | 86 }; |
85 | 87 |
86 } // namespace WebKit | 88 } // namespace WebKit |
87 | 89 |
88 #endif | 90 #endif |
OLD | NEW |