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

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

Issue 1423053002: Make document.activeElement work with OOPIF (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@focus-preserve-page-focus-on-subframe-navigations
Patch Set: Change plumbing a bit: use focusDocumentView on WebView and remove clearFocus from WebLocalFrame Created 5 years, 1 month 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 709 matching lines...) Expand 10 before | Expand all | Expand 10 after
720 int start, int end, 720 int start, int end,
721 const std::vector<blink::WebCompositionUnderline>& underlines); 721 const std::vector<blink::WebCompositionUnderline>& underlines);
722 void OnExecuteNoValueEditCommand(const std::string& name); 722 void OnExecuteNoValueEditCommand(const std::string& name);
723 void OnExtendSelectionAndDelete(int before, int after); 723 void OnExtendSelectionAndDelete(int before, int after);
724 void OnReload(bool ignore_cache); 724 void OnReload(bool ignore_cache);
725 void OnTextSurroundingSelectionRequest(size_t max_length); 725 void OnTextSurroundingSelectionRequest(size_t max_length);
726 void OnSetAccessibilityMode(AccessibilityMode new_mode); 726 void OnSetAccessibilityMode(AccessibilityMode new_mode);
727 void OnSnapshotAccessibilityTree(int callback_id); 727 void OnSnapshotAccessibilityTree(int callback_id);
728 void OnUpdateOpener(int opener_routing_id); 728 void OnUpdateOpener(int opener_routing_id);
729 void OnDidUpdateSandboxFlags(blink::WebSandboxFlags flags); 729 void OnDidUpdateSandboxFlags(blink::WebSandboxFlags flags);
730 void OnClearFocus(); 730 void OnSetFocusedFrame();
731 void OnTextTrackSettingsChanged( 731 void OnTextTrackSettingsChanged(
732 const FrameMsg_TextTrackSettings_Params& params); 732 const FrameMsg_TextTrackSettings_Params& params);
733 void OnPostMessageEvent(const FrameMsg_PostMessage_Params& params); 733 void OnPostMessageEvent(const FrameMsg_PostMessage_Params& params);
734 #if defined(OS_ANDROID) 734 #if defined(OS_ANDROID)
735 void OnSelectPopupMenuItems(bool canceled, 735 void OnSelectPopupMenuItems(bool canceled,
736 const std::vector<int>& selected_indices); 736 const std::vector<int>& selected_indices);
737 #elif defined(OS_MACOSX) 737 #elif defined(OS_MACOSX)
738 void OnSelectPopupMenuItem(int selected_index); 738 void OnSelectPopupMenuItem(int selected_index);
739 void OnCopyToFindPboard(); 739 void OnCopyToFindPboard();
740 #endif 740 #endif
(...skipping 342 matching lines...) Expand 10 before | Expand all | Expand 10 after
1083 #endif 1083 #endif
1084 1084
1085 base::WeakPtrFactory<RenderFrameImpl> weak_factory_; 1085 base::WeakPtrFactory<RenderFrameImpl> weak_factory_;
1086 1086
1087 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl); 1087 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl);
1088 }; 1088 };
1089 1089
1090 } // namespace content 1090 } // namespace content
1091 1091
1092 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ 1092 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698