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

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

Issue 1738613002: Rename enums/functions that collide in chromium style in core/dom/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@get-names-3
Patch Set: get-names-4: 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 FrameOwner_h 5 #ifndef FrameOwner_h
6 #define FrameOwner_h 6 #define FrameOwner_h
7 7
8 #include "core/CoreExport.h" 8 #include "core/CoreExport.h"
9 #include "core/dom/SandboxFlags.h" 9 #include "core/dom/SandboxFlags.h"
10 #include "platform/heap/Handle.h" 10 #include "platform/heap/Handle.h"
11 #include "platform/scroll/ScrollTypes.h" 11 #include "platform/scroll/ScrollTypes.h"
12 12
13 namespace blink { 13 namespace blink {
14 14
15 // Oilpan: all FrameOwner instances are GCed objects. FrameOwner additionally 15 // Oilpan: all FrameOwner instances are GCed objects. FrameOwner additionally
16 // derives from GarbageCollectedMixin so that Member<FrameOwner> references can 16 // derives from GarbageCollectedMixin so that Member<FrameOwner> references can
17 // be kept (e.g., Frame::m_owner.) 17 // be kept (e.g., Frame::m_owner.)
18 class CORE_EXPORT FrameOwner : public WillBeGarbageCollectedMixin { 18 class CORE_EXPORT FrameOwner : public WillBeGarbageCollectedMixin {
19 public: 19 public:
20 virtual ~FrameOwner() { } 20 virtual ~FrameOwner() { }
21 DEFINE_INLINE_VIRTUAL_TRACE() { } 21 DEFINE_INLINE_VIRTUAL_TRACE() { }
22 22
23 virtual bool isLocal() const = 0; 23 virtual bool isLocal() const = 0;
24 24
25 virtual SandboxFlags sandboxFlags() const = 0; 25 virtual SandboxFlags getSandboxFlags() const = 0;
26 virtual void dispatchLoad() = 0; 26 virtual void dispatchLoad() = 0;
27 27
28 // On load failure, a frame can ask its owner to render fallback content 28 // On load failure, a frame can ask its owner to render fallback content
29 // which replaces the frame contents. 29 // which replaces the frame contents.
30 virtual void renderFallbackContent() = 0; 30 virtual void renderFallbackContent() = 0;
31 31
32 virtual ScrollbarMode scrollingMode() const = 0; 32 virtual ScrollbarMode scrollingMode() const = 0;
33 virtual int marginWidth() const = 0; 33 virtual int marginWidth() const = 0;
34 virtual int marginHeight() const = 0; 34 virtual int marginHeight() const = 0;
35 }; 35 };
36 36
37 } // namespace blink 37 } // namespace blink
38 38
39 #endif // FrameOwner_h 39 #endif // FrameOwner_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698