OLD | NEW |
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_BROWSER_FRAME_HOST_NAVIGATION_REQUEST_INFO_H_ | 5 #ifndef CONTENT_BROWSER_FRAME_HOST_NAVIGATION_REQUEST_INFO_H_ |
6 #define CONTENT_BROWSER_FRAME_HOST_NAVIGATION_REQUEST_INFO_H_ | 6 #define CONTENT_BROWSER_FRAME_HOST_NAVIGATION_REQUEST_INFO_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
(...skipping 17 matching lines...) Expand all Loading... |
28 // before the navigation request is sent to the ResourceDispatcherHost. | 28 // before the navigation request is sent to the ResourceDispatcherHost. |
29 | 29 |
30 // Usually the URL of the document in the top-level window, which may be | 30 // Usually the URL of the document in the top-level window, which may be |
31 // checked by the third-party cookie blocking policy. | 31 // checked by the third-party cookie blocking policy. |
32 GURL first_party_for_cookies; | 32 GURL first_party_for_cookies; |
33 bool is_main_frame; | 33 bool is_main_frame; |
34 bool parent_is_main_frame; | 34 bool parent_is_main_frame; |
35 | 35 |
36 // True if the frame is visible. | 36 // True if the frame is visible. |
37 bool is_showing; | 37 bool is_showing; |
| 38 |
| 39 // Whether or not we should allow the URL to download. |
| 40 bool allow_download; |
38 }; | 41 }; |
39 | 42 |
40 } // namespace content | 43 } // namespace content |
41 | 44 |
42 #endif // CONTENT_BROWSER_FRAME_HOST_NAVIGATION_REQUEST_INFO_H_ | 45 #endif // CONTENT_BROWSER_FRAME_HOST_NAVIGATION_REQUEST_INFO_H_ |
OLD | NEW |