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

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

Issue 1370013003: OOPIF: Clear old focused frame when focus moves to a cross-process frame. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove !frame()->page() check from WebLocalFrameImpl::clearFocus() Created 5 years, 2 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
« no previous file with comments | « content/common/frame_messages.h ('k') | content/renderer/render_frame_impl.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 692 matching lines...) Expand 10 before | Expand all | Expand 10 after
703 int start, int end, 703 int start, int end,
704 const std::vector<blink::WebCompositionUnderline>& underlines); 704 const std::vector<blink::WebCompositionUnderline>& underlines);
705 void OnExecuteNoValueEditCommand(const std::string& name); 705 void OnExecuteNoValueEditCommand(const std::string& name);
706 void OnExtendSelectionAndDelete(int before, int after); 706 void OnExtendSelectionAndDelete(int before, int after);
707 void OnReload(bool ignore_cache); 707 void OnReload(bool ignore_cache);
708 void OnTextSurroundingSelectionRequest(size_t max_length); 708 void OnTextSurroundingSelectionRequest(size_t max_length);
709 void OnSetAccessibilityMode(AccessibilityMode new_mode); 709 void OnSetAccessibilityMode(AccessibilityMode new_mode);
710 void OnSnapshotAccessibilityTree(int callback_id); 710 void OnSnapshotAccessibilityTree(int callback_id);
711 void OnUpdateOpener(int opener_routing_id); 711 void OnUpdateOpener(int opener_routing_id);
712 void OnDidUpdateSandboxFlags(blink::WebSandboxFlags flags); 712 void OnDidUpdateSandboxFlags(blink::WebSandboxFlags flags);
713 void OnClearFocus();
713 void OnTextTrackSettingsChanged( 714 void OnTextTrackSettingsChanged(
714 const FrameMsg_TextTrackSettings_Params& params); 715 const FrameMsg_TextTrackSettings_Params& params);
715 void OnPostMessageEvent(const FrameMsg_PostMessage_Params& params); 716 void OnPostMessageEvent(const FrameMsg_PostMessage_Params& params);
716 #if defined(OS_ANDROID) 717 #if defined(OS_ANDROID)
717 void OnSelectPopupMenuItems(bool canceled, 718 void OnSelectPopupMenuItems(bool canceled,
718 const std::vector<int>& selected_indices); 719 const std::vector<int>& selected_indices);
719 #elif defined(OS_MACOSX) 720 #elif defined(OS_MACOSX)
720 void OnSelectPopupMenuItem(int selected_index); 721 void OnSelectPopupMenuItem(int selected_index);
721 void OnCopyToFindPboard(); 722 void OnCopyToFindPboard();
722 #endif 723 #endif
(...skipping 339 matching lines...) Expand 10 before | Expand all | Expand 10 after
1062 #endif 1063 #endif
1063 1064
1064 base::WeakPtrFactory<RenderFrameImpl> weak_factory_; 1065 base::WeakPtrFactory<RenderFrameImpl> weak_factory_;
1065 1066
1066 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl); 1067 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl);
1067 }; 1068 };
1068 1069
1069 } // namespace content 1070 } // namespace content
1070 1071
1071 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ 1072 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_
OLDNEW
« no previous file with comments | « content/common/frame_messages.h ('k') | content/renderer/render_frame_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698