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

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

Issue 2783723002: Keep track in the browser of which frames have onunload and onbeforeunload handlers. (Closed)
Patch Set: fix content_browsertests with plznavigate and also remove now unnecessary unloadcontroller change 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
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 <stddef.h> 8 #include <stddef.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 10
(...skipping 650 matching lines...) Expand 10 before | Expand all | Expand 10 after
661 void handleAccessibilityFindInPageResult( 661 void handleAccessibilityFindInPageResult(
662 int identifier, 662 int identifier,
663 int match_index, 663 int match_index,
664 const blink::WebAXObject& start_object, 664 const blink::WebAXObject& start_object,
665 int start_offset, 665 int start_offset,
666 const blink::WebAXObject& end_object, 666 const blink::WebAXObject& end_object,
667 int end_offset) override; 667 int end_offset) override;
668 void didChangeManifest() override; 668 void didChangeManifest() override;
669 void enterFullscreen() override; 669 void enterFullscreen() override;
670 void exitFullscreen() override; 670 void exitFullscreen() override;
671 void suddenTerminationDisablerChanged(
672 bool present,
673 blink::WebFrameClient::SuddenTerminationDisablerType type) override;
671 void registerProtocolHandler(const blink::WebString& scheme, 674 void registerProtocolHandler(const blink::WebString& scheme,
672 const blink::WebURL& url, 675 const blink::WebURL& url,
673 const blink::WebString& title) override; 676 const blink::WebString& title) override;
674 void unregisterProtocolHandler(const blink::WebString& scheme, 677 void unregisterProtocolHandler(const blink::WebString& scheme,
675 const blink::WebURL& url) override; 678 const blink::WebURL& url) override;
676 void checkIfAudioSinkExistsAndIsAuthorized( 679 void checkIfAudioSinkExistsAndIsAuthorized(
677 const blink::WebString& sink_id, 680 const blink::WebString& sink_id,
678 const blink::WebSecurityOrigin& security_origin, 681 const blink::WebSecurityOrigin& security_origin,
679 blink::WebSetSinkIdCallbacks* web_callbacks) override; 682 blink::WebSetSinkIdCallbacks* web_callbacks) override;
680 blink::WebPageVisibilityState visibilityState() const override; 683 blink::WebPageVisibilityState visibilityState() const override;
(...skipping 742 matching lines...) Expand 10 before | Expand all | Expand 10 after
1423 std::unique_ptr<PendingNavigationInfo> pending_navigation_info_; 1426 std::unique_ptr<PendingNavigationInfo> pending_navigation_info_;
1424 1427
1425 base::WeakPtrFactory<RenderFrameImpl> weak_factory_; 1428 base::WeakPtrFactory<RenderFrameImpl> weak_factory_;
1426 1429
1427 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl); 1430 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl);
1428 }; 1431 };
1429 1432
1430 } // namespace content 1433 } // namespace content
1431 1434
1432 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ 1435 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698