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 265 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
276 virtual void enterFullscreenForNode(Node*) { } | 276 virtual void enterFullscreenForNode(Node*) { } |
277 virtual void exitFullscreenForNode(Node*) { } | 277 virtual void exitFullscreenForNode(Node*) { } |
278 virtual bool requiresFullscreenForVideoPlayback() { return false; } | 278 virtual bool requiresFullscreenForVideoPlayback() { return false; } |
279 | 279 |
280 virtual bool supportsFullScreenForElement(const Element*, bool) { return fal
se; } | 280 virtual bool supportsFullScreenForElement(const Element*, bool) { return fal
se; } |
281 virtual void enterFullScreenForElement(Element*) { } | 281 virtual void enterFullScreenForElement(Element*) { } |
282 virtual void exitFullScreenForElement(Element*) { } | 282 virtual void exitFullScreenForElement(Element*) { } |
283 virtual void fullScreenRendererChanged(RenderBox*) { } | 283 virtual void fullScreenRendererChanged(RenderBox*) { } |
284 virtual void setRootFullScreenLayer(GraphicsLayer*) { } | 284 virtual void setRootFullScreenLayer(GraphicsLayer*) { } |
285 | 285 |
286 #if ENABLE(TOUCH_EVENTS) | |
287 virtual void needTouchEvents(bool) = 0; | 286 virtual void needTouchEvents(bool) = 0; |
288 #endif | |
289 | 287 |
290 virtual bool selectItemWritingDirectionIsNatural() = 0; | 288 virtual bool selectItemWritingDirectionIsNatural() = 0; |
291 virtual bool selectItemAlignmentFollowsMenuWritingDirection() = 0; | 289 virtual bool selectItemAlignmentFollowsMenuWritingDirection() = 0; |
292 // Checks if there is an opened popup, called by RenderMenuList::showPopup()
. | 290 // Checks if there is an opened popup, called by RenderMenuList::showPopup()
. |
293 virtual bool hasOpenedPopup() const = 0; | 291 virtual bool hasOpenedPopup() const = 0; |
294 virtual PassRefPtr<PopupMenu> createPopupMenu(PopupMenuClient*) const = 0; | 292 virtual PassRefPtr<PopupMenu> createPopupMenu(PopupMenuClient*) const = 0; |
295 virtual PassRefPtr<SearchPopupMenu> createSearchPopupMenu(PopupMenuClient*)
const = 0; | 293 virtual PassRefPtr<SearchPopupMenu> createSearchPopupMenu(PopupMenuClient*)
const = 0; |
296 #if ENABLE(PAGE_POPUP) | 294 #if ENABLE(PAGE_POPUP) |
297 // Creates a PagePopup object, and shows it beside originBoundsInRootView. | 295 // Creates a PagePopup object, and shows it beside originBoundsInRootView. |
298 // The return value can be 0. | 296 // The return value can be 0. |
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
356 | 354 |
357 // Notifies the client a popup was closed. | 355 // Notifies the client a popup was closed. |
358 virtual void popupClosed(PopupContainer* popupContainer) = 0; | 356 virtual void popupClosed(PopupContainer* popupContainer) = 0; |
359 | 357 |
360 protected: | 358 protected: |
361 virtual ~ChromeClient() { } | 359 virtual ~ChromeClient() { } |
362 }; | 360 }; |
363 | 361 |
364 } | 362 } |
365 #endif // ChromeClient_h | 363 #endif // ChromeClient_h |
OLD | NEW |