| 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 80 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 91 | 91 |
| 92 virtual void focus() = 0; | 92 virtual void focus() = 0; |
| 93 | 93 |
| 94 virtual bool canTakeFocus(WebFocusType) = 0; | 94 virtual bool canTakeFocus(WebFocusType) = 0; |
| 95 virtual void takeFocus(WebFocusType) = 0; | 95 virtual void takeFocus(WebFocusType) = 0; |
| 96 | 96 |
| 97 virtual void focusedNodeChanged(Node*, Node*) = 0; | 97 virtual void focusedNodeChanged(Node*, Node*) = 0; |
| 98 | 98 |
| 99 virtual bool hadFormInteraction() const = 0; | 99 virtual bool hadFormInteraction() const = 0; |
| 100 | 100 |
| 101 virtual void beginLifecycleUpdates() = 0; |
| 102 |
| 101 // Start a system drag and drop operation. | 103 // Start a system drag and drop operation. |
| 102 virtual void startDragging(LocalFrame*, const WebDragData&, WebDragOperation
sMask, const WebImage& dragImage, const WebPoint& dragImageOffset) = 0; | 104 virtual void startDragging(LocalFrame*, const WebDragData&, WebDragOperation
sMask, const WebImage& dragImage, const WebPoint& dragImageOffset) = 0; |
| 103 virtual bool acceptsLoadDrops() const = 0; | 105 virtual bool acceptsLoadDrops() const = 0; |
| 104 | 106 |
| 105 // The LocalFrame pointer provides the ChromeClient with context about which | 107 // The LocalFrame pointer provides the ChromeClient with context about which |
| 106 // LocalFrame wants to create the new Page. Also, the newly created window | 108 // LocalFrame wants to create the new Page. Also, the newly created window |
| 107 // should not be shown to the user until the ChromeClient of the newly | 109 // should not be shown to the user until the ChromeClient of the newly |
| 108 // created Page has its show method called. | 110 // created Page has its show method called. |
| 109 // The FrameLoadRequest parameter is only for ChromeClient to check if the | 111 // The FrameLoadRequest parameter is only for ChromeClient to check if the |
| 110 // request could be fulfilled. The ChromeClient should not load the request. | 112 // request could be fulfilled. The ChromeClient should not load the request. |
| (...skipping 185 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 296 | 298 |
| 297 LayoutPoint m_lastToolTipPoint; | 299 LayoutPoint m_lastToolTipPoint; |
| 298 String m_lastToolTipText; | 300 String m_lastToolTipText; |
| 299 | 301 |
| 300 FRIEND_TEST_ALL_PREFIXES(ChromeClientTest, SetToolTipFlood); | 302 FRIEND_TEST_ALL_PREFIXES(ChromeClientTest, SetToolTipFlood); |
| 301 }; | 303 }; |
| 302 | 304 |
| 303 } // namespace blink | 305 } // namespace blink |
| 304 | 306 |
| 305 #endif // ChromeClient_h | 307 #endif // ChromeClient_h |
| OLD | NEW |