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

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

Issue 2519273002: Fail when saving page as MHTML provides information about the cause. (Closed)
Patch Set: Fixed typo. Created 4 years 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_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 11 matching lines...) Expand all
22 #include "base/time/time.h" 22 #include "base/time/time.h"
23 #include "build/build_config.h" 23 #include "build/build_config.h"
24 #include "content/browser/accessibility/browser_accessibility_manager.h" 24 #include "content/browser/accessibility/browser_accessibility_manager.h"
25 #include "content/browser/bad_message.h" 25 #include "content/browser/bad_message.h"
26 #include "content/browser/loader/global_routing_id.h" 26 #include "content/browser/loader/global_routing_id.h"
27 #include "content/browser/site_instance_impl.h" 27 #include "content/browser/site_instance_impl.h"
28 #include "content/browser/webui/web_ui_impl.h" 28 #include "content/browser/webui/web_ui_impl.h"
29 #include "content/common/accessibility_mode_enums.h" 29 #include "content/common/accessibility_mode_enums.h"
30 #include "content/common/ax_content_node_data.h" 30 #include "content/common/ax_content_node_data.h"
31 #include "content/common/content_export.h" 31 #include "content/common/content_export.h"
32 #include "content/common/download/mhtml_save_status.h"
32 #include "content/common/frame.mojom.h" 33 #include "content/common/frame.mojom.h"
33 #include "content/common/frame_message_enums.h" 34 #include "content/common/frame_message_enums.h"
34 #include "content/common/frame_replication_state.h" 35 #include "content/common/frame_replication_state.h"
35 #include "content/common/image_downloader/image_downloader.mojom.h" 36 #include "content/common/image_downloader/image_downloader.mojom.h"
36 #include "content/common/navigation_params.h" 37 #include "content/common/navigation_params.h"
37 #include "content/public/browser/render_frame_host.h" 38 #include "content/public/browser/render_frame_host.h"
38 #include "content/public/common/javascript_message_type.h" 39 #include "content/public/common/javascript_message_type.h"
39 #include "media/mojo/interfaces/interface_factory.mojom.h" 40 #include "media/mojo/interfaces/interface_factory.mojom.h"
40 #include "net/http/http_response_headers.h" 41 #include "net/http/http_response_headers.h"
41 #include "services/service_manager/public/cpp/interface_factory.h" 42 #include "services/service_manager/public/cpp/interface_factory.h"
(...skipping 647 matching lines...) Expand 10 before | Expand all | Expand 10 after
689 int hit_obj_id); 690 int hit_obj_id);
690 void OnAccessibilitySnapshotResponse( 691 void OnAccessibilitySnapshotResponse(
691 int callback_id, 692 int callback_id,
692 const AXContentTreeUpdate& snapshot); 693 const AXContentTreeUpdate& snapshot);
693 void OnToggleFullscreen(bool enter_fullscreen); 694 void OnToggleFullscreen(bool enter_fullscreen);
694 void OnDidStartLoading(bool to_different_document); 695 void OnDidStartLoading(bool to_different_document);
695 void OnDidStopLoading(); 696 void OnDidStopLoading();
696 void OnDidChangeLoadProgress(double load_progress); 697 void OnDidChangeLoadProgress(double load_progress);
697 void OnSerializeAsMHTMLResponse( 698 void OnSerializeAsMHTMLResponse(
698 int job_id, 699 int job_id,
699 bool success, 700 MhtmlSaveStatus save_status,
700 const std::set<std::string>& digests_of_uris_of_serialized_resources, 701 const std::set<std::string>& digests_of_uris_of_serialized_resources,
701 base::TimeDelta renderer_main_thread_time); 702 base::TimeDelta renderer_main_thread_time);
702 void OnSelectionChanged(const base::string16& text, 703 void OnSelectionChanged(const base::string16& text,
703 uint32_t offset, 704 uint32_t offset,
704 const gfx::Range& range); 705 const gfx::Range& range);
705 706
706 #if defined(USE_EXTERNAL_POPUP_MENU) 707 #if defined(USE_EXTERNAL_POPUP_MENU)
707 void OnShowPopup(const FrameHostMsg_ShowPopup_Params& params); 708 void OnShowPopup(const FrameHostMsg_ShowPopup_Params& params);
708 void OnHidePopup(); 709 void OnHidePopup();
709 #endif 710 #endif
(...skipping 360 matching lines...) Expand 10 before | Expand all | Expand 10 after
1070 remote_associated_interfaces_; 1071 remote_associated_interfaces_;
1071 // NOTE: This must be the last member. 1072 // NOTE: This must be the last member.
1072 base::WeakPtrFactory<RenderFrameHostImpl> weak_ptr_factory_; 1073 base::WeakPtrFactory<RenderFrameHostImpl> weak_ptr_factory_;
1073 1074
1074 DISALLOW_COPY_AND_ASSIGN(RenderFrameHostImpl); 1075 DISALLOW_COPY_AND_ASSIGN(RenderFrameHostImpl);
1075 }; 1076 };
1076 1077
1077 } // namespace content 1078 } // namespace content
1078 1079
1079 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_IMPL_H_ 1080 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_IMPL_H_
OLDNEW
« no previous file with comments | « content/browser/download/mhtml_generation_manager.cc ('k') | content/browser/frame_host/render_frame_host_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698