Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1)

Side by Side Diff: third_party/WebKit/Source/core/frame/FrameClient.h

Issue 1973133002: ✀ Remove postMessage plumbing for swappedout:// ✀ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase to use std::move instead of release(). Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef FrameClient_h 5 #ifndef FrameClient_h
6 #define FrameClient_h 6 #define FrameClient_h
7 7
8 #include "core/CoreExport.h" 8 #include "core/CoreExport.h"
9 #include "platform/heap/Handle.h" 9 #include "platform/heap/Handle.h"
10 #include "public/platform/BlameContext.h" 10 #include "public/platform/BlameContext.h"
(...skipping 20 matching lines...) Expand all
31 31
32 virtual Frame* parent() const = 0; 32 virtual Frame* parent() const = 0;
33 virtual Frame* top() const = 0; 33 virtual Frame* top() const = 0;
34 virtual Frame* previousSibling() const = 0; 34 virtual Frame* previousSibling() const = 0;
35 virtual Frame* nextSibling() const = 0; 35 virtual Frame* nextSibling() const = 0;
36 virtual Frame* firstChild() const = 0; 36 virtual Frame* firstChild() const = 0;
37 virtual Frame* lastChild() const = 0; 37 virtual Frame* lastChild() const = 0;
38 38
39 virtual unsigned backForwardLength() = 0; 39 virtual unsigned backForwardLength() = 0;
40 40
41 // Returns true if the embedder intercepted the postMessage call
42 virtual bool willCheckAndDispatchMessageEvent(SecurityOrigin* /*target*/, Me ssageEvent*, LocalFrame* /*sourceFrame*/) const { return false; }
43
44 virtual void frameFocused() const = 0; 41 virtual void frameFocused() const = 0;
45 42
46 virtual BlameContext* frameBlameContext() { return nullptr; } 43 virtual BlameContext* frameBlameContext() { return nullptr; }
47 44
48 virtual ~FrameClient() { } 45 virtual ~FrameClient() { }
49 46
50 DEFINE_INLINE_VIRTUAL_TRACE() { } 47 DEFINE_INLINE_VIRTUAL_TRACE() { }
51 }; 48 };
52 49
53 } // namespace blink 50 } // namespace blink
54 51
55 #endif // FrameClient_h 52 #endif // FrameClient_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/frame/DOMWindow.cpp ('k') | third_party/WebKit/Source/core/frame/LocalDOMWindow.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698