• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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
3 // found in the LICENSE file.
4 
5 #ifndef FrameOwner_h
6 #define FrameOwner_h
7 
8 #include "core/dom/SandboxFlags.h"
9 #include "platform/heap/Handle.h"
10 
11 namespace blink {
12 
13 class FrameOwner : public WillBeGarbageCollectedMixin {
14 public:
~FrameOwner()15     virtual ~FrameOwner() { }
trace(Visitor *)16     virtual void trace(Visitor*) { }
17 
18     virtual bool isLocal() const = 0;
19 
20     virtual SandboxFlags sandboxFlags() const = 0;
21     virtual void dispatchLoad() = 0;
22 };
23 
24 } // namespace blink
25 
26 #endif // FrameOwner_h
27