| 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 197 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 208 virtual String acceptLanguages() = 0; | 208 virtual String acceptLanguages() = 0; |
| 209 | 209 |
| 210 enum DialogType { | 210 enum DialogType { |
| 211 AlertDialog = 0, | 211 AlertDialog = 0, |
| 212 ConfirmDialog = 1, | 212 ConfirmDialog = 1, |
| 213 PromptDialog = 2, | 213 PromptDialog = 2, |
| 214 HTMLDialog = 3 | 214 HTMLDialog = 3 |
| 215 }; | 215 }; |
| 216 virtual bool shouldRunModalDialogDuringPageDismissal(const DialogType&, cons
t String&, Document::PageDismissalType) const { return true; } | 216 virtual bool shouldRunModalDialogDuringPageDismissal(const DialogType&, cons
t String&, Document::PageDismissalType) const { return true; } |
| 217 | 217 |
| 218 virtual void numWheelEventHandlersChanged(unsigned) = 0; | |
| 219 | |
| 220 virtual bool isSVGImageChromeClient() const { return false; } | 218 virtual bool isSVGImageChromeClient() const { return false; } |
| 221 | 219 |
| 222 virtual bool requestPointerLock() { return false; } | 220 virtual bool requestPointerLock() { return false; } |
| 223 virtual void requestPointerUnlock() { } | 221 virtual void requestPointerUnlock() { } |
| 224 | 222 |
| 225 virtual FloatSize minimumWindowSize() const { return FloatSize(100, 100); }; | 223 virtual FloatSize minimumWindowSize() const { return FloatSize(100, 100); }; |
| 226 | 224 |
| 227 virtual bool isChromeClientImpl() const { return false; } | 225 virtual bool isChromeClientImpl() const { return false; } |
| 228 | 226 |
| 229 virtual void didAssociateFormControls(const WillBeHeapVector<RefPtrWillBeMem
ber<Element> >&) { }; | 227 virtual void didAssociateFormControls(const WillBeHeapVector<RefPtrWillBeMem
ber<Element> >&) { }; |
| 230 virtual void didChangeValueInTextField(HTMLFormControlElement&) { } | 228 virtual void didChangeValueInTextField(HTMLFormControlElement&) { } |
| 231 virtual void didEndEditingOnTextField(HTMLInputElement&) { } | 229 virtual void didEndEditingOnTextField(HTMLInputElement&) { } |
| 232 virtual void handleKeyboardEventOnTextField(HTMLInputElement&, KeyboardEvent
&) { } | 230 virtual void handleKeyboardEventOnTextField(HTMLInputElement&, KeyboardEvent
&) { } |
| 233 | 231 |
| 234 // FIXME: Remove this method once we have input routing in the browser | 232 // FIXME: Remove this method once we have input routing in the browser |
| 235 // process. See http://crbug.com/339659. | 233 // process. See http://crbug.com/339659. |
| 236 virtual void forwardInputEvent(WebCore::Frame*, WebCore::Event*) { } | 234 virtual void forwardInputEvent(WebCore::Frame*, WebCore::Event*) { } |
| 237 | 235 |
| 238 // Input mehtod editor related functions. | 236 // Input mehtod editor related functions. |
| 239 virtual void didCancelCompositionOnSelectionChange() { } | 237 virtual void didCancelCompositionOnSelectionChange() { } |
| 240 virtual void willSetInputMethodState() { } | 238 virtual void willSetInputMethodState() { } |
| 241 virtual void didUpdateTextOfFocusedElementByNonUserInput() { } | 239 virtual void didUpdateTextOfFocusedElementByNonUserInput() { } |
| 242 | 240 |
| 243 protected: | 241 protected: |
| 244 virtual ~ChromeClient() { } | 242 virtual ~ChromeClient() { } |
| 245 }; | 243 }; |
| 246 | 244 |
| 247 } | 245 } |
| 248 #endif // ChromeClient_h | 246 #endif // ChromeClient_h |
| OLD | NEW |