OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2009 Google Inc. All rights reserved. | 2 * Copyright (C) 2009 Google 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 * | 4 * |
5 * Redistribution and use in source and binary forms, with or without | 5 * Redistribution and use in source and binary forms, with or without |
6 * modification, are permitted provided that the following conditions are | 6 * modification, are permitted provided that the following conditions are |
7 * met: | 7 * met: |
8 * | 8 * |
9 * * Redistributions of source code must retain the above copyright | 9 * * Redistributions of source code must retain the above copyright |
10 * notice, this list of conditions and the following disclaimer. | 10 * notice, this list of conditions and the following disclaimer. |
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
56 // ChromeClient methods: | 56 // ChromeClient methods: |
57 void chromeDestroyed() override; | 57 void chromeDestroyed() override; |
58 void setWindowRect(const IntRect&) override; | 58 void setWindowRect(const IntRect&) override; |
59 IntRect windowRect() override; | 59 IntRect windowRect() override; |
60 IntRect pageRect() override; | 60 IntRect pageRect() override; |
61 void focus() override; | 61 void focus() override; |
62 bool canTakeFocus(WebFocusType) override; | 62 bool canTakeFocus(WebFocusType) override; |
63 void takeFocus(WebFocusType) override; | 63 void takeFocus(WebFocusType) override; |
64 void focusedNodeChanged(Node* fromNode, Node* toNode) override; | 64 void focusedNodeChanged(Node* fromNode, Node* toNode) override; |
65 bool hadFormInteraction() const override; | 65 bool hadFormInteraction() const override; |
| 66 void startDragging(LocalFrame*, const WebDragData&, WebDragOperationsMask, c
onst WebImage& dragImage, const WebPoint& dragImageOffset) override; |
| 67 bool acceptsLoadDrops() const override; |
66 Page* createWindow( | 68 Page* createWindow( |
67 LocalFrame*, const FrameLoadRequest&, const WindowFeatures&, NavigationP
olicy, ShouldSetOpener) override; | 69 LocalFrame*, const FrameLoadRequest&, const WindowFeatures&, NavigationP
olicy, ShouldSetOpener) override; |
68 void show(NavigationPolicy) override; | 70 void show(NavigationPolicy) override; |
69 void didOverscroll( | 71 void didOverscroll( |
70 const FloatSize& overscrollDelta, | 72 const FloatSize& overscrollDelta, |
71 const FloatSize& accumulatedOverscroll, | 73 const FloatSize& accumulatedOverscroll, |
72 const FloatPoint& positionInViewport, | 74 const FloatPoint& positionInViewport, |
73 const FloatSize& velocityInViewport) override; | 75 const FloatSize& velocityInViewport) override; |
74 void setToolbarsVisible(bool) override; | 76 void setToolbarsVisible(bool) override; |
75 bool toolbarsVisible() override; | 77 bool toolbarsVisible() override; |
(...skipping 122 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
198 Cursor m_lastSetMouseCursorForTesting; | 200 Cursor m_lastSetMouseCursorForTesting; |
199 bool m_cursorOverridden; | 201 bool m_cursorOverridden; |
200 bool m_didRequestNonEmptyToolTip; | 202 bool m_didRequestNonEmptyToolTip; |
201 }; | 203 }; |
202 | 204 |
203 DEFINE_TYPE_CASTS(ChromeClientImpl, ChromeClient, client, client->isChromeClient
Impl(), client.isChromeClientImpl()); | 205 DEFINE_TYPE_CASTS(ChromeClientImpl, ChromeClient, client, client->isChromeClient
Impl(), client.isChromeClientImpl()); |
204 | 206 |
205 } // namespace blink | 207 } // namespace blink |
206 | 208 |
207 #endif | 209 #endif |
OLD | NEW |