| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2006, 2007, 2008, 2009, 2010, 2011, 2012 Apple, Inc. All rights
reserved. | 2 * Copyright (C) 2006, 2007, 2008, 2009, 2010, 2011, 2012 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 137 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 148 | 148 |
| 149 virtual void* webView() const = 0; | 149 virtual void* webView() const = 0; |
| 150 | 150 |
| 151 virtual IntRect windowResizerRect() const = 0; | 151 virtual IntRect windowResizerRect() const = 0; |
| 152 | 152 |
| 153 // Methods used by HostWindow. | 153 // Methods used by HostWindow. |
| 154 virtual void invalidateRootView(const IntRect&) = 0; | 154 virtual void invalidateRootView(const IntRect&) = 0; |
| 155 virtual void invalidateContentsAndRootView(const IntRect&) = 0; | 155 virtual void invalidateContentsAndRootView(const IntRect&) = 0; |
| 156 virtual void invalidateContentsForSlowScroll(const IntRect&) = 0; | 156 virtual void invalidateContentsForSlowScroll(const IntRect&) = 0; |
| 157 virtual void scroll(const IntSize&, const IntRect&, const IntRect&) = 0; | 157 virtual void scroll(const IntSize&, const IntRect&, const IntRect&) = 0; |
| 158 #if USE(TILED_BACKING_STORE) | |
| 159 virtual void delegatedScrollRequested(const IntPoint&) = 0; | |
| 160 #endif | |
| 161 virtual IntPoint screenToRootView(const IntPoint&) const = 0; | 158 virtual IntPoint screenToRootView(const IntPoint&) const = 0; |
| 162 virtual IntRect rootViewToScreen(const IntRect&) const = 0; | 159 virtual IntRect rootViewToScreen(const IntRect&) const = 0; |
| 163 virtual PlatformPageClient platformPageClient() const = 0; | 160 virtual PlatformPageClient platformPageClient() const = 0; |
| 164 virtual void scrollbarsModeDidChange() const = 0; | 161 virtual void scrollbarsModeDidChange() const = 0; |
| 165 virtual void setCursor(const Cursor&) = 0; | 162 virtual void setCursor(const Cursor&) = 0; |
| 166 virtual void setCursorHiddenUntilMouseMoves(bool) = 0; | 163 virtual void setCursorHiddenUntilMouseMoves(bool) = 0; |
| 167 #if !USE(REQUEST_ANIMATION_FRAME_TIMER) | 164 #if !USE(REQUEST_ANIMATION_FRAME_TIMER) |
| 168 virtual void scheduleAnimation() = 0; | 165 virtual void scheduleAnimation() = 0; |
| 169 #endif | 166 #endif |
| 170 // End methods used by HostWindow. | 167 // End methods used by HostWindow. |
| (...skipping 108 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 279 virtual void enterFullscreenForNode(Node*) { } | 276 virtual void enterFullscreenForNode(Node*) { } |
| 280 virtual void exitFullscreenForNode(Node*) { } | 277 virtual void exitFullscreenForNode(Node*) { } |
| 281 virtual bool requiresFullscreenForVideoPlayback() { return false; } | 278 virtual bool requiresFullscreenForVideoPlayback() { return false; } |
| 282 | 279 |
| 283 virtual bool supportsFullScreenForElement(const Element*, bool) { return fal
se; } | 280 virtual bool supportsFullScreenForElement(const Element*, bool) { return fal
se; } |
| 284 virtual void enterFullScreenForElement(Element*) { } | 281 virtual void enterFullScreenForElement(Element*) { } |
| 285 virtual void exitFullScreenForElement(Element*) { } | 282 virtual void exitFullScreenForElement(Element*) { } |
| 286 virtual void fullScreenRendererChanged(RenderBox*) { } | 283 virtual void fullScreenRendererChanged(RenderBox*) { } |
| 287 virtual void setRootFullScreenLayer(GraphicsLayer*) { } | 284 virtual void setRootFullScreenLayer(GraphicsLayer*) { } |
| 288 | 285 |
| 289 #if USE(TILED_BACKING_STORE) | |
| 290 virtual IntRect visibleRectForTiledBackingStore() const { return IntRect();
} | |
| 291 #endif | |
| 292 | |
| 293 #if PLATFORM(MAC) | 286 #if PLATFORM(MAC) |
| 294 virtual NSResponder *firstResponder() { return 0; } | 287 virtual NSResponder *firstResponder() { return 0; } |
| 295 virtual void makeFirstResponder(NSResponder *) { } | 288 virtual void makeFirstResponder(NSResponder *) { } |
| 296 // Focuses on the containing view associated with this page. | 289 // Focuses on the containing view associated with this page. |
| 297 virtual void makeFirstResponder() { } | 290 virtual void makeFirstResponder() { } |
| 298 virtual void willPopUpMenu(NSMenu *) { } | 291 virtual void willPopUpMenu(NSMenu *) { } |
| 299 #endif | 292 #endif |
| 300 | 293 |
| 301 #if PLATFORM(WIN) | 294 #if PLATFORM(WIN) |
| 302 virtual void setLastSetCursorToCurrentCursor() = 0; | 295 virtual void setLastSetCursorToCurrentCursor() = 0; |
| (...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 365 | 358 |
| 366 virtual void didAssociateFormControls(const Vector<RefPtr<Element> >&) { }; | 359 virtual void didAssociateFormControls(const Vector<RefPtr<Element> >&) { }; |
| 367 virtual bool shouldNotifyOnFormChanges() { return false; }; | 360 virtual bool shouldNotifyOnFormChanges() { return false; }; |
| 368 | 361 |
| 369 protected: | 362 protected: |
| 370 virtual ~ChromeClient() { } | 363 virtual ~ChromeClient() { } |
| 371 }; | 364 }; |
| 372 | 365 |
| 373 } | 366 } |
| 374 #endif // ChromeClient_h | 367 #endif // ChromeClient_h |
| OLD | NEW |