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

Side by Side Diff: content/common/navigation_params.h

Issue 2098543003: PlzNavigate: Handle navigation within MHTML documents (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@cid_scheme
Patch Set: Make component build work Created 4 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
« no previous file with comments | « no previous file | content/common/navigation_params.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 CONTENT_COMMON_NAVIGATION_PARAMS_H_ 5 #ifndef CONTENT_COMMON_NAVIGATION_PARAMS_H_
6 #define CONTENT_COMMON_NAVIGATION_PARAMS_H_ 6 #define CONTENT_COMMON_NAVIGATION_PARAMS_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <string> 10 #include <string>
(...skipping 21 matching lines...) Expand all
32 LOFI_OFF, 32 LOFI_OFF,
33 33
34 // Request a Lo-Fi version of the resource. 34 // Request a Lo-Fi version of the resource.
35 LOFI_ON, 35 LOFI_ON,
36 }; 36 };
37 37
38 // PlzNavigate 38 // PlzNavigate
39 // Helper function to determine if the navigation to |url| should make a request 39 // Helper function to determine if the navigation to |url| should make a request
40 // to the network stack. A request should not be sent for data URLs, JavaScript 40 // to the network stack. A request should not be sent for data URLs, JavaScript
41 // URLs or about:blank. In these cases, no request needs to be sent. 41 // URLs or about:blank. In these cases, no request needs to be sent.
42 bool ShouldMakeNetworkRequestForURL(const GURL& url); 42 bool CONTENT_EXPORT ShouldMakeNetworkRequestForURL(const GURL& url);
43 43
44 // The following structures hold parameters used during a navigation. In 44 // The following structures hold parameters used during a navigation. In
45 // particular they are used by FrameMsg_Navigate, FrameMsg_CommitNavigation and 45 // particular they are used by FrameMsg_Navigate, FrameMsg_CommitNavigation and
46 // FrameHostMsg_BeginNavigation. 46 // FrameHostMsg_BeginNavigation.
47 47
48 // Provided by the browser or the renderer ------------------------------------- 48 // Provided by the browser or the renderer -------------------------------------
49 49
50 // Used by all navigation IPCs. 50 // Used by all navigation IPCs.
51 struct CONTENT_EXPORT CommonNavigationParams { 51 struct CONTENT_EXPORT CommonNavigationParams {
52 CommonNavigationParams(); 52 CommonNavigationParams();
(...skipping 270 matching lines...) Expand 10 before | Expand all | Expand 10 after
323 ~NavigationParams(); 323 ~NavigationParams();
324 324
325 CommonNavigationParams common_params; 325 CommonNavigationParams common_params;
326 StartNavigationParams start_params; 326 StartNavigationParams start_params;
327 RequestNavigationParams request_params; 327 RequestNavigationParams request_params;
328 }; 328 };
329 329
330 } // namespace content 330 } // namespace content
331 331
332 #endif // CONTENT_COMMON_NAVIGATION_PARAMS_H_ 332 #endif // CONTENT_COMMON_NAVIGATION_PARAMS_H_
OLDNEW
« no previous file with comments | « no previous file | content/common/navigation_params.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698