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

Side by Side Diff: third_party/WebKit/Source/web/WebRemoteFrameImpl.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 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef WebRemoteFrameImpl_h 5 #ifndef WebRemoteFrameImpl_h
6 #define WebRemoteFrameImpl_h 6 #define WebRemoteFrameImpl_h
7 7
8 #include "core/frame/FrameOwner.h" 8 #include "core/frame/FrameOwner.h"
9 #include "core/frame/RemoteFrame.h" 9 #include "core/frame/RemoteFrame.h"
10 #include "public/web/WebRemoteFrame.h" 10 #include "public/web/WebRemoteFrame.h"
11 #include "public/web/WebRemoteFrameClient.h" 11 #include "public/web/WebRemoteFrameClient.h"
12 #include "web/RemoteFrameClientImpl.h" 12 #include "web/RemoteFrameClientImpl.h"
13 #include "web/WebExport.h"
13 #include "web/WebFrameImplBase.h" 14 #include "web/WebFrameImplBase.h"
15 #include "wtf/Compiler.h"
14 #include "wtf/HashMap.h" 16 #include "wtf/HashMap.h"
15 #include "wtf/OwnPtr.h" 17 #include "wtf/OwnPtr.h"
16 #include "wtf/RefCounted.h" 18 #include "wtf/RefCounted.h"
17 19
18 namespace blink { 20 namespace blink {
19 21
20 class FrameHost; 22 class FrameHost;
21 class FrameOwner; 23 class FrameOwner;
22 class RemoteFrame; 24 class RemoteFrame;
23 25
24 class WebRemoteFrameImpl final : public WebFrameImplBase, public WebRemoteFrame { 26 class WEB_EXPORT WebRemoteFrameImpl final : public WebFrameImplBase, WTF_NON_EXP ORTED_BASE(public WebRemoteFrame) {
25 public: 27 public:
26 static WebRemoteFrameImpl* create(WebTreeScopeType, WebRemoteFrameClient*, W ebFrame* opener); 28 static WebRemoteFrameImpl* create(WebTreeScopeType, WebRemoteFrameClient*, W ebFrame* opener);
27 ~WebRemoteFrameImpl() override; 29 ~WebRemoteFrameImpl() override;
28 30
29 // WebFrame methods: 31 // WebFrame methods:
30 void close() override; 32 void close() override;
31 WebString uniqueName() const override; 33 WebString uniqueName() const override;
32 WebString assignedName() const override; 34 WebString assignedName() const override;
33 void setName(const WebString&) override; 35 void setName(const WebString&) override;
34 WebVector<WebIconURL> iconURLs(int iconTypesMask) const override; 36 WebVector<WebIconURL> iconURLs(int iconTypesMask) const override;
(...skipping 159 matching lines...) Expand 10 before | Expand all | Expand 10 after
194 // cleared upon close(). 196 // cleared upon close().
195 SelfKeepAlive<WebRemoteFrameImpl> m_selfKeepAlive; 197 SelfKeepAlive<WebRemoteFrameImpl> m_selfKeepAlive;
196 #endif 198 #endif
197 }; 199 };
198 200
199 DEFINE_TYPE_CASTS(WebRemoteFrameImpl, WebFrame, frame, frame->isWebRemoteFrame() , frame.isWebRemoteFrame()); 201 DEFINE_TYPE_CASTS(WebRemoteFrameImpl, WebFrame, frame, frame->isWebRemoteFrame() , frame.isWebRemoteFrame());
200 202
201 } // namespace blink 203 } // namespace blink
202 204
203 #endif // WebRemoteFrameImpl_h 205 #endif // WebRemoteFrameImpl_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/web/WebPluginContainerImpl.h ('k') | third_party/WebKit/Source/web/WebSettingsImpl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698