summaryrefslogtreecommitdiffstats
path: root/chromium/third_party/WebKit/Source/core/frame/FrameClient.h
blob: 79968742ec1fd82a8064d88a0f20eb73374816c5 (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
25
26
27
28
29
// 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 FrameClient_h
#define FrameClient_h

namespace WebCore {

class Frame;

class FrameClient {
public:
    virtual Frame* opener() const = 0;
    virtual void setOpener(Frame*) = 0;

    virtual Frame* parent() const = 0;
    virtual Frame* top() const = 0;
    virtual Frame* previousSibling() const = 0;
    virtual Frame* nextSibling() const = 0;
    virtual Frame* firstChild() const = 0;
    virtual Frame* lastChild() const = 0;

    virtual ~FrameClient() { }
};

} // namespace WebCore

#endif // FrameClient_h