| 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 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 48 // Handles window-level notifications from core on behalf of a WebView. | 48 // Handles window-level notifications from core on behalf of a WebView. |
| 49 class WEB_EXPORT ChromeClientImpl final : public ChromeClient { | 49 class WEB_EXPORT ChromeClientImpl final : public ChromeClient { |
| 50 public: | 50 public: |
| 51 static ChromeClientImpl* create(WebViewImpl*); | 51 static ChromeClientImpl* create(WebViewImpl*); |
| 52 ~ChromeClientImpl() override; | 52 ~ChromeClientImpl() override; |
| 53 | 53 |
| 54 void* webView() const override; | 54 void* webView() const override; |
| 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&, LocalFrame*) override; |
| 59 IntRect windowRect() override; | 59 IntRect rootWindowRect() 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 void beginLifecycleUpdates() override; |
| 66 bool hadFormInteraction() const override; | 66 bool hadFormInteraction() const override; |
| 67 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; |
| 68 bool acceptsLoadDrops() const override; | 68 bool acceptsLoadDrops() const override; |
| 69 Page* createWindow( | 69 Page* createWindow( |
| (...skipping 135 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 205 Cursor m_lastSetMouseCursorForTesting; | 205 Cursor m_lastSetMouseCursorForTesting; |
| 206 bool m_cursorOverridden; | 206 bool m_cursorOverridden; |
| 207 bool m_didRequestNonEmptyToolTip; | 207 bool m_didRequestNonEmptyToolTip; |
| 208 }; | 208 }; |
| 209 | 209 |
| 210 DEFINE_TYPE_CASTS(ChromeClientImpl, ChromeClient, client, client->isChromeClient
Impl(), client.isChromeClientImpl()); | 210 DEFINE_TYPE_CASTS(ChromeClientImpl, ChromeClient, client, client->isChromeClient
Impl(), client.isChromeClientImpl()); |
| 211 | 211 |
| 212 } // namespace blink | 212 } // namespace blink |
| 213 | 213 |
| 214 #endif | 214 #endif |
| OLD | NEW |