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

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

Issue 2661743002: PlzNavigate: Invoke didStartProvisionalLoad() when the renderer initiates a navigation in startLoad( (Closed)
Patch Set: Rebased to tip Created 3 years, 10 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 /* 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. 3 * Copyright (C) 2008, 2009 Torch Mobile Inc. All rights reserved.
4 * (http://www.torchmobile.com/) 4 * (http://www.torchmobile.com/)
5 * Copyright (C) Research In Motion Limited 2009. All rights reserved. 5 * Copyright (C) Research In Motion Limited 2009. All rights reserved.
6 * Copyright (C) 2011 Google Inc. All rights reserved. 6 * Copyright (C) 2011 Google Inc. All rights reserved.
7 * 7 *
8 * Redistribution and use in source and binary forms, with or without 8 * Redistribution and use in source and binary forms, with or without
9 * modification, are permitted provided that the following conditions 9 * modification, are permitted provided that the following conditions
10 * are met: 10 * are met:
(...skipping 224 matching lines...) Expand 10 before | Expand all | Expand 10 after
235 235
236 bool shouldPerformFragmentNavigation(bool isFormSubmission, 236 bool shouldPerformFragmentNavigation(bool isFormSubmission,
237 const String& httpMethod, 237 const String& httpMethod,
238 FrameLoadType, 238 FrameLoadType,
239 const KURL&); 239 const KURL&);
240 void processFragment(const KURL&, FrameLoadType, LoadStartType); 240 void processFragment(const KURL&, FrameLoadType, LoadStartType);
241 241
242 bool checkLoadCanStart(FrameLoadRequest&, 242 bool checkLoadCanStart(FrameLoadRequest&,
243 FrameLoadType, 243 FrameLoadType,
244 NavigationPolicy, 244 NavigationPolicy,
245 NavigationType); 245 NavigationType,
246 DocumentLoader*);
246 void startLoad(FrameLoadRequest&, FrameLoadType, NavigationPolicy); 247 void startLoad(FrameLoadRequest&, FrameLoadType, NavigationPolicy);
247 248
248 enum class HistoryNavigationType { DifferentDocument, Fragment, HistoryApi }; 249 enum class HistoryNavigationType { DifferentDocument, Fragment, HistoryApi };
249 void setHistoryItemStateForCommit(FrameLoadType, 250 void setHistoryItemStateForCommit(FrameLoadType,
250 HistoryCommitType, 251 HistoryCommitType,
251 HistoryNavigationType); 252 HistoryNavigationType);
252 253
253 void loadInSameDocument(const KURL&, 254 void loadInSameDocument(const KURL&,
254 PassRefPtr<SerializedScriptValue> stateObject, 255 PassRefPtr<SerializedScriptValue> stateObject,
255 FrameLoadType, 256 FrameLoadType,
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after
326 SandboxFlags m_forcedSandboxFlags; 327 SandboxFlags m_forcedSandboxFlags;
327 328
328 bool m_dispatchingDidClearWindowObjectInMainWorld; 329 bool m_dispatchingDidClearWindowObjectInMainWorld;
329 bool m_protectProvisionalLoader; 330 bool m_protectProvisionalLoader;
330 bool m_isNavigationHandledByClient; 331 bool m_isNavigationHandledByClient;
331 }; 332 };
332 333
333 } // namespace blink 334 } // namespace blink
334 335
335 #endif // FrameLoader_h 336 #endif // FrameLoader_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698