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

Side by Side Diff: third_party/WebKit/Source/core/frame/FrameClient.h

Issue 1854543002: Oilpan: Remove WillBe types (part 7) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 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 FrameClient_h 5 #ifndef FrameClient_h
6 #define FrameClient_h 6 #define FrameClient_h
7 7
8 #include "core/CoreExport.h" 8 #include "core/CoreExport.h"
9 #include "platform/heap/Handle.h" 9 #include "platform/heap/Handle.h"
10 #include "public/platform/BlameContext.h" 10 #include "public/platform/BlameContext.h"
11 11
12 namespace blink { 12 namespace blink {
13 13
14 class Frame; 14 class Frame;
15 class LocalFrame; 15 class LocalFrame;
16 class MessageEvent; 16 class MessageEvent;
17 class SecurityOrigin; 17 class SecurityOrigin;
18 enum class FrameDetachType; 18 enum class FrameDetachType;
19 19
20 class CORE_EXPORT FrameClient : public NoBaseWillBeGarbageCollectedFinalized<Fra meClient> { 20 class CORE_EXPORT FrameClient : public GarbageCollectedFinalized<FrameClient> {
21 USING_FAST_MALLOC_WILL_BE_REMOVED(FrameClient);
22 public: 21 public:
23 virtual bool inShadowTree() const = 0; 22 virtual bool inShadowTree() const = 0;
24 23
25 // TODO(dcheng): Move this into FrameLoaderClient, since remote frames don't 24 // TODO(dcheng): Move this into FrameLoaderClient, since remote frames don't
26 // need this. 25 // need this.
27 virtual void willBeDetached() = 0; 26 virtual void willBeDetached() = 0;
28 virtual void detached(FrameDetachType) = 0; 27 virtual void detached(FrameDetachType) = 0;
29 28
30 virtual Frame* opener() const = 0; 29 virtual Frame* opener() const = 0;
31 virtual void setOpener(Frame*) = 0; 30 virtual void setOpener(Frame*) = 0;
(...skipping 15 matching lines...) Expand all
47 virtual BlameContext* frameBlameContext() { return nullptr; } 46 virtual BlameContext* frameBlameContext() { return nullptr; }
48 47
49 virtual ~FrameClient() { } 48 virtual ~FrameClient() { }
50 49
51 DEFINE_INLINE_VIRTUAL_TRACE() { } 50 DEFINE_INLINE_VIRTUAL_TRACE() { }
52 }; 51 };
53 52
54 } // namespace blink 53 } // namespace blink
55 54
56 #endif // FrameClient_h 55 #endif // FrameClient_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/frame/Frame.cpp ('k') | third_party/WebKit/Source/core/frame/FrameConsole.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698