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

Side by Side Diff: Source/core/frame/Frame.h

Issue 348833005: [DO NOT COMMIT] Random hacks to unblock work on replication. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: More random hacks, including also dcheng's https://codereview.chromium.org/346403002 Created 6 years, 5 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | Source/core/frame/Frame.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 1998, 1999 Torben Weis <weis@kde.org> 2 * Copyright (C) 1998, 1999 Torben Weis <weis@kde.org>
3 * 1999-2001 Lars Knoll <knoll@kde.org> 3 * 1999-2001 Lars Knoll <knoll@kde.org>
4 * 1999-2001 Antti Koivisto <koivisto@kde.org> 4 * 1999-2001 Antti Koivisto <koivisto@kde.org>
5 * 2000-2001 Simon Hausmann <hausmann@kde.org> 5 * 2000-2001 Simon Hausmann <hausmann@kde.org>
6 * 2000-2001 Dirk Mueller <mueller@kde.org> 6 * 2000-2001 Dirk Mueller <mueller@kde.org>
7 * 2000 Stefan Schimanski <1Stein@gmx.de> 7 * 2000 Stefan Schimanski <1Stein@gmx.de>
8 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010 Apple Inc. All rights reserved. 8 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010 Apple Inc. All rights reserved.
9 * Copyright (C) 2008 Nokia Corporation and/or its subsidiary(-ies) 9 * Copyright (C) 2008 Nokia Corporation and/or its subsidiary(-ies)
10 * Copyright (C) 2008 Eric Seidel <eric@webkit.org> 10 * Copyright (C) 2008 Eric Seidel <eric@webkit.org>
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
67 FrameClient* client() const; 67 FrameClient* client() const;
68 void clearClient(); 68 void clearClient();
69 69
70 // NOTE: Page is moving out of Blink up into the browser process as 70 // NOTE: Page is moving out of Blink up into the browser process as
71 // part of the site-isolation (out of process iframes) work. 71 // part of the site-isolation (out of process iframes) work.
72 // FrameHost should be used instead where possible. 72 // FrameHost should be used instead where possible.
73 Page* page() const; 73 Page* page() const;
74 FrameHost* host() const; // Null when the frame is detached. 74 FrameHost* host() const; // Null when the frame is detached.
75 75
76 bool isMainFrame() const; 76 bool isMainFrame() const;
77 bool isLocalRoot() const;
77 78
78 virtual void disconnectOwnerElement(); 79 virtual void disconnectOwnerElement();
79 80
80 FrameOwner* owner() const; 81 FrameOwner* owner() const;
81 HTMLFrameOwnerElement* deprecatedLocalOwner() const; 82 HTMLFrameOwnerElement* deprecatedLocalOwner() const;
82 83
83 // FIXME: LocalDOMWindow and Document should both be moved to LocalFrame 84 // FIXME: LocalDOMWindow and Document should both be moved to LocalFrame
84 // after RemoteFrame is complete enough to exist without them. 85 // after RemoteFrame is complete enough to exist without them.
85 virtual void setDOMWindow(PassRefPtrWillBeRawPtr<LocalDOMWindow>); 86 virtual void setDOMWindow(PassRefPtrWillBeRawPtr<LocalDOMWindow>);
86 LocalDOMWindow* domWindow() const; 87 LocalDOMWindow* domWindow() const;
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
143 { 144 {
144 return m_treeNode; 145 return m_treeNode;
145 } 146 }
146 147
147 // Allow equality comparisons of Frames by reference or pointer, interchangeably . 148 // Allow equality comparisons of Frames by reference or pointer, interchangeably .
148 DEFINE_COMPARISON_OPERATORS_WITH_REFERENCES_REFCOUNTED(Frame) 149 DEFINE_COMPARISON_OPERATORS_WITH_REFERENCES_REFCOUNTED(Frame)
149 150
150 } // namespace WebCore 151 } // namespace WebCore
151 152
152 #endif // Frame_h 153 #endif // Frame_h
OLDNEW
« no previous file with comments | « no previous file | Source/core/frame/Frame.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698