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

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

Issue 2735183003: PlzNavigate: stop navigations when opening a document for write (Closed)
Patch Set: 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
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 571 matching lines...) Expand 10 before | Expand all | Expand 10 after
582 blink::WebHistoryCommitType commit_type) override; 582 blink::WebHistoryCommitType commit_type) override;
583 void didFinishLoad(blink::WebLocalFrame* frame) override; 583 void didFinishLoad(blink::WebLocalFrame* frame) override;
584 void didNavigateWithinPage(blink::WebLocalFrame* frame, 584 void didNavigateWithinPage(blink::WebLocalFrame* frame,
585 const blink::WebHistoryItem& item, 585 const blink::WebHistoryItem& item,
586 blink::WebHistoryCommitType commit_type, 586 blink::WebHistoryCommitType commit_type,
587 bool content_initiated) override; 587 bool content_initiated) override;
588 void didUpdateCurrentHistoryItem() override; 588 void didUpdateCurrentHistoryItem() override;
589 void didChangeThemeColor() override; 589 void didChangeThemeColor() override;
590 void dispatchLoad() override; 590 void dispatchLoad() override;
591 blink::WebEffectiveConnectionType getEffectiveConnectionType() override; 591 blink::WebEffectiveConnectionType getEffectiveConnectionType() override;
592 void abortClientNavigation() override;
592 void didChangeSelection(bool is_empty_selection) override; 593 void didChangeSelection(bool is_empty_selection) override;
593 bool handleCurrentKeyboardEvent() override; 594 bool handleCurrentKeyboardEvent() override;
594 blink::WebColorChooser* createColorChooser( 595 blink::WebColorChooser* createColorChooser(
595 blink::WebColorChooserClient* client, 596 blink::WebColorChooserClient* client,
596 const blink::WebColor& initial_color, 597 const blink::WebColor& initial_color,
597 const blink::WebVector<blink::WebColorSuggestion>& suggestions) override; 598 const blink::WebVector<blink::WebColorSuggestion>& suggestions) override;
598 void runModalAlertDialog(const blink::WebString& message) override; 599 void runModalAlertDialog(const blink::WebString& message) override;
599 bool runModalConfirmDialog(const blink::WebString& message) override; 600 bool runModalConfirmDialog(const blink::WebString& message) override;
600 bool runModalPromptDialog(const blink::WebString& message, 601 bool runModalPromptDialog(const blink::WebString& message,
601 const blink::WebString& default_value, 602 const blink::WebString& default_value,
(...skipping 288 matching lines...) Expand 10 before | Expand all | Expand 10 after
890 const FrameMsg_TextTrackSettings_Params& params); 891 const FrameMsg_TextTrackSettings_Params& params);
891 void OnPostMessageEvent(const FrameMsg_PostMessage_Params& params); 892 void OnPostMessageEvent(const FrameMsg_PostMessage_Params& params);
892 void OnCommitNavigation(const ResourceResponseHead& response, 893 void OnCommitNavigation(const ResourceResponseHead& response,
893 const GURL& stream_url, 894 const GURL& stream_url,
894 const CommonNavigationParams& common_params, 895 const CommonNavigationParams& common_params,
895 const RequestNavigationParams& request_params); 896 const RequestNavigationParams& request_params);
896 void OnFailedNavigation(const CommonNavigationParams& common_params, 897 void OnFailedNavigation(const CommonNavigationParams& common_params,
897 const RequestNavigationParams& request_params, 898 const RequestNavigationParams& request_params,
898 bool has_stale_copy_in_cache, 899 bool has_stale_copy_in_cache,
899 int error_code); 900 int error_code);
901 void OnDroppedNavigation();
900 void OnGetSavableResourceLinks(); 902 void OnGetSavableResourceLinks();
901 void OnGetSerializedHtmlWithLocalLinks( 903 void OnGetSerializedHtmlWithLocalLinks(
902 const std::map<GURL, base::FilePath>& url_to_local_path, 904 const std::map<GURL, base::FilePath>& url_to_local_path,
903 const std::map<int, base::FilePath>& frame_routing_id_to_local_path); 905 const std::map<int, base::FilePath>& frame_routing_id_to_local_path);
904 void OnSerializeAsMHTML(const FrameMsg_SerializeAsMHTML_Params& params); 906 void OnSerializeAsMHTML(const FrameMsg_SerializeAsMHTML_Params& params);
905 void OnFind(int request_id, 907 void OnFind(int request_id,
906 const base::string16& search_text, 908 const base::string16& search_text,
907 const blink::WebFindOptions& options); 909 const blink::WebFindOptions& options);
908 void OnClearActiveFindMatch(); 910 void OnClearActiveFindMatch();
909 void OnStopFinding(StopFindAction action); 911 void OnStopFinding(StopFindAction action);
(...skipping 487 matching lines...) Expand 10 before | Expand all | Expand 10 after
1397 int enabled_bindings_ = 0; 1399 int enabled_bindings_ = 0;
1398 1400
1399 base::WeakPtrFactory<RenderFrameImpl> weak_factory_; 1401 base::WeakPtrFactory<RenderFrameImpl> weak_factory_;
1400 1402
1401 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl); 1403 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl);
1402 }; 1404 };
1403 1405
1404 } // namespace content 1406 } // namespace content
1405 1407
1406 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ 1408 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698