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 |
11 #include <deque> | 11 #include <deque> |
12 #include <map> | 12 #include <map> |
13 #include <memory> | 13 #include <memory> |
14 #include <set> | 14 #include <set> |
15 #include <string> | 15 #include <string> |
16 #include <vector> | 16 #include <vector> |
17 | 17 |
18 #include "base/files/file_path.h" | 18 #include "base/files/file_path.h" |
19 #include "base/gtest_prod_util.h" | 19 #include "base/gtest_prod_util.h" |
20 #include "base/id_map.h" | 20 #include "base/id_map.h" |
21 #include "base/macros.h" | 21 #include "base/macros.h" |
22 #include "base/memory/linked_ptr.h" | 22 #include "base/memory/linked_ptr.h" |
23 #include "base/memory/ref_counted.h" | 23 #include "base/memory/ref_counted.h" |
24 #include "base/memory/weak_ptr.h" | 24 #include "base/memory/weak_ptr.h" |
25 #include "base/observer_list.h" | 25 #include "base/observer_list.h" |
26 #include "base/process/process_handle.h" | 26 #include "base/process/process_handle.h" |
27 #include "base/single_thread_task_runner.h" | 27 #include "base/single_thread_task_runner.h" |
28 #include "build/build_config.h" | 28 #include "build/build_config.h" |
29 #include "content/common/accessibility_mode_enums.h" | 29 #include "content/common/accessibility_mode.h" |
30 #include "content/common/associated_interface_registry_impl.h" | 30 #include "content/common/associated_interface_registry_impl.h" |
31 #include "content/common/download/mhtml_save_status.h" | 31 #include "content/common/download/mhtml_save_status.h" |
32 #include "content/common/frame.mojom.h" | 32 #include "content/common/frame.mojom.h" |
33 #include "content/common/frame_message_enums.h" | 33 #include "content/common/frame_message_enums.h" |
34 #include "content/common/host_zoom.mojom.h" | 34 #include "content/common/host_zoom.mojom.h" |
35 #include "content/common/renderer.mojom.h" | 35 #include "content/common/renderer.mojom.h" |
36 #include "content/public/common/console_message_level.h" | 36 #include "content/public/common/console_message_level.h" |
37 #include "content/public/common/javascript_dialog_type.h" | 37 #include "content/public/common/javascript_dialog_type.h" |
38 #include "content/public/common/previews_state.h" | 38 #include "content/public/common/previews_state.h" |
39 #include "content/public/common/referrer.h" | 39 #include "content/public/common/referrer.h" |
(...skipping 1266 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
1306 // initialized. | 1306 // initialized. |
1307 ScreenOrientationDispatcher* screen_orientation_dispatcher_; | 1307 ScreenOrientationDispatcher* screen_orientation_dispatcher_; |
1308 | 1308 |
1309 // The Manifest Manager handles the manifest requests from the browser | 1309 // The Manifest Manager handles the manifest requests from the browser |
1310 // process. | 1310 // process. |
1311 ManifestManager* manifest_manager_; | 1311 ManifestManager* manifest_manager_; |
1312 | 1312 |
1313 // The current accessibility mode. | 1313 // The current accessibility mode. |
1314 AccessibilityMode accessibility_mode_; | 1314 AccessibilityMode accessibility_mode_; |
1315 | 1315 |
1316 // Only valid if |accessibility_mode_| is anything other than | 1316 // Only valid if |accessibility_mode_| has not flags. |
dmazzoni
2017/03/13 22:18:15
nit: has no flags set?
dougt
2017/03/14 03:18:23
Done.
| |
1317 // AccessibilityModeOff. | |
1318 RenderAccessibilityImpl* render_accessibility_; | 1317 RenderAccessibilityImpl* render_accessibility_; |
1319 | 1318 |
1320 std::unique_ptr<RelatedAppsFetcher> related_apps_fetcher_; | 1319 std::unique_ptr<RelatedAppsFetcher> related_apps_fetcher_; |
1321 | 1320 |
1322 // Manages play, pause notifications for WebMediaPlayer implementations; its | 1321 // Manages play, pause notifications for WebMediaPlayer implementations; its |
1323 // lifetime is tied to the RenderFrame via the RenderFrameObserver interface. | 1322 // lifetime is tied to the RenderFrame via the RenderFrameObserver interface. |
1324 media::RendererWebMediaPlayerDelegate* media_player_delegate_; | 1323 media::RendererWebMediaPlayerDelegate* media_player_delegate_; |
1325 | 1324 |
1326 // The PreviewsState of this RenderFrame that indicates which Previews can | 1325 // The PreviewsState of this RenderFrame that indicates which Previews can |
1327 // be used. The PreviewsState is a bitmask of potentially several Previews | 1326 // be used. The PreviewsState is a bitmask of potentially several Previews |
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
1397 int enabled_bindings_ = 0; | 1396 int enabled_bindings_ = 0; |
1398 | 1397 |
1399 base::WeakPtrFactory<RenderFrameImpl> weak_factory_; | 1398 base::WeakPtrFactory<RenderFrameImpl> weak_factory_; |
1400 | 1399 |
1401 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl); | 1400 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl); |
1402 }; | 1401 }; |
1403 | 1402 |
1404 } // namespace content | 1403 } // namespace content |
1405 | 1404 |
1406 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ | 1405 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ |
OLD | NEW |