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

Side by Side Diff: third_party/WebKit/Source/web/WebViewImpl.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
« no previous file with comments | « third_party/WebKit/Source/web/WebSettingsImpl.h ('k') | third_party/WebKit/Source/web/web.gyp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2010 Google Inc. All rights reserved. 2 * Copyright (C) 2010 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
54 #include "public/web/WebPageImportanceSignals.h" 54 #include "public/web/WebPageImportanceSignals.h"
55 #include "public/web/WebView.h" 55 #include "public/web/WebView.h"
56 #include "web/ChromeClientImpl.h" 56 #include "web/ChromeClientImpl.h"
57 #include "web/ContextMenuClientImpl.h" 57 #include "web/ContextMenuClientImpl.h"
58 #include "web/DragClientImpl.h" 58 #include "web/DragClientImpl.h"
59 #include "web/EditorClientImpl.h" 59 #include "web/EditorClientImpl.h"
60 #include "web/MediaKeysClientImpl.h" 60 #include "web/MediaKeysClientImpl.h"
61 #include "web/PageWidgetDelegate.h" 61 #include "web/PageWidgetDelegate.h"
62 #include "web/SpellCheckerClientImpl.h" 62 #include "web/SpellCheckerClientImpl.h"
63 #include "web/StorageClientImpl.h" 63 #include "web/StorageClientImpl.h"
64 #include "web/WebExport.h"
65 #include "wtf/Compiler.h"
64 #include "wtf/HashSet.h" 66 #include "wtf/HashSet.h"
65 #include "wtf/OwnPtr.h" 67 #include "wtf/OwnPtr.h"
66 #include "wtf/RefCounted.h" 68 #include "wtf/RefCounted.h"
67 #include "wtf/Vector.h" 69 #include "wtf/Vector.h"
68 70
69 namespace blink { 71 namespace blink {
70 72
71 class DataObject; 73 class DataObject;
72 class DevToolsEmulator; 74 class DevToolsEmulator;
73 class Frame; 75 class Frame;
(...skipping 12 matching lines...) Expand all
86 class WebLocalFrame; 88 class WebLocalFrame;
87 class WebLocalFrameImpl; 89 class WebLocalFrameImpl;
88 class WebImage; 90 class WebImage;
89 class WebPagePopupImpl; 91 class WebPagePopupImpl;
90 class WebPlugin; 92 class WebPlugin;
91 class WebRemoteFrame; 93 class WebRemoteFrame;
92 class WebSelection; 94 class WebSelection;
93 class WebSettingsImpl; 95 class WebSettingsImpl;
94 class WebViewScheduler; 96 class WebViewScheduler;
95 97
96 class WebViewImpl final : public WebView 98 class WEB_EXPORT WebViewImpl final : WTF_NON_EXPORTED_BASE(public WebView)
97 , public RefCounted<WebViewImpl> 99 , public RefCounted<WebViewImpl>
98 , public WebGestureCurveTarget 100 , WTF_NON_EXPORTED_BASE(public WebGestureCurveTarget)
99 , public PageWidgetEventHandler { 101 , public PageWidgetEventHandler {
100 public: 102 public:
101 static WebViewImpl* create(WebViewClient*); 103 static WebViewImpl* create(WebViewClient*);
102 static HashSet<WebViewImpl*>& allInstances(); 104 static HashSet<WebViewImpl*>& allInstances();
103 105
104 // WebWidget methods: 106 // WebWidget methods:
105 void close() override; 107 void close() override;
106 WebSize size() override; 108 WebSize size() override;
107 void willStartLiveResize() override; 109 void willStartLiveResize() override;
108 void resize(const WebSize&) override; 110 void resize(const WebSize&) override;
(...skipping 666 matching lines...) Expand 10 before | Expand all | Expand 10 after
775 }; 777 };
776 778
777 DEFINE_TYPE_CASTS(WebViewImpl, WebWidget, widget, widget->isWebView(), widget.is WebView()); 779 DEFINE_TYPE_CASTS(WebViewImpl, WebWidget, widget, widget->isWebView(), widget.is WebView());
778 // We have no ways to check if the specified WebView is an instance of 780 // We have no ways to check if the specified WebView is an instance of
779 // WebViewImpl because WebViewImpl is the only implementation of WebView. 781 // WebViewImpl because WebViewImpl is the only implementation of WebView.
780 DEFINE_TYPE_CASTS(WebViewImpl, WebView, webView, true, true); 782 DEFINE_TYPE_CASTS(WebViewImpl, WebView, webView, true, true);
781 783
782 } // namespace blink 784 } // namespace blink
783 785
784 #endif 786 #endif
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/web/WebSettingsImpl.h ('k') | third_party/WebKit/Source/web/web.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698