Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(19)

Side by Side Diff: third_party/WebKit/Source/web/ChromeClientImpl.h

Issue 1676083002: Extract webkit_unit_tests from blink_web component. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Win dbg non-oilpan fix: make TextFinder non-copyable Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 17 matching lines...) Expand all
28 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 28 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
29 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 29 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
30 */ 30 */
31 31
32 #ifndef ChromeClientImpl_h 32 #ifndef ChromeClientImpl_h
33 #define ChromeClientImpl_h 33 #define ChromeClientImpl_h
34 34
35 #include "core/page/ChromeClient.h" 35 #include "core/page/ChromeClient.h"
36 #include "core/page/WindowFeatures.h" 36 #include "core/page/WindowFeatures.h"
37 #include "public/web/WebNavigationPolicy.h" 37 #include "public/web/WebNavigationPolicy.h"
38 #include "web/WebExport.h"
38 #include "wtf/PassOwnPtr.h" 39 #include "wtf/PassOwnPtr.h"
39 40
40 namespace blink { 41 namespace blink {
41 42
42 class PagePopup; 43 class PagePopup;
43 class PagePopupClient; 44 class PagePopupClient;
44 class WebViewImpl; 45 class WebViewImpl;
45 struct WebCursorInfo; 46 struct WebCursorInfo;
46 47
47 // Handles window-level notifications from core on behalf of a WebView. 48 // Handles window-level notifications from core on behalf of a WebView.
48 class ChromeClientImpl final : public ChromeClient { 49 class WEB_EXPORT ChromeClientImpl final : public ChromeClient {
49 public: 50 public:
50 static PassOwnPtrWillBeRawPtr<ChromeClientImpl> create(WebViewImpl*); 51 static PassOwnPtrWillBeRawPtr<ChromeClientImpl> create(WebViewImpl*);
51 ~ChromeClientImpl() override; 52 ~ChromeClientImpl() override;
52 53
53 void* webView() const override; 54 void* webView() const override;
54 55
55 // ChromeClient methods: 56 // ChromeClient methods:
56 void chromeDestroyed() override; 57 void chromeDestroyed() override;
57 void setWindowRect(const IntRect&) override; 58 void setWindowRect(const IntRect&) override;
58 IntRect windowRect() override; 59 IntRect windowRect() override;
(...skipping 136 matching lines...) Expand 10 before | Expand all | Expand 10 after
195 Cursor m_lastSetMouseCursorForTesting; 196 Cursor m_lastSetMouseCursorForTesting;
196 bool m_cursorOverridden; 197 bool m_cursorOverridden;
197 bool m_didRequestNonEmptyToolTip; 198 bool m_didRequestNonEmptyToolTip;
198 }; 199 };
199 200
200 DEFINE_TYPE_CASTS(ChromeClientImpl, ChromeClient, client, client->isChromeClient Impl(), client.isChromeClientImpl()); 201 DEFINE_TYPE_CASTS(ChromeClientImpl, ChromeClient, client, client->isChromeClient Impl(), client.isChromeClientImpl());
201 202
202 } // namespace blink 203 } // namespace blink
203 204
204 #endif 205 #endif
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/web/BUILD.gn ('k') | third_party/WebKit/Source/web/ExternalPopupMenu.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698