summaryrefslogtreecommitdiffstats
path: root/chromium/third_party/WebKit/Source/core/frame/FrameOwner.h
blob: f8c7d1d7788b6a7392323ed3918f61d242cf9b9a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
// Copyright 2014 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#ifndef FrameOwner_h
#define FrameOwner_h

#include "core/dom/SandboxFlags.h"

namespace WebCore {

class FrameOwner {
public:
    virtual ~FrameOwner() { }

    virtual bool isLocal() const = 0;

    virtual SandboxFlags sandboxFlags() const = 0;
    virtual void dispatchLoad() = 0;
};

} // namespace WebCore

#endif // FrameOwner_h