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

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

Issue 1417323006: OOPIFs: Deduplicating MHTML parts across frames. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@mhtml-serialization-per-frame
Patch Set: Rebasing... Created 4 years, 11 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_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
11 #include <map> 11 #include <map>
12 #include <set>
12 #include <string> 13 #include <string>
13 #include <vector> 14 #include <vector>
14 15
15 #include "base/callback.h" 16 #include "base/callback.h"
16 #include "base/compiler_specific.h" 17 #include "base/compiler_specific.h"
17 #include "base/gtest_prod_util.h" 18 #include "base/gtest_prod_util.h"
18 #include "base/macros.h" 19 #include "base/macros.h"
19 #include "base/memory/weak_ptr.h" 20 #include "base/memory/weak_ptr.h"
20 #include "base/strings/string16.h" 21 #include "base/strings/string16.h"
21 #include "base/time/time.h" 22 #include "base/time/time.h"
(...skipping 591 matching lines...) Expand 10 before | Expand all | Expand 10 after
613 const std::vector<AccessibilityHostMsg_LocationChangeParams>& params); 614 const std::vector<AccessibilityHostMsg_LocationChangeParams>& params);
614 void OnAccessibilityFindInPageResult( 615 void OnAccessibilityFindInPageResult(
615 const AccessibilityHostMsg_FindInPageResultParams& params); 616 const AccessibilityHostMsg_FindInPageResultParams& params);
616 void OnAccessibilitySnapshotResponse( 617 void OnAccessibilitySnapshotResponse(
617 int callback_id, 618 int callback_id,
618 const AXContentTreeUpdate& snapshot); 619 const AXContentTreeUpdate& snapshot);
619 void OnToggleFullscreen(bool enter_fullscreen); 620 void OnToggleFullscreen(bool enter_fullscreen);
620 void OnDidStartLoading(bool to_different_document); 621 void OnDidStartLoading(bool to_different_document);
621 void OnDidStopLoading(); 622 void OnDidStopLoading();
622 void OnDidChangeLoadProgress(double load_progress); 623 void OnDidChangeLoadProgress(double load_progress);
623 void OnSerializeAsMHTMLResponse(int job_id, bool success); 624 void OnSerializeAsMHTMLResponse(
625 int job_id,
626 bool success,
627 const std::set<std::string>& digests_of_uris_of_serialized_resources);
624 628
625 #if defined(OS_MACOSX) || defined(OS_ANDROID) 629 #if defined(OS_MACOSX) || defined(OS_ANDROID)
626 void OnShowPopup(const FrameHostMsg_ShowPopup_Params& params); 630 void OnShowPopup(const FrameHostMsg_ShowPopup_Params& params);
627 void OnHidePopup(); 631 void OnHidePopup();
628 #endif 632 #endif
629 633
630 // Registers Mojo services that this frame host makes available. 634 // Registers Mojo services that this frame host makes available.
631 void RegisterMojoServices(); 635 void RegisterMojoServices();
632 636
633 // Updates the state of this RenderFrameHost and clears any waiting state 637 // Updates the state of this RenderFrameHost and clears any waiting state
(...skipping 251 matching lines...) Expand 10 before | Expand all | Expand 10 after
885 889
886 // NOTE: This must be the last member. 890 // NOTE: This must be the last member.
887 base::WeakPtrFactory<RenderFrameHostImpl> weak_ptr_factory_; 891 base::WeakPtrFactory<RenderFrameHostImpl> weak_ptr_factory_;
888 892
889 DISALLOW_COPY_AND_ASSIGN(RenderFrameHostImpl); 893 DISALLOW_COPY_AND_ASSIGN(RenderFrameHostImpl);
890 }; 894 };
891 895
892 } // namespace content 896 } // namespace content
893 897
894 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_IMPL_H_ 898 #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