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

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: Remove some plumbing that should instead be introduced in the window.focus() CL. 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 717 matching lines...) Expand 10 before | Expand all | Expand 10 after
728 void OnExecuteNoValueEditCommand(const std::string& name); 728 void OnExecuteNoValueEditCommand(const std::string& name);
729 void OnExtendSelectionAndDelete(int before, int after); 729 void OnExtendSelectionAndDelete(int before, int after);
730 void OnReload(bool ignore_cache); 730 void OnReload(bool ignore_cache);
731 void OnTextSurroundingSelectionRequest(size_t max_length); 731 void OnTextSurroundingSelectionRequest(size_t max_length);
732 void OnSetAccessibilityMode(AccessibilityMode new_mode); 732 void OnSetAccessibilityMode(AccessibilityMode new_mode);
733 void OnSnapshotAccessibilityTree(int callback_id); 733 void OnSnapshotAccessibilityTree(int callback_id);
734 void OnUpdateOpener(int opener_routing_id); 734 void OnUpdateOpener(int opener_routing_id);
735 void OnDidUpdateSandboxFlags(blink::WebSandboxFlags flags); 735 void OnDidUpdateSandboxFlags(blink::WebSandboxFlags flags);
736 void OnSetFrameOwnerProperties( 736 void OnSetFrameOwnerProperties(
737 const blink::WebFrameOwnerProperties& frame_owner_properties); 737 const blink::WebFrameOwnerProperties& frame_owner_properties);
738 void OnClearFocus();
739 void OnTextTrackSettingsChanged( 738 void OnTextTrackSettingsChanged(
740 const FrameMsg_TextTrackSettings_Params& params); 739 const FrameMsg_TextTrackSettings_Params& params);
741 void OnPostMessageEvent(const FrameMsg_PostMessage_Params& params); 740 void OnPostMessageEvent(const FrameMsg_PostMessage_Params& params);
742 #if defined(OS_ANDROID) 741 #if defined(OS_ANDROID)
743 void OnSelectPopupMenuItems(bool canceled, 742 void OnSelectPopupMenuItems(bool canceled,
744 const std::vector<int>& selected_indices); 743 const std::vector<int>& selected_indices);
745 #elif defined(OS_MACOSX) 744 #elif defined(OS_MACOSX)
746 void OnSelectPopupMenuItem(int selected_index); 745 void OnSelectPopupMenuItem(int selected_index);
747 void OnCopyToFindPboard(); 746 void OnCopyToFindPboard();
748 #endif 747 #endif
(...skipping 342 matching lines...) Expand 10 before | Expand all | Expand 10 after
1091 #endif 1090 #endif
1092 1091
1093 base::WeakPtrFactory<RenderFrameImpl> weak_factory_; 1092 base::WeakPtrFactory<RenderFrameImpl> weak_factory_;
1094 1093
1095 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl); 1094 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl);
1096 }; 1095 };
1097 1096
1098 } // namespace content 1097 } // namespace content
1099 1098
1100 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ 1099 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698