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

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

Issue 1602663003: Framelet Prototype 2016 using Mojo IPC Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebased. Disabled oilpan Created 4 years, 10 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 2015 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.
4
5 #ifndef WebFrameletImpl_h
6 #define WebFrameletImpl_h
7
8 #include "core/frame/Framelet.h"
9 #include "platform/heap/Handle.h"
10 #include "public/web/WebFramelet.h"
11 #include "web/FrameletClientImpl.h"
12
13 namespace blink {
14
15 class HTMLFrameletElement;
16 class FrameOwner;
17
18 class WebFrameletImpl final : public RefCountedWillBeGarbageCollectedFinalized<W ebFrameletImpl>, public WebFramelet {
19 public:
20 ~WebFrameletImpl() override;
21 void close() override;
22
23 static WebFrameletImpl* create(WebFrameletClient*);
24
25 void setWebLayer(WebLayer*) override;
26
27 WebFrameletClient* client() override;
28
29 void initializeCoreFramelet(FrameOwner*);
30 Framelet* framelet() const { return m_framelet.get(); }
31
32 void setCoreFramelet(PassRefPtrWillBeRawPtr<Framelet>);
33
34 private:
35 WebFrameletImpl(WebFrameletClient*);
36
37 OwnPtrWillBeMember<FrameletClientImpl> m_frameletClient;
38 RefPtrWillBeMember<Framelet> m_framelet;
39 WebFrameletClient* m_client;
40
41 #if ENABLE(OILPAN)
42 SelfKeepAlive<WebFramelet> m_selfKeepAlive;
43 #endif
44 };
45
46 } // namespace blink
47
48 #endif // WebFrameletImpl_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/web/FrameletClientImpl.cpp ('k') | third_party/WebKit/Source/web/WebFrameletImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698