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

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

Issue 1051923003: Add a WebContentsImpl API to snapshot the accessibility tree. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressed some of the feedback Created 5 years, 8 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 <vector> 8 #include <vector>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 617 matching lines...) Expand 10 before | Expand all | Expand 10 after
628 void OnReload(bool ignore_cache); 628 void OnReload(bool ignore_cache);
629 void OnTextSurroundingSelectionRequest(size_t max_length); 629 void OnTextSurroundingSelectionRequest(size_t max_length);
630 void OnAddStyleSheetByURL(const std::string& url); 630 void OnAddStyleSheetByURL(const std::string& url);
631 void OnSetupTransitionView(const std::string& markup); 631 void OnSetupTransitionView(const std::string& markup);
632 void OnBeginExitTransition(const std::string& css_selector, 632 void OnBeginExitTransition(const std::string& css_selector,
633 bool exit_to_native_app); 633 bool exit_to_native_app);
634 void OnRevertExitTransition(); 634 void OnRevertExitTransition();
635 void OnHideTransitionElements(const std::string& css_selector); 635 void OnHideTransitionElements(const std::string& css_selector);
636 void OnShowTransitionElements(const std::string& css_selector); 636 void OnShowTransitionElements(const std::string& css_selector);
637 void OnSetAccessibilityMode(AccessibilityMode new_mode); 637 void OnSetAccessibilityMode(AccessibilityMode new_mode);
638 void OnSnapshotAccessibilityTree(int token);
638 void OnDisownOpener(); 639 void OnDisownOpener();
639 void OnDidUpdateSandboxFlags(SandboxFlags flags); 640 void OnDidUpdateSandboxFlags(SandboxFlags flags);
640 #if defined(OS_ANDROID) 641 #if defined(OS_ANDROID)
641 void OnSelectPopupMenuItems(bool canceled, 642 void OnSelectPopupMenuItems(bool canceled,
642 const std::vector<int>& selected_indices); 643 const std::vector<int>& selected_indices);
643 #elif defined(OS_MACOSX) 644 #elif defined(OS_MACOSX)
644 void OnSelectPopupMenuItem(int selected_index); 645 void OnSelectPopupMenuItem(int selected_index);
645 void OnCopyToFindPboard(); 646 void OnCopyToFindPboard();
646 #endif 647 #endif
647 648
(...skipping 266 matching lines...) Expand 10 before | Expand all | Expand 10 after
914 #endif 915 #endif
915 916
916 base::WeakPtrFactory<RenderFrameImpl> weak_factory_; 917 base::WeakPtrFactory<RenderFrameImpl> weak_factory_;
917 918
918 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl); 919 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl);
919 }; 920 };
920 921
921 } // namespace content 922 } // namespace content
922 923
923 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ 924 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698