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 273 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
284 virtual void setRootFullScreenLayer(GraphicsLayer*) { } | 284 virtual void setRootFullScreenLayer(GraphicsLayer*) { } |
285 | 285 |
286 virtual void needTouchEvents(bool) = 0; | 286 virtual void needTouchEvents(bool) = 0; |
287 | 287 |
288 virtual bool selectItemWritingDirectionIsNatural() = 0; | 288 virtual bool selectItemWritingDirectionIsNatural() = 0; |
289 virtual bool selectItemAlignmentFollowsMenuWritingDirection() = 0; | 289 virtual bool selectItemAlignmentFollowsMenuWritingDirection() = 0; |
290 // Checks if there is an opened popup, called by RenderMenuList::showPopup()
. | 290 // Checks if there is an opened popup, called by RenderMenuList::showPopup()
. |
291 virtual bool hasOpenedPopup() const = 0; | 291 virtual bool hasOpenedPopup() const = 0; |
292 virtual PassRefPtr<PopupMenu> createPopupMenu(PopupMenuClient*) const = 0; | 292 virtual PassRefPtr<PopupMenu> createPopupMenu(PopupMenuClient*) const = 0; |
293 virtual PassRefPtr<SearchPopupMenu> createSearchPopupMenu(PopupMenuClient*)
const = 0; | 293 virtual PassRefPtr<SearchPopupMenu> createSearchPopupMenu(PopupMenuClient*)
const = 0; |
294 #if ENABLE(PAGE_POPUP) | |
295 // Creates a PagePopup object, and shows it beside originBoundsInRootView. | 294 // Creates a PagePopup object, and shows it beside originBoundsInRootView. |
296 // The return value can be 0. | 295 // The return value can be 0. |
297 virtual PagePopup* openPagePopup(PagePopupClient*, const IntRect& originBoun
dsInRootView) = 0; | 296 virtual PagePopup* openPagePopup(PagePopupClient*, const IntRect& originBoun
dsInRootView) = 0; |
298 virtual void closePagePopup(PagePopup*) = 0; | 297 virtual void closePagePopup(PagePopup*) = 0; |
299 // For testing. | 298 // For testing. |
300 virtual void setPagePopupDriver(PagePopupDriver*) = 0; | 299 virtual void setPagePopupDriver(PagePopupDriver*) = 0; |
301 virtual void resetPagePopupDriver() = 0; | 300 virtual void resetPagePopupDriver() = 0; |
302 #endif | |
303 // This function is called whenever a text field <input> is created. The | 301 // This function is called whenever a text field <input> is created. The |
304 // implementation should return true if it wants to do something in | 302 // implementation should return true if it wants to do something in |
305 // addTextFieldDecorationsTo(). | 303 // addTextFieldDecorationsTo(). |
306 // The argument is always non-0. | 304 // The argument is always non-0. |
307 virtual bool willAddTextFieldDecorationsTo(HTMLInputElement*) { return false
; } | 305 virtual bool willAddTextFieldDecorationsTo(HTMLInputElement*) { return false
; } |
308 // The argument is always non-0. | 306 // The argument is always non-0. |
309 virtual void addTextFieldDecorationsTo(HTMLInputElement*) { } | 307 virtual void addTextFieldDecorationsTo(HTMLInputElement*) { } |
310 | 308 |
311 virtual void postAccessibilityNotification(AccessibilityObject*, AXObjectCac
he::AXNotification) { } | 309 virtual void postAccessibilityNotification(AccessibilityObject*, AXObjectCac
he::AXNotification) { } |
312 | 310 |
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
354 | 352 |
355 // Notifies the client a popup was closed. | 353 // Notifies the client a popup was closed. |
356 virtual void popupClosed(PopupContainer* popupContainer) = 0; | 354 virtual void popupClosed(PopupContainer* popupContainer) = 0; |
357 | 355 |
358 protected: | 356 protected: |
359 virtual ~ChromeClient() { } | 357 virtual ~ChromeClient() { } |
360 }; | 358 }; |
361 | 359 |
362 } | 360 } |
363 #endif // ChromeClient_h | 361 #endif // ChromeClient_h |
OLD | NEW |