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

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: Scoped trace, clean up callbacks 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 625 matching lines...) Expand 10 before | Expand all | Expand 10 after
636 void OnReload(bool ignore_cache); 636 void OnReload(bool ignore_cache);
637 void OnTextSurroundingSelectionRequest(size_t max_length); 637 void OnTextSurroundingSelectionRequest(size_t max_length);
638 void OnAddStyleSheetByURL(const std::string& url); 638 void OnAddStyleSheetByURL(const std::string& url);
639 void OnSetupTransitionView(const std::string& markup); 639 void OnSetupTransitionView(const std::string& markup);
640 void OnBeginExitTransition(const std::string& css_selector, 640 void OnBeginExitTransition(const std::string& css_selector,
641 bool exit_to_native_app); 641 bool exit_to_native_app);
642 void OnRevertExitTransition(); 642 void OnRevertExitTransition();
643 void OnHideTransitionElements(const std::string& css_selector); 643 void OnHideTransitionElements(const std::string& css_selector);
644 void OnShowTransitionElements(const std::string& css_selector); 644 void OnShowTransitionElements(const std::string& css_selector);
645 void OnSetAccessibilityMode(AccessibilityMode new_mode); 645 void OnSetAccessibilityMode(AccessibilityMode new_mode);
646 void OnSnapshotAccessibilityTree(int token);
Charlie Reis 2015/04/10 20:18:07 Let's be consistent and call this id.
dmazzoni 2015/04/10 21:57:12 Done.
646 void OnDisownOpener(); 647 void OnDisownOpener();
647 void OnDidUpdateSandboxFlags(SandboxFlags flags); 648 void OnDidUpdateSandboxFlags(SandboxFlags flags);
648 void OnTextTrackSettingsChanged( 649 void OnTextTrackSettingsChanged(
649 const FrameMsg_TextTrackSettings_Params& params); 650 const FrameMsg_TextTrackSettings_Params& params);
650 void OnPostMessageEvent(const FrameMsg_PostMessage_Params& params); 651 void OnPostMessageEvent(const FrameMsg_PostMessage_Params& params);
651 #if defined(OS_ANDROID) 652 #if defined(OS_ANDROID)
652 void OnSelectPopupMenuItems(bool canceled, 653 void OnSelectPopupMenuItems(bool canceled,
653 const std::vector<int>& selected_indices); 654 const std::vector<int>& selected_indices);
654 #elif defined(OS_MACOSX) 655 #elif defined(OS_MACOSX)
655 void OnSelectPopupMenuItem(int selected_index); 656 void OnSelectPopupMenuItem(int selected_index);
(...skipping 271 matching lines...) Expand 10 before | Expand all | Expand 10 after
927 #endif 928 #endif
928 929
929 base::WeakPtrFactory<RenderFrameImpl> weak_factory_; 930 base::WeakPtrFactory<RenderFrameImpl> weak_factory_;
930 931
931 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl); 932 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl);
932 }; 933 };
933 934
934 } // namespace content 935 } // namespace content
935 936
936 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ 937 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698