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

Side by Side Diff: content/browser/frame_host/render_frame_host_impl.h

Issue 2544993002: Avoid enabling accessibility for WebContents that are never shown (Closed)
Patch Set: Get rid of 'extension' from content code Created 4 years 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_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_IMPL_H_ 5 #ifndef CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_IMPL_H_
6 #define CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_IMPL_H_ 6 #define CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_IMPL_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 10
(...skipping 424 matching lines...) Expand 10 before | Expand all | Expand 10 after
435 // selection. 435 // selection.
436 void DeleteSurroundingText(size_t before, size_t after); 436 void DeleteSurroundingText(size_t before, size_t after);
437 437
438 // Notifies the RenderFrame that the JavaScript message that was shown was 438 // Notifies the RenderFrame that the JavaScript message that was shown was
439 // closed by the user. 439 // closed by the user.
440 void JavaScriptDialogClosed(IPC::Message* reply_msg, 440 void JavaScriptDialogClosed(IPC::Message* reply_msg,
441 bool success, 441 bool success,
442 const base::string16& user_input, 442 const base::string16& user_input,
443 bool dialog_was_suppressed); 443 bool dialog_was_suppressed);
444 444
445 // Send a message to the renderer process to change the accessibility mode. 445 // Get the accessibility mode from the delegate and Send a message to the
446 void SetAccessibilityMode(AccessibilityMode AccessibilityMode); 446 // renderer process to change the accessibility mode.
447 void UpdateAccessibilityMode();
447 448
448 // Request a one-time snapshot of the accessibility tree without changing 449 // Request a one-time snapshot of the accessibility tree without changing
449 // the accessibility mode. 450 // the accessibility mode.
450 void RequestAXTreeSnapshot(AXTreeSnapshotCallback callback); 451 void RequestAXTreeSnapshot(AXTreeSnapshotCallback callback);
451 452
452 // Resets the accessibility serializer in the renderer. 453 // Resets the accessibility serializer in the renderer.
453 void AccessibilityReset(); 454 void AccessibilityReset();
454 455
455 // Turn on accessibility testing. The given callback will be run 456 // Turn on accessibility testing. The given callback will be run
456 // every time an accessibility notification is received from the 457 // every time an accessibility notification is received from the
(...skipping 614 matching lines...) Expand 10 before | Expand all | Expand 10 after
1071 remote_associated_interfaces_; 1072 remote_associated_interfaces_;
1072 // NOTE: This must be the last member. 1073 // NOTE: This must be the last member.
1073 base::WeakPtrFactory<RenderFrameHostImpl> weak_ptr_factory_; 1074 base::WeakPtrFactory<RenderFrameHostImpl> weak_ptr_factory_;
1074 1075
1075 DISALLOW_COPY_AND_ASSIGN(RenderFrameHostImpl); 1076 DISALLOW_COPY_AND_ASSIGN(RenderFrameHostImpl);
1076 }; 1077 };
1077 1078
1078 } // namespace content 1079 } // namespace content
1079 1080
1080 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_IMPL_H_ 1081 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_IMPL_H_
OLDNEW
« no previous file with comments | « content/browser/frame_host/interstitial_page_impl.cc ('k') | content/browser/frame_host/render_frame_host_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698