| 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 175 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 186 virtual void clearCompositedSelectionBounds() { } | 186 virtual void clearCompositedSelectionBounds() { } |
| 187 virtual void updateCompositedSelectionBounds(const CompositedSelectionBound&
anchor, const CompositedSelectionBound& focus) { } | 187 virtual void updateCompositedSelectionBounds(const CompositedSelectionBound&
anchor, const CompositedSelectionBound& focus) { } |
| 188 | 188 |
| 189 virtual void needTouchEvents(bool) = 0; | 189 virtual void needTouchEvents(bool) = 0; |
| 190 | 190 |
| 191 virtual void setTouchAction(TouchAction) = 0; | 191 virtual void setTouchAction(TouchAction) = 0; |
| 192 | 192 |
| 193 // Checks if there is an opened popup, called by RenderMenuList::showPopup()
. | 193 // Checks if there is an opened popup, called by RenderMenuList::showPopup()
. |
| 194 virtual bool hasOpenedPopup() const = 0; | 194 virtual bool hasOpenedPopup() const = 0; |
| 195 virtual PassRefPtrWillBeRawPtr<PopupMenu> createPopupMenu(LocalFrame&, Popup
MenuClient*) const = 0; | 195 virtual PassRefPtrWillBeRawPtr<PopupMenu> createPopupMenu(LocalFrame&, Popup
MenuClient*) const = 0; |
| 196 // For testing. | 196 virtual DOMWindow* pagePopupWindowForTesting() const = 0; |
| 197 virtual void setPagePopupDriver(PagePopupDriver*) = 0; | |
| 198 virtual void resetPagePopupDriver() = 0; | |
| 199 virtual PagePopupDriver* pagePopupDriver() const = 0; | |
| 200 | 197 |
| 201 virtual void postAccessibilityNotification(AXObject*, AXObjectCache::AXNotif
ication) { } | 198 virtual void postAccessibilityNotification(AXObject*, AXObjectCache::AXNotif
ication) { } |
| 202 virtual String acceptLanguages() = 0; | 199 virtual String acceptLanguages() = 0; |
| 203 | 200 |
| 204 enum DialogType { | 201 enum DialogType { |
| 205 AlertDialog = 0, | 202 AlertDialog = 0, |
| 206 ConfirmDialog = 1, | 203 ConfirmDialog = 1, |
| 207 PromptDialog = 2, | 204 PromptDialog = 2, |
| 208 HTMLDialog = 3 | 205 HTMLDialog = 3 |
| 209 }; | 206 }; |
| (...skipping 20 matching lines...) Expand all Loading... |
| 230 virtual void didUpdateTextOfFocusedElementByNonUserInput() { } | 227 virtual void didUpdateTextOfFocusedElementByNonUserInput() { } |
| 231 virtual void showImeIfNeeded() { } | 228 virtual void showImeIfNeeded() { } |
| 232 | 229 |
| 233 protected: | 230 protected: |
| 234 virtual ~ChromeClient() { } | 231 virtual ~ChromeClient() { } |
| 235 }; | 232 }; |
| 236 | 233 |
| 237 } // namespace blink | 234 } // namespace blink |
| 238 | 235 |
| 239 #endif // ChromeClient_h | 236 #endif // ChromeClient_h |
| OLD | NEW |