f87a53dc25d0b7f6aa6a6936f85dcc94c848e7bf
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / Source / core / frame / FrameOwner.h
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:
15     virtual ~FrameOwner() { }
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