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/core/frame/WebRemoteFrameBase.h

Issue 2878623002: Introduce WebRemoteFrameBase to break dependencies on WebRemoteFrameImpl. (Closed)
Patch Set: Fix windows linker errors. Created 3 years, 7 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
(Empty)
1 // Copyright 2017 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.#ifndef WebViewBase_h
sashab 2017/05/15 01:59:48 Remove #ifndef WebViewBase_h
4
5 #ifndef WebRemoteFrameBase_h
6 #define WebRemoteFrameBase_h
7
8 #include "core/CoreExport.h"
9 #include "public/web/WebRemoteFrame.h"
10
11 namespace blink {
12
13 class FrameOwner;
14 class Page;
15 class RemoteFrame;
16
17 class WebRemoteFrameBase : public GarbageCollectedFinalized<WebRemoteFrameBase>,
18 public WebRemoteFrame {
19 public:
20 CORE_EXPORT static WebRemoteFrameBase* FromFrame(RemoteFrame&);
21
22 virtual void InitializeCoreFrame(Page&,
23 FrameOwner*,
24 const AtomicString& name) = 0;
25 virtual RemoteFrame* GetFrame() const = 0;
26
27 DEFINE_INLINE_VIRTUAL_TRACE() {}
28
29 protected:
30 explicit WebRemoteFrameBase(WebTreeScopeType scope) : WebRemoteFrame(scope) {}
31 };
32
33 DEFINE_TYPE_CASTS(WebRemoteFrameBase,
34 WebFrame,
35 frame,
36 frame->IsWebRemoteFrame(),
37 frame.IsWebRemoteFrame());
38 } // namespace blink
39
40 #endif // WebRemoteFrameBase_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/frame/BUILD.gn ('k') | third_party/WebKit/Source/core/frame/WebRemoteFrameBase.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698