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 221 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
232 virtual CompositingTriggerFlags allowedCompositingTriggers() const { return
static_cast<CompositingTriggerFlags>(AllTriggers); } | 232 virtual CompositingTriggerFlags allowedCompositingTriggers() const { return
static_cast<CompositingTriggerFlags>(AllTriggers); } |
233 | 233 |
234 virtual void enterFullScreenForElement(Element*) { } | 234 virtual void enterFullScreenForElement(Element*) { } |
235 virtual void exitFullScreenForElement(Element*) { } | 235 virtual void exitFullScreenForElement(Element*) { } |
236 | 236 |
237 virtual void needTouchEvents(bool) = 0; | 237 virtual void needTouchEvents(bool) = 0; |
238 | 238 |
239 // Checks if there is an opened popup, called by RenderMenuList::showPopup()
. | 239 // Checks if there is an opened popup, called by RenderMenuList::showPopup()
. |
240 virtual bool hasOpenedPopup() const = 0; | 240 virtual bool hasOpenedPopup() const = 0; |
241 virtual PassRefPtr<PopupMenu> createPopupMenu(PopupMenuClient*) const = 0; | 241 virtual PassRefPtr<PopupMenu> createPopupMenu(PopupMenuClient*) const = 0; |
242 #if ENABLE(PAGE_POPUP) | |
243 // Creates a PagePopup object, and shows it beside originBoundsInRootView. | 242 // Creates a PagePopup object, and shows it beside originBoundsInRootView. |
244 // The return value can be 0. | 243 // The return value can be 0. |
245 virtual PagePopup* openPagePopup(PagePopupClient*, const IntRect& originBoun
dsInRootView) = 0; | 244 virtual PagePopup* openPagePopup(PagePopupClient*, const IntRect& originBoun
dsInRootView) = 0; |
246 virtual void closePagePopup(PagePopup*) = 0; | 245 virtual void closePagePopup(PagePopup*) = 0; |
247 // For testing. | 246 // For testing. |
248 virtual void setPagePopupDriver(PagePopupDriver*) = 0; | 247 virtual void setPagePopupDriver(PagePopupDriver*) = 0; |
249 virtual void resetPagePopupDriver() = 0; | 248 virtual void resetPagePopupDriver() = 0; |
250 #endif | |
251 // This function is called whenever a text field <input> is created. The | 249 // This function is called whenever a text field <input> is created. The |
252 // implementation should return true if it wants to do something in | 250 // implementation should return true if it wants to do something in |
253 // addTextFieldDecorationsTo(). | 251 // addTextFieldDecorationsTo(). |
254 // The argument is always non-0. | 252 // The argument is always non-0. |
255 virtual bool willAddTextFieldDecorationsTo(HTMLInputElement*) { return false
; } | 253 virtual bool willAddTextFieldDecorationsTo(HTMLInputElement*) { return false
; } |
256 // The argument is always non-0. | 254 // The argument is always non-0. |
257 virtual void addTextFieldDecorationsTo(HTMLInputElement*) { } | 255 virtual void addTextFieldDecorationsTo(HTMLInputElement*) { } |
258 | 256 |
259 virtual void postAccessibilityNotification(AccessibilityObject*, AXObjectCac
he::AXNotification) { } | 257 virtual void postAccessibilityNotification(AccessibilityObject*, AXObjectCac
he::AXNotification) { } |
260 | 258 |
(...skipping 28 matching lines...) Expand all Loading... |
289 | 287 |
290 // Notifies the client a popup was closed. | 288 // Notifies the client a popup was closed. |
291 virtual void popupClosed(PopupContainer* popupContainer) = 0; | 289 virtual void popupClosed(PopupContainer* popupContainer) = 0; |
292 | 290 |
293 protected: | 291 protected: |
294 virtual ~ChromeClient() { } | 292 virtual ~ChromeClient() { } |
295 }; | 293 }; |
296 | 294 |
297 } | 295 } |
298 #endif // ChromeClient_h | 296 #endif // ChromeClient_h |
OLD | NEW |