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.
17 virtual void detached() = 0;
19 virtual Frame* opener() const = 0;
20 virtual void setOpener(Frame*) = 0;
22 virtual Frame* parent() const = 0;
23 virtual Frame* top() const = 0;
24 virtual Frame* previousSibling() const = 0;
25 virtual Frame* nextSibling() const = 0;
26 virtual Frame* firstChild() const = 0;
27 virtual Frame* lastChild() const = 0;
29 // Returns true if the embedder intercepted the postMessage call
30 virtual bool willCheckAndDispatchMessageEvent(SecurityOrigin* /*target*/, MessageEvent*, LocalFrame* /*sourceFrame*/) const { return false; }
32 virtual ~FrameClient() { }
37 #endif // FrameClient_h