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

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

Issue 2712033002: Part 1 Of Renaming FrameLoaderClient to LocalFrameClient. (Closed)
Patch Set: Change all forward declarations of FrameLoaderClient to LocalFrameClient and fix call sites. 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 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
43 #include "core/loader/HistoryItem.h" 43 #include "core/loader/HistoryItem.h"
44 #include "core/loader/NavigationPolicy.h" 44 #include "core/loader/NavigationPolicy.h"
45 #include "platform/Timer.h" 45 #include "platform/Timer.h"
46 #include "platform/heap/Handle.h" 46 #include "platform/heap/Handle.h"
47 #include "platform/instrumentation/tracing/TracedValue.h" 47 #include "platform/instrumentation/tracing/TracedValue.h"
48 #include "platform/loader/fetch/ResourceLoaderOptions.h" 48 #include "platform/loader/fetch/ResourceLoaderOptions.h"
49 #include "platform/network/ResourceRequest.h" 49 #include "platform/network/ResourceRequest.h"
50 #include "public/platform/WebInsecureRequestPolicy.h" 50 #include "public/platform/WebInsecureRequestPolicy.h"
51 #include "wtf/Forward.h" 51 #include "wtf/Forward.h"
52 #include "wtf/HashSet.h" 52 #include "wtf/HashSet.h"
53
53 #include <memory> 54 #include <memory>
54 55
55 namespace blink { 56 namespace blink {
56 57
57 class DocumentLoader; 58 class DocumentLoader;
58 class HTMLFormElement; 59 class HTMLFormElement;
59 class Frame; 60 class Frame;
60 class FrameLoaderClient; 61 class LocalFrameClient;
61 class ProgressTracker; 62 class ProgressTracker;
62 class ResourceError; 63 class ResourceError;
63 class SerializedScriptValue; 64 class SerializedScriptValue;
64 class SubstituteData; 65 class SubstituteData;
65 enum class WebCachePolicy; 66 enum class WebCachePolicy;
66 struct FrameLoadRequest; 67 struct FrameLoadRequest;
67 68
68 CORE_EXPORT bool isBackForwardLoadType(FrameLoadType); 69 CORE_EXPORT bool isBackForwardLoadType(FrameLoadType);
69 CORE_EXPORT bool isReloadLoadType(FrameLoadType); 70 CORE_EXPORT bool isReloadLoadType(FrameLoadType);
70 71
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
122 return m_provisionalDocumentLoader.get(); 123 return m_provisionalDocumentLoader.get();
123 } 124 }
124 125
125 void loadFailed(DocumentLoader*, const ResourceError&); 126 void loadFailed(DocumentLoader*, const ResourceError&);
126 127
127 bool isLoadingMainFrame() const; 128 bool isLoadingMainFrame() const;
128 129
129 bool shouldTreatURLAsSameAsCurrent(const KURL&) const; 130 bool shouldTreatURLAsSameAsCurrent(const KURL&) const;
130 bool shouldTreatURLAsSrcdocDocument(const KURL&) const; 131 bool shouldTreatURLAsSrcdocDocument(const KURL&) const;
131 132
132 FrameLoaderClient* client() const; 133 LocalFrameClient* client() const;
133 134
134 void setDefersLoading(bool); 135 void setDefersLoading(bool);
135 136
136 void didExplicitOpen(); 137 void didExplicitOpen();
137 138
138 // Callbacks from DocumentWriter 139 // Callbacks from DocumentWriter
139 void didInstallNewDocument(bool dispatchWindowObjectAvailable); 140 void didInstallNewDocument(bool dispatchWindowObjectAvailable);
140 141
141 void didBeginDocument(); 142 void didBeginDocument();
142 143
(...skipping 188 matching lines...) Expand 10 before | Expand all | Expand 10 after
331 SandboxFlags m_forcedSandboxFlags; 332 SandboxFlags m_forcedSandboxFlags;
332 333
333 bool m_dispatchingDidClearWindowObjectInMainWorld; 334 bool m_dispatchingDidClearWindowObjectInMainWorld;
334 bool m_protectProvisionalLoader; 335 bool m_protectProvisionalLoader;
335 bool m_isNavigationHandledByClient; 336 bool m_isNavigationHandledByClient;
336 }; 337 };
337 338
338 } // namespace blink 339 } // namespace blink
339 340
340 #endif // FrameLoader_h 341 #endif // FrameLoader_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698