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

Side by Side Diff: Source/core/loader/FrameLoader.h

Issue 799923006: Make canNavigate() OOPI-friendly (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Address dcheng's comments Created 6 years 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
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2006, 2007, 2008, 2009, 2011 Apple Inc. All rights reserved. 2 * Copyright (C) 2006, 2007, 2008, 2009, 2011 Apple Inc. All rights reserved.
3 * Copyright (C) 2008, 2009 Torch Mobile Inc. All rights reserved. (http://www.t orchmobile.com/) 3 * Copyright (C) 2008, 2009 Torch Mobile Inc. All rights reserved. (http://www.t orchmobile.com/)
4 * Copyright (C) Research In Motion Limited 2009. All rights reserved. 4 * Copyright (C) Research In Motion Limited 2009. All rights reserved.
5 * Copyright (C) 2011 Google Inc. All rights reserved. 5 * Copyright (C) 2011 Google Inc. All rights reserved.
6 * 6 *
7 * Redistribution and use in source and binary forms, with or without 7 * Redistribution and use in source and binary forms, with or without
8 * modification, are permitted provided that the following conditions 8 * modification, are permitted provided that the following conditions
9 * are met: 9 * are met:
10 * 10 *
(...skipping 146 matching lines...) Expand 10 before | Expand all | Expand 10 after
157 void detach(); 157 void detach();
158 158
159 void loadDone(); 159 void loadDone();
160 void finishedParsing(); 160 void finishedParsing();
161 void checkCompleted(); 161 void checkCompleted();
162 162
163 void commitProvisionalLoad(); 163 void commitProvisionalLoad();
164 164
165 FrameLoaderStateMachine* stateMachine() const { return &m_stateMachine; } 165 FrameLoaderStateMachine* stateMachine() const { return &m_stateMachine; }
166 166
167 LocalFrame* findFrameForNavigation(const AtomicString& name, Document* activ eDocument);
168
169 void applyUserAgent(ResourceRequest&); 167 void applyUserAgent(ResourceRequest&);
170 168
171 bool shouldInterruptLoadForXFrameOptions(const String&, const KURL&, unsigne d long requestIdentifier); 169 bool shouldInterruptLoadForXFrameOptions(const String&, const KURL&, unsigne d long requestIdentifier);
172 170
173 bool allAncestorsAreComplete() const; // including this 171 bool allAncestorsAreComplete() const; // including this
174 172
175 bool shouldClose(); 173 bool shouldClose();
176 174
177 bool allowPlugins(ReasonForCallingAllowPlugins); 175 bool allowPlugins(ReasonForCallingAllowPlugins);
178 176
(...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after
275 273
276 bool m_didAccessInitialDocument; 274 bool m_didAccessInitialDocument;
277 Timer<FrameLoader> m_didAccessInitialDocumentTimer; 275 Timer<FrameLoader> m_didAccessInitialDocumentTimer;
278 276
279 SandboxFlags m_forcedSandboxFlags; 277 SandboxFlags m_forcedSandboxFlags;
280 }; 278 };
281 279
282 } // namespace blink 280 } // namespace blink
283 281
284 #endif // FrameLoader_h 282 #endif // FrameLoader_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698