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

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

Issue 2186863002: FrameLoader: add and export isReloadLoadType() (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: revert of wrong revert Created 4 years, 4 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. (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 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
57 class Frame; 57 class Frame;
58 class FrameLoaderClient; 58 class FrameLoaderClient;
59 class ProgressTracker; 59 class ProgressTracker;
60 class ResourceError; 60 class ResourceError;
61 class SerializedScriptValue; 61 class SerializedScriptValue;
62 class SubstituteData; 62 class SubstituteData;
63 enum class WebCachePolicy; 63 enum class WebCachePolicy;
64 struct FrameLoadRequest; 64 struct FrameLoadRequest;
65 65
66 CORE_EXPORT bool isBackForwardLoadType(FrameLoadType); 66 CORE_EXPORT bool isBackForwardLoadType(FrameLoadType);
67 CORE_EXPORT bool isReloadLoadType(FrameLoadType);
67 68
68 class CORE_EXPORT FrameLoader final { 69 class CORE_EXPORT FrameLoader final {
69 WTF_MAKE_NONCOPYABLE(FrameLoader); 70 WTF_MAKE_NONCOPYABLE(FrameLoader);
70 DISALLOW_NEW(); 71 DISALLOW_NEW();
71 public: 72 public:
72 static ResourceRequest resourceRequestFromHistoryItem(HistoryItem*, WebCache Policy); 73 static ResourceRequest resourceRequestFromHistoryItem(HistoryItem*, WebCache Policy);
73 74
74 FrameLoader(LocalFrame*); 75 FrameLoader(LocalFrame*);
75 ~FrameLoader(); 76 ~FrameLoader();
76 77
(...skipping 203 matching lines...) Expand 10 before | Expand all | Expand 10 after
280 281
281 SandboxFlags m_forcedSandboxFlags; 282 SandboxFlags m_forcedSandboxFlags;
282 283
283 bool m_dispatchingDidClearWindowObjectInMainWorld; 284 bool m_dispatchingDidClearWindowObjectInMainWorld;
284 bool m_protectProvisionalLoader; 285 bool m_protectProvisionalLoader;
285 }; 286 };
286 287
287 } // namespace blink 288 } // namespace blink
288 289
289 #endif // FrameLoader_h 290 #endif // FrameLoader_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/loader/FrameFetchContext.cpp ('k') | third_party/WebKit/Source/core/loader/FrameLoader.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698