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 30 matching lines...) Expand all Loading... |
41 namespace blink { | 41 namespace blink { |
42 | 42 |
43 class PagePopup; | 43 class PagePopup; |
44 class PagePopupClient; | 44 class PagePopupClient; |
45 class WebViewImpl; | 45 class WebViewImpl; |
46 struct WebCursorInfo; | 46 struct WebCursorInfo; |
47 | 47 |
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 RawPtr<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&) 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; |
(...skipping 132 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
194 Cursor m_lastSetMouseCursorForTesting; | 194 Cursor m_lastSetMouseCursorForTesting; |
195 bool m_cursorOverridden; | 195 bool m_cursorOverridden; |
196 bool m_didRequestNonEmptyToolTip; | 196 bool m_didRequestNonEmptyToolTip; |
197 }; | 197 }; |
198 | 198 |
199 DEFINE_TYPE_CASTS(ChromeClientImpl, ChromeClient, client, client->isChromeClient
Impl(), client.isChromeClientImpl()); | 199 DEFINE_TYPE_CASTS(ChromeClientImpl, ChromeClient, client, client->isChromeClient
Impl(), client.isChromeClientImpl()); |
200 | 200 |
201 } // namespace blink | 201 } // namespace blink |
202 | 202 |
203 #endif | 203 #endif |
OLD | NEW |