| 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 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 54 class DateTimeChooser; | 54 class DateTimeChooser; |
| 55 class DateTimeChooserClient; | 55 class DateTimeChooserClient; |
| 56 class Element; | 56 class Element; |
| 57 class FileChooser; | 57 class FileChooser; |
| 58 class FloatRect; | 58 class FloatRect; |
| 59 class Frame; | 59 class Frame; |
| 60 class GraphicsContext3D; | 60 class GraphicsContext3D; |
| 61 class GraphicsLayer; | 61 class GraphicsLayer; |
| 62 class GraphicsLayerFactory; | 62 class GraphicsLayerFactory; |
| 63 class HitTestResult; | 63 class HitTestResult; |
| 64 class HTMLFormControlElement; |
| 64 class HTMLInputElement; | 65 class HTMLInputElement; |
| 65 class IntRect; | 66 class IntRect; |
| 66 class Node; | 67 class Node; |
| 67 class Page; | 68 class Page; |
| 68 class PagePopup; | 69 class PagePopup; |
| 69 class PagePopupClient; | 70 class PagePopupClient; |
| 70 class PagePopupDriver; | 71 class PagePopupDriver; |
| 71 class PopupContainer; | 72 class PopupContainer; |
| 72 class PopupMenuClient; | 73 class PopupMenuClient; |
| 73 class SecurityOrigin; | 74 class SecurityOrigin; |
| (...skipping 168 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 242 virtual bool isSVGImageChromeClient() const { return false; } | 243 virtual bool isSVGImageChromeClient() const { return false; } |
| 243 | 244 |
| 244 virtual bool requestPointerLock() { return false; } | 245 virtual bool requestPointerLock() { return false; } |
| 245 virtual void requestPointerUnlock() { } | 246 virtual void requestPointerUnlock() { } |
| 246 | 247 |
| 247 virtual FloatSize minimumWindowSize() const { return FloatSize(100, 100); }; | 248 virtual FloatSize minimumWindowSize() const { return FloatSize(100, 100); }; |
| 248 | 249 |
| 249 virtual bool isChromeClientImpl() const { return false; } | 250 virtual bool isChromeClientImpl() const { return false; } |
| 250 | 251 |
| 251 virtual void didAssociateFormControls(const Vector<RefPtr<Element> >&) { }; | 252 virtual void didAssociateFormControls(const Vector<RefPtr<Element> >&) { }; |
| 252 virtual void didChangeValueInTextField(HTMLInputElement&) { } | 253 virtual void didChangeValueInTextField(HTMLFormControlElement&) { } |
| 253 virtual void didEndEditingOnTextField(HTMLInputElement&) { } | 254 virtual void didEndEditingOnTextField(HTMLInputElement&) { } |
| 254 virtual void handleKeyboardEventOnTextField(HTMLInputElement&, KeyboardEvent
&) { } | 255 virtual void handleKeyboardEventOnTextField(HTMLInputElement&, KeyboardEvent
&) { } |
| 255 | 256 |
| 256 // FIXME: Remove this method once we have input routing in the browser | 257 // FIXME: Remove this method once we have input routing in the browser |
| 257 // process. See http://crbug.com/339659. | 258 // process. See http://crbug.com/339659. |
| 258 virtual void forwardInputEvent(WebCore::Document*, WebCore::Event*) { } | 259 virtual void forwardInputEvent(WebCore::Document*, WebCore::Event*) { } |
| 259 | 260 |
| 260 // Input mehtod editor related functions. | 261 // Input mehtod editor related functions. |
| 261 virtual void didCancelCompositionOnSelectionChange() { } | 262 virtual void didCancelCompositionOnSelectionChange() { } |
| 262 virtual void willSetInputMethodState() { } | 263 virtual void willSetInputMethodState() { } |
| 263 | 264 |
| 264 // Notifies the client of a new popup widget. The client should place | 265 // Notifies the client of a new popup widget. The client should place |
| 265 // and size the widget with the given bounds, relative to the screen. | 266 // and size the widget with the given bounds, relative to the screen. |
| 266 // If handleExternal is true, then drawing and input handling for the | 267 // If handleExternal is true, then drawing and input handling for the |
| 267 // popup will be handled by the external embedder. | 268 // popup will be handled by the external embedder. |
| 268 virtual void popupOpened(PopupContainer* popupContainer, const IntRect& boun
ds, | 269 virtual void popupOpened(PopupContainer* popupContainer, const IntRect& boun
ds, |
| 269 bool handleExternal) = 0; | 270 bool handleExternal) = 0; |
| 270 | 271 |
| 271 // Notifies the client a popup was closed. | 272 // Notifies the client a popup was closed. |
| 272 virtual void popupClosed(PopupContainer* popupContainer) = 0; | 273 virtual void popupClosed(PopupContainer* popupContainer) = 0; |
| 273 | 274 |
| 274 protected: | 275 protected: |
| 275 virtual ~ChromeClient() { } | 276 virtual ~ChromeClient() { } |
| 276 }; | 277 }; |
| 277 | 278 |
| 278 } | 279 } |
| 279 #endif // ChromeClient_h | 280 #endif // ChromeClient_h |
| OLD | NEW |