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

Side by Side Diff: content/browser/frame_host/render_frame_host_impl.h

Issue 2455133005: Remove FrameMsg_ClearFocusedFrame. (Closed)
Patch Set: Created 4 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
« no previous file with comments | « no previous file | content/browser/frame_host/render_frame_host_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_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_IMPL_H_ 5 #ifndef CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_IMPL_H_
6 #define CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_IMPL_H_ 6 #define CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_IMPL_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 10
(...skipping 418 matching lines...) Expand 10 before | Expand all | Expand 10 after
429 429
430 // Update the frame's opener in the renderer process in response to the 430 // Update the frame's opener in the renderer process in response to the
431 // opener being modified (e.g., with window.open or being set to null) in 431 // opener being modified (e.g., with window.open or being set to null) in
432 // another renderer process. 432 // another renderer process.
433 void UpdateOpener(); 433 void UpdateOpener();
434 434
435 // Set this frame as focused in the renderer process. This supports 435 // Set this frame as focused in the renderer process. This supports
436 // cross-process window.focus() calls. 436 // cross-process window.focus() calls.
437 void SetFocusedFrame(); 437 void SetFocusedFrame();
438 438
439 // This is used to clear focus inside an inner WebContents when focus shifts
440 // to a frame in the outer WebContents or a sibling WebContents.
441 void ClearFocusedFrame();
442
443 // Deletes the current selection plus the specified number of characters 439 // Deletes the current selection plus the specified number of characters
444 // before and after the selection or caret. 440 // before and after the selection or caret.
445 void ExtendSelectionAndDelete(size_t before, size_t after); 441 void ExtendSelectionAndDelete(size_t before, size_t after);
446 442
447 // Deletes text before and after the current cursor position, excluding the 443 // Deletes text before and after the current cursor position, excluding the
448 // selection. 444 // selection.
449 void DeleteSurroundingText(size_t before, size_t after); 445 void DeleteSurroundingText(size_t before, size_t after);
450 446
451 // Notifies the RenderFrame that the JavaScript message that was shown was 447 // Notifies the RenderFrame that the JavaScript message that was shown was
452 // closed by the user. 448 // closed by the user.
(...skipping 597 matching lines...) Expand 10 before | Expand all | Expand 10 after
1050 remote_associated_interfaces_; 1046 remote_associated_interfaces_;
1051 // NOTE: This must be the last member. 1047 // NOTE: This must be the last member.
1052 base::WeakPtrFactory<RenderFrameHostImpl> weak_ptr_factory_; 1048 base::WeakPtrFactory<RenderFrameHostImpl> weak_ptr_factory_;
1053 1049
1054 DISALLOW_COPY_AND_ASSIGN(RenderFrameHostImpl); 1050 DISALLOW_COPY_AND_ASSIGN(RenderFrameHostImpl);
1055 }; 1051 };
1056 1052
1057 } // namespace content 1053 } // namespace content
1058 1054
1059 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_IMPL_H_ 1055 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_IMPL_H_
OLDNEW
« no previous file with comments | « no previous file | content/browser/frame_host/render_frame_host_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698