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

Side by Side Diff: public/web/WebFrameLoadType.h

Issue 1213913003: Don't revalidate all resources for FrameLoadTypeSame (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 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
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef WebFrameLoadType_h 5 #ifndef WebFrameLoadType_h
6 #define WebFrameLoadType_h 6 #define WebFrameLoadType_h
7 7
8 8
9 namespace blink { 9 namespace blink {
10 10
11 // The type of load for a navigation. 11 // The type of load for a navigation.
12 // TODO(clamy): Return a WebFrameLoadType instead of a WebHistoryCommitType 12 // TODO(clamy): Return a WebFrameLoadType instead of a WebHistoryCommitType
13 // in DidCommitProvisionalLoad. 13 // in DidCommitProvisionalLoad.
14 enum class WebFrameLoadType { 14 enum class WebFrameLoadType {
15 Standard, 15 Standard,
16 BackForward, 16 BackForward,
17 Reload, 17 Reload,
18 Same, // user loads same URL again (but not reload button)
19 RedirectWithLockedBackForwardList, 18 RedirectWithLockedBackForwardList,
20 InitialInChildFrame, 19 InitialInChildFrame,
21 InitialHistoryLoad, // history navigation in a newly created frame 20 InitialHistoryLoad, // history navigation in a newly created frame
22 ReloadFromOrigin, // reload bypassing cache 21 ReloadFromOrigin, // reload bypassing cache
23 }; 22 };
24 23
25 } // namespace blink 24 } // namespace blink
26 25
27 #endif // WebFrameLoadType_h 26 #endif // WebFrameLoadType_h
28 27
OLDNEW
« Source/core/loader/FrameLoader.cpp ('K') | « Source/web/tests/WebFrameTest.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698