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

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

Issue 2704383007: Always restart the hung page timer after a beforeunload dialog. (Closed)
Patch Set: fixes Created 3 years, 9 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 | « 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 448 matching lines...) Expand 10 before | Expand all | Expand 10 after
459 459
460 // Deletes text before and after the current cursor position, excluding the 460 // Deletes text before and after the current cursor position, excluding the
461 // selection. 461 // selection.
462 void DeleteSurroundingText(size_t before, size_t after); 462 void DeleteSurroundingText(size_t before, size_t after);
463 463
464 // Notifies the RenderFrame that the JavaScript message that was shown was 464 // Notifies the RenderFrame that the JavaScript message that was shown was
465 // closed by the user. 465 // closed by the user.
466 void JavaScriptDialogClosed(IPC::Message* reply_msg, 466 void JavaScriptDialogClosed(IPC::Message* reply_msg,
467 bool success, 467 bool success,
468 const base::string16& user_input, 468 const base::string16& user_input,
469 bool is_before_unload_dialog,
469 bool dialog_was_suppressed); 470 bool dialog_was_suppressed);
470 471
471 // Get the accessibility mode from the delegate and Send a message to the 472 // Get the accessibility mode from the delegate and Send a message to the
472 // renderer process to change the accessibility mode. 473 // renderer process to change the accessibility mode.
473 void UpdateAccessibilityMode(); 474 void UpdateAccessibilityMode();
474 475
475 // Samsung Galaxy Note-specific "smart clip" stylus text getter. 476 // Samsung Galaxy Note-specific "smart clip" stylus text getter.
476 void RequestSmartClipExtract(SmartClipCallback callback, gfx::Rect rect); 477 void RequestSmartClipExtract(SmartClipCallback callback, gfx::Rect rect);
477 478
478 // Request a one-time snapshot of the accessibility tree without changing 479 // Request a one-time snapshot of the accessibility tree without changing
(...skipping 672 matching lines...) Expand 10 before | Expand all | Expand 10 after
1151 1152
1152 // NOTE: This must be the last member. 1153 // NOTE: This must be the last member.
1153 base::WeakPtrFactory<RenderFrameHostImpl> weak_ptr_factory_; 1154 base::WeakPtrFactory<RenderFrameHostImpl> weak_ptr_factory_;
1154 1155
1155 DISALLOW_COPY_AND_ASSIGN(RenderFrameHostImpl); 1156 DISALLOW_COPY_AND_ASSIGN(RenderFrameHostImpl);
1156 }; 1157 };
1157 1158
1158 } // namespace content 1159 } // namespace content
1159 1160
1160 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_IMPL_H_ 1161 #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