OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2006, 2007, 2008, 2009 Apple Inc. All rights reserved. | 2 * Copyright (C) 2006, 2007, 2008, 2009 Apple Inc. All rights reserved. |
3 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies). | 3 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies). |
4 * Copyright (C) 2012, Samsung Electronics. All rights reserved. | 4 * Copyright (C) 2012, Samsung Electronics. All rights reserved. |
5 * | 5 * |
6 * This library is free software; you can redistribute it and/or | 6 * This library is free software; you can redistribute it and/or |
7 * modify it under the terms of the GNU Library General Public | 7 * modify it under the terms of the GNU Library General Public |
8 * License as published by the Free Software Foundation; either | 8 * License as published by the Free Software Foundation; either |
9 * version 2 of the License, or (at your option) any later version. | 9 * version 2 of the License, or (at your option) any later version. |
10 * | 10 * |
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
67 | 67 |
68 static PassOwnPtr<Chrome> create(Page*, ChromeClient*); | 68 static PassOwnPtr<Chrome> create(Page*, ChromeClient*); |
69 | 69 |
70 ChromeClient* client() { return m_client; } | 70 ChromeClient* client() { return m_client; } |
71 | 71 |
72 // HostWindow methods. | 72 // HostWindow methods. |
73 virtual void invalidateRootView(const IntRect&) OVERRIDE; | 73 virtual void invalidateRootView(const IntRect&) OVERRIDE; |
74 virtual void invalidateContentsAndRootView(const IntRect&) OVERRIDE; | 74 virtual void invalidateContentsAndRootView(const IntRect&) OVERRIDE; |
75 virtual void invalidateContentsForSlowScroll(const IntRect&) OVERRIDE; | 75 virtual void invalidateContentsForSlowScroll(const IntRect&) OVERRIDE; |
76 virtual void scroll(const IntSize&, const IntRect&, const IntRect&) OVERRIDE
; | 76 virtual void scroll(const IntSize&, const IntRect&, const IntRect&) OVERRIDE
; |
77 #if USE(TILED_BACKING_STORE) | |
78 virtual void delegatedScrollRequested(const IntPoint& scrollPoint) OVERRIDE; | |
79 #endif | |
80 virtual IntPoint screenToRootView(const IntPoint&) const OVERRIDE; | 77 virtual IntPoint screenToRootView(const IntPoint&) const OVERRIDE; |
81 virtual IntRect rootViewToScreen(const IntRect&) const OVERRIDE; | 78 virtual IntRect rootViewToScreen(const IntRect&) const OVERRIDE; |
82 virtual PlatformPageClient platformPageClient() const OVERRIDE; | 79 virtual PlatformPageClient platformPageClient() const OVERRIDE; |
83 virtual void scrollbarsModeDidChange() const OVERRIDE; | 80 virtual void scrollbarsModeDidChange() const OVERRIDE; |
84 virtual void setCursor(const Cursor&) OVERRIDE; | 81 virtual void setCursor(const Cursor&) OVERRIDE; |
85 virtual void setCursorHiddenUntilMouseMoves(bool) OVERRIDE; | 82 virtual void setCursorHiddenUntilMouseMoves(bool) OVERRIDE; |
86 | 83 |
87 virtual void scheduleAnimation() OVERRIDE; | 84 virtual void scheduleAnimation() OVERRIDE; |
88 | 85 |
89 void scrollRectIntoView(const IntRect&) const; | 86 void scrollRectIntoView(const IntRect&) const; |
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
178 void notifyPopupOpeningObservers() const; | 175 void notifyPopupOpeningObservers() const; |
179 | 176 |
180 Page* m_page; | 177 Page* m_page; |
181 ChromeClient* m_client; | 178 ChromeClient* m_client; |
182 Vector<PopupOpeningObserver*> m_popupOpeningObservers; | 179 Vector<PopupOpeningObserver*> m_popupOpeningObservers; |
183 }; | 180 }; |
184 | 181 |
185 } | 182 } |
186 | 183 |
187 #endif // Chrome_h | 184 #endif // Chrome_h |
OLD | NEW |