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 286 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
297 virtual PagePopup* openPagePopup(PagePopupClient*, const IntRect& originBoun
dsInRootView) = 0; | 297 virtual PagePopup* openPagePopup(PagePopupClient*, const IntRect& originBoun
dsInRootView) = 0; |
298 virtual void closePagePopup(PagePopup*) = 0; | 298 virtual void closePagePopup(PagePopup*) = 0; |
299 // For testing. | 299 // For testing. |
300 virtual void setPagePopupDriver(PagePopupDriver*) = 0; | 300 virtual void setPagePopupDriver(PagePopupDriver*) = 0; |
301 virtual void resetPagePopupDriver() = 0; | 301 virtual void resetPagePopupDriver() = 0; |
302 #endif | 302 #endif |
303 // This function is called whenever a text field <input> is created. The | 303 // This function is called whenever a text field <input> is created. The |
304 // implementation should return true if it wants to do something in | 304 // implementation should return true if it wants to do something in |
305 // addTextFieldDecorationsTo(). | 305 // addTextFieldDecorationsTo(). |
306 // The argument is always non-0. | 306 // The argument is always non-0. |
307 virtual bool willAddTextFieldDecorationsTo(HTMLInputElement*) { return false
; } | 307 virtual bool willAddTextFieldDecorationsTo(Handle<HTMLInputElement>) { retur
n false; } |
308 // The argument is always non-0. | 308 // The argument is always non-0. |
309 virtual void addTextFieldDecorationsTo(HTMLInputElement*) { } | 309 virtual void addTextFieldDecorationsTo(Handle<HTMLInputElement>) { } |
310 | 310 |
311 virtual void postAccessibilityNotification(AccessibilityObject*, AXObjectCac
he::AXNotification) { } | 311 virtual void postAccessibilityNotification(AccessibilityObject*, AXObjectCac
he::AXNotification) { } |
312 | 312 |
313 virtual void notifyScrollerThumbIsVisibleInRect(const IntRect&) { } | 313 virtual void notifyScrollerThumbIsVisibleInRect(const IntRect&) { } |
314 virtual void recommendedScrollbarStyleDidChange(int /*newStyle*/) { } | 314 virtual void recommendedScrollbarStyleDidChange(int /*newStyle*/) { } |
315 | 315 |
316 enum DialogType { | 316 enum DialogType { |
317 AlertDialog = 0, | 317 AlertDialog = 0, |
318 ConfirmDialog = 1, | 318 ConfirmDialog = 1, |
319 PromptDialog = 2, | 319 PromptDialog = 2, |
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
354 | 354 |
355 // Notifies the client a popup was closed. | 355 // Notifies the client a popup was closed. |
356 virtual void popupClosed(PopupContainer* popupContainer) = 0; | 356 virtual void popupClosed(PopupContainer* popupContainer) = 0; |
357 | 357 |
358 protected: | 358 protected: |
359 virtual ~ChromeClient() { } | 359 virtual ~ChromeClient() { } |
360 }; | 360 }; |
361 | 361 |
362 } | 362 } |
363 #endif // ChromeClient_h | 363 #endif // ChromeClient_h |
OLD | NEW |