OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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_RENDERER_RENDER_FRAME_IMPL_H_ | 5 #ifndef CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ |
6 #define CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ | 6 #define CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ |
7 | 7 |
8 #include <stddef.h> | 8 #include <stddef.h> |
9 #include <stdint.h> | 9 #include <stdint.h> |
10 | 10 |
(...skipping 1361 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1372 PreviewsState previews_state_; | 1372 PreviewsState previews_state_; |
1373 | 1373 |
1374 // Effective connection type when the document of this frame was fetched. | 1374 // Effective connection type when the document of this frame was fetched. |
1375 // TODO(sclittle): Consider moving this into Blink to be owned and managed by | 1375 // TODO(sclittle): Consider moving this into Blink to be owned and managed by |
1376 // LocalFrame or another class around there. | 1376 // LocalFrame or another class around there. |
1377 blink::WebEffectiveConnectionType effective_connection_type_; | 1377 blink::WebEffectiveConnectionType effective_connection_type_; |
1378 | 1378 |
1379 // Whether or not this RenderFrame is currently pasting. | 1379 // Whether or not this RenderFrame is currently pasting. |
1380 bool is_pasting_; | 1380 bool is_pasting_; |
1381 | 1381 |
1382 // Whether we must stop creating nested message loops for modal dialogs. This | 1382 // Whether we must stop creating nested run loops for modal dialogs. This |
1383 // is necessary because modal dialogs have a ScopedPageLoadDeferrer on the | 1383 // is necessary because modal dialogs have a ScopedPageLoadDeferrer on the |
1384 // stack that interferes with swapping out. | 1384 // stack that interferes with swapping out. |
1385 bool suppress_further_dialogs_; | 1385 bool suppress_further_dialogs_; |
1386 | 1386 |
1387 // The current and pending file chooser completion objects. If the queue is | 1387 // The current and pending file chooser completion objects. If the queue is |
1388 // nonempty, the first item represents the currently running file chooser | 1388 // nonempty, the first item represents the currently running file chooser |
1389 // callback, and the remaining elements are the other file chooser completion | 1389 // callback, and the remaining elements are the other file chooser completion |
1390 // still waiting to be run (in order). | 1390 // still waiting to be run (in order). |
1391 struct PendingFileChooser; | 1391 struct PendingFileChooser; |
1392 std::deque<std::unique_ptr<PendingFileChooser>> file_chooser_completions_; | 1392 std::deque<std::unique_ptr<PendingFileChooser>> file_chooser_completions_; |
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1478 std::vector<media::RoutingTokenCallback> pending_routing_token_callbacks_; | 1478 std::vector<media::RoutingTokenCallback> pending_routing_token_callbacks_; |
1479 | 1479 |
1480 base::WeakPtrFactory<RenderFrameImpl> weak_factory_; | 1480 base::WeakPtrFactory<RenderFrameImpl> weak_factory_; |
1481 | 1481 |
1482 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl); | 1482 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl); |
1483 }; | 1483 }; |
1484 | 1484 |
1485 } // namespace content | 1485 } // namespace content |
1486 | 1486 |
1487 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ | 1487 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ |
OLD | NEW |