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

Side by Side Diff: content/renderer/render_frame_impl.h

Issue 2694413006: Scope and clean up uses of AccessibilityMode. (Closed)
Patch Set: merge Created 3 years, 9 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
OLDNEW
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 1265 matching lines...) Expand 10 before | Expand all | Expand 10 after
1305 // initialized. 1305 // initialized.
1306 ScreenOrientationDispatcher* screen_orientation_dispatcher_; 1306 ScreenOrientationDispatcher* screen_orientation_dispatcher_;
1307 1307
1308 // The Manifest Manager handles the manifest requests from the browser 1308 // The Manifest Manager handles the manifest requests from the browser
1309 // process. 1309 // process.
1310 ManifestManager* manifest_manager_; 1310 ManifestManager* manifest_manager_;
1311 1311
1312 // The current accessibility mode. 1312 // The current accessibility mode.
1313 AccessibilityMode accessibility_mode_; 1313 AccessibilityMode accessibility_mode_;
1314 1314
1315 // Only valid if |accessibility_mode_| is anything other than 1315 // Only valid if |accessibility_mode_| has no flags.
1316 // AccessibilityModeOff.
1317 RenderAccessibilityImpl* render_accessibility_; 1316 RenderAccessibilityImpl* render_accessibility_;
1318 1317
1319 std::unique_ptr<RelatedAppsFetcher> related_apps_fetcher_; 1318 std::unique_ptr<RelatedAppsFetcher> related_apps_fetcher_;
1320 1319
1321 // Manages play, pause notifications for WebMediaPlayer implementations; its 1320 // Manages play, pause notifications for WebMediaPlayer implementations; its
1322 // lifetime is tied to the RenderFrame via the RenderFrameObserver interface. 1321 // lifetime is tied to the RenderFrame via the RenderFrameObserver interface.
1323 media::RendererWebMediaPlayerDelegate* media_player_delegate_; 1322 media::RendererWebMediaPlayerDelegate* media_player_delegate_;
1324 1323
1325 // The PreviewsState of this RenderFrame that indicates which Previews can 1324 // The PreviewsState of this RenderFrame that indicates which Previews can
1326 // be used. The PreviewsState is a bitmask of potentially several Previews 1325 // be used. The PreviewsState is a bitmask of potentially several Previews
(...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after
1426 std::unique_ptr<PendingNavigationInfo> pending_navigation_info_; 1425 std::unique_ptr<PendingNavigationInfo> pending_navigation_info_;
1427 1426
1428 base::WeakPtrFactory<RenderFrameImpl> weak_factory_; 1427 base::WeakPtrFactory<RenderFrameImpl> weak_factory_;
1429 1428
1430 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl); 1429 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl);
1431 }; 1430 };
1432 1431
1433 } // namespace content 1432 } // namespace content
1434 1433
1435 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ 1434 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_
OLDNEW
« no previous file with comments | « content/renderer/accessibility/render_accessibility_impl_browsertest.cc ('k') | content/renderer/render_frame_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698