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

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

Issue 2803163003: Delete RenderFrameHostImpl::SetHasReceivedUserGesture. (Closed)
Patch Set: Created 3 years, 8 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 591 matching lines...) Expand 10 before | Expand all | Expand 10 after
602 // Clears any existing policy and constructs a new policy for this frame, 602 // Clears any existing policy and constructs a new policy for this frame,
603 // based on its parent frame. 603 // based on its parent frame.
604 void ResetFeaturePolicy(); 604 void ResetFeaturePolicy();
605 605
606 // Tells the renderer that this RenderFrame will soon be swapped out, and thus 606 // Tells the renderer that this RenderFrame will soon be swapped out, and thus
607 // not to create any new modal dialogs until it happens. This must be done 607 // not to create any new modal dialogs until it happens. This must be done
608 // separately so that the ScopedPageLoadDeferrers of any current dialogs are 608 // separately so that the ScopedPageLoadDeferrers of any current dialogs are
609 // no longer on the stack when we attempt to swap it out. 609 // no longer on the stack when we attempt to swap it out.
610 void SuppressFurtherDialogs(); 610 void SuppressFurtherDialogs();
611 611
612 void SetHasReceivedUserGesture();
613
614 void ClearFocusedElement(); 612 void ClearFocusedElement();
615 613
616 // Returns whether the given URL is allowed to commit in the current process. 614 // Returns whether the given URL is allowed to commit in the current process.
617 // This is a more conservative check than RenderProcessHost::FilterURL, since 615 // This is a more conservative check than RenderProcessHost::FilterURL, since
618 // it will be used to kill processes that commit unauthorized URLs. 616 // it will be used to kill processes that commit unauthorized URLs.
619 bool CanCommitURL(const GURL& url); 617 bool CanCommitURL(const GURL& url);
620 618
621 // PlzNavigate: returns the PreviewsState of the last successful navigation 619 // PlzNavigate: returns the PreviewsState of the last successful navigation
622 // that made a network request. The PreviewsState is a bitmask of potentially 620 // that made a network request. The PreviewsState is a bitmask of potentially
623 // several Previews optimizations. 621 // several Previews optimizations.
(...skipping 562 matching lines...) Expand 10 before | Expand all | Expand 10 after
1186 1184
1187 // NOTE: This must be the last member. 1185 // NOTE: This must be the last member.
1188 base::WeakPtrFactory<RenderFrameHostImpl> weak_ptr_factory_; 1186 base::WeakPtrFactory<RenderFrameHostImpl> weak_ptr_factory_;
1189 1187
1190 DISALLOW_COPY_AND_ASSIGN(RenderFrameHostImpl); 1188 DISALLOW_COPY_AND_ASSIGN(RenderFrameHostImpl);
1191 }; 1189 };
1192 1190
1193 } // namespace content 1191 } // namespace content
1194 1192
1195 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_IMPL_H_ 1193 #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