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 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
55 | 55 |
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 void beginLifecycleUpdates() override; |
65 bool hadFormInteraction() const override; | 66 bool hadFormInteraction() const override; |
66 void startDragging(LocalFrame*, const WebDragData&, WebDragOperationsMask, c
onst WebImage& dragImage, const WebPoint& dragImageOffset) override; | 67 void startDragging(LocalFrame*, const WebDragData&, WebDragOperationsMask, c
onst WebImage& dragImage, const WebPoint& dragImageOffset) override; |
67 bool acceptsLoadDrops() const override; | 68 bool acceptsLoadDrops() const override; |
68 Page* createWindow( | 69 Page* createWindow( |
69 LocalFrame*, const FrameLoadRequest&, const WindowFeatures&, NavigationP
olicy, ShouldSetOpener) override; | 70 LocalFrame*, const FrameLoadRequest&, const WindowFeatures&, NavigationP
olicy, ShouldSetOpener) override; |
70 void show(NavigationPolicy) override; | 71 void show(NavigationPolicy) override; |
71 void didOverscroll( | 72 void didOverscroll( |
72 const FloatSize& overscrollDelta, | 73 const FloatSize& overscrollDelta, |
73 const FloatSize& accumulatedOverscroll, | 74 const FloatSize& accumulatedOverscroll, |
74 const FloatPoint& positionInViewport, | 75 const FloatPoint& positionInViewport, |
(...skipping 127 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
202 Cursor m_lastSetMouseCursorForTesting; | 203 Cursor m_lastSetMouseCursorForTesting; |
203 bool m_cursorOverridden; | 204 bool m_cursorOverridden; |
204 bool m_didRequestNonEmptyToolTip; | 205 bool m_didRequestNonEmptyToolTip; |
205 }; | 206 }; |
206 | 207 |
207 DEFINE_TYPE_CASTS(ChromeClientImpl, ChromeClient, client, client->isChromeClient
Impl(), client.isChromeClientImpl()); | 208 DEFINE_TYPE_CASTS(ChromeClientImpl, ChromeClient, client, client->isChromeClient
Impl(), client.isChromeClientImpl()); |
208 | 209 |
209 } // namespace blink | 210 } // namespace blink |
210 | 211 |
211 #endif | 212 #endif |
OLD | NEW |