| 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 // Input mehtod editor related functions. | 232 // Input mehtod editor related functions. |
| 233 virtual void didCancelCompositionOnSelectionChange() { } | 233 virtual void didCancelCompositionOnSelectionChange() { } |
| 234 virtual void willSetInputMethodState() { } | 234 virtual void willSetInputMethodState() { } |
| 235 virtual void didUpdateTextOfFocusedElementByNonUserInput() { } | 235 virtual void didUpdateTextOfFocusedElementByNonUserInput() { } |
| 236 virtual void showImeIfNeeded() { } | 236 virtual void showImeIfNeeded() { } |
| 237 | 237 |
| 238 virtual void registerViewportLayers() const { } | 238 virtual void registerViewportLayers() const { } |
| 239 | 239 |
| 240 virtual void showUnhandledTapUIIfNeeded(IntPoint, Node*, bool) { } | 240 virtual void showUnhandledTapUIIfNeeded(IntPoint, Node*, bool) { } |
| 241 | 241 |
| 242 virtual void onMouseDown(Node*) { } |
| 243 |
| 242 virtual void didUpdateTopControls() const { } | 244 virtual void didUpdateTopControls() const { } |
| 243 | 245 |
| 244 virtual void registerPopupOpeningObserver(PopupOpeningObserver*) = 0; | 246 virtual void registerPopupOpeningObserver(PopupOpeningObserver*) = 0; |
| 245 virtual void unregisterPopupOpeningObserver(PopupOpeningObserver*) = 0; | 247 virtual void unregisterPopupOpeningObserver(PopupOpeningObserver*) = 0; |
| 246 | 248 |
| 247 protected: | 249 protected: |
| 248 virtual ~ChromeClient() { } | 250 virtual ~ChromeClient() { } |
| 249 | 251 |
| 250 virtual void showMouseOverURL(const HitTestResult&) = 0; | 252 virtual void showMouseOverURL(const HitTestResult&) = 0; |
| 251 virtual void setWindowRect(const IntRect&) = 0; | 253 virtual void setWindowRect(const IntRect&) = 0; |
| 252 virtual bool openBeforeUnloadConfirmPanelDelegate(LocalFrame*, const String&
message) = 0; | 254 virtual bool openBeforeUnloadConfirmPanelDelegate(LocalFrame*, const String&
message) = 0; |
| 253 virtual bool openJavaScriptAlertDelegate(LocalFrame*, const String&) = 0; | 255 virtual bool openJavaScriptAlertDelegate(LocalFrame*, const String&) = 0; |
| 254 virtual bool openJavaScriptConfirmDelegate(LocalFrame*, const String&) = 0; | 256 virtual bool openJavaScriptConfirmDelegate(LocalFrame*, const String&) = 0; |
| 255 virtual bool openJavaScriptPromptDelegate(LocalFrame*, const String& message
, const String& defaultValue, String& result) = 0; | 257 virtual bool openJavaScriptPromptDelegate(LocalFrame*, const String& message
, const String& defaultValue, String& result) = 0; |
| 256 virtual void printDelegate(LocalFrame*) = 0; | 258 virtual void printDelegate(LocalFrame*) = 0; |
| 257 | 259 |
| 258 private: | 260 private: |
| 259 bool canOpenModalIfDuringPageDismissal(Frame* mainFrame, DialogType, const S
tring& message); | 261 bool canOpenModalIfDuringPageDismissal(Frame* mainFrame, DialogType, const S
tring& message); |
| 260 void setToolTip(const HitTestResult&); | 262 void setToolTip(const HitTestResult&); |
| 261 }; | 263 }; |
| 262 | 264 |
| 263 } // namespace blink | 265 } // namespace blink |
| 264 | 266 |
| 265 #endif // ChromeClient_h | 267 #endif // ChromeClient_h |
| OLD | NEW |