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

Issue 2715173002: Final rename from FrameLoaderClient to LocalFrameClient: (Closed)
Patch Set: Created 3 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 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 enum class FrameDetachType; 15 enum class FrameDetachType;
16 16
17 class CORE_EXPORT FrameClient : public GarbageCollectedFinalized<FrameClient> { 17 class CORE_EXPORT FrameClient : public GarbageCollectedFinalized<FrameClient> {
18 public: 18 public:
19 virtual bool inShadowTree() const = 0; 19 virtual bool inShadowTree() const = 0;
20 20
21 // TODO(dcheng): Move this into FrameLoaderClient, since remote frames don't 21 // TODO(dcheng): Move this into LocalFrameClient, since remote frames don't
22 // need this. 22 // need this.
23 virtual void willBeDetached() = 0; 23 virtual void willBeDetached() = 0;
24 virtual void detached(FrameDetachType) = 0; 24 virtual void detached(FrameDetachType) = 0;
25 25
26 virtual Frame* opener() const = 0; 26 virtual Frame* opener() const = 0;
27 virtual void setOpener(Frame*) = 0; 27 virtual void setOpener(Frame*) = 0;
28 28
29 virtual Frame* parent() const = 0; 29 virtual Frame* parent() const = 0;
30 virtual Frame* top() const = 0; 30 virtual Frame* top() const = 0;
31 virtual Frame* nextSibling() const = 0; 31 virtual Frame* nextSibling() const = 0;
32 virtual Frame* firstChild() const = 0; 32 virtual Frame* firstChild() const = 0;
33 33
34 virtual unsigned backForwardLength() = 0; 34 virtual unsigned backForwardLength() = 0;
35 35
36 virtual void frameFocused() const = 0; 36 virtual void frameFocused() const = 0;
37 37
38 virtual ~FrameClient() {} 38 virtual ~FrameClient() {}
39 39
40 DEFINE_INLINE_VIRTUAL_TRACE() {} 40 DEFINE_INLINE_VIRTUAL_TRACE() {}
41 }; 41 };
42 42
43 } // namespace blink 43 } // namespace blink
44 44
45 #endif // FrameClient_h 45 #endif // FrameClient_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698