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

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: Addressed CR feedback from rdsmith@. 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 <map> 8 #include <map>
9 #include <set>
9 #include <string> 10 #include <string>
10 #include <vector> 11 #include <vector>
11 12
12 #include "base/callback.h" 13 #include "base/callback.h"
13 #include "base/compiler_specific.h" 14 #include "base/compiler_specific.h"
14 #include "base/gtest_prod_util.h" 15 #include "base/gtest_prod_util.h"
15 #include "base/memory/weak_ptr.h" 16 #include "base/memory/weak_ptr.h"
16 #include "base/strings/string16.h" 17 #include "base/strings/string16.h"
17 #include "base/time/time.h" 18 #include "base/time/time.h"
18 #include "content/browser/accessibility/browser_accessibility_manager.h" 19 #include "content/browser/accessibility/browser_accessibility_manager.h"
(...skipping 589 matching lines...) Expand 10 before | Expand all | Expand 10 after
608 const std::vector<AccessibilityHostMsg_LocationChangeParams>& params); 609 const std::vector<AccessibilityHostMsg_LocationChangeParams>& params);
609 void OnAccessibilityFindInPageResult( 610 void OnAccessibilityFindInPageResult(
610 const AccessibilityHostMsg_FindInPageResultParams& params); 611 const AccessibilityHostMsg_FindInPageResultParams& params);
611 void OnAccessibilitySnapshotResponse( 612 void OnAccessibilitySnapshotResponse(
612 int callback_id, 613 int callback_id,
613 const AXContentTreeUpdate& snapshot); 614 const AXContentTreeUpdate& snapshot);
614 void OnToggleFullscreen(bool enter_fullscreen); 615 void OnToggleFullscreen(bool enter_fullscreen);
615 void OnDidStartLoading(bool to_different_document); 616 void OnDidStartLoading(bool to_different_document);
616 void OnDidStopLoading(); 617 void OnDidStopLoading();
617 void OnDidChangeLoadProgress(double load_progress); 618 void OnDidChangeLoadProgress(double load_progress);
618 void OnSerializeAsMHTMLResponse(int job_id, bool success); 619 void OnSerializeAsMHTMLResponse(
620 int job_id,
621 bool success,
622 const std::set<std::string>& digests_of_uris_of_serialized_resources);
619 623
620 #if defined(OS_MACOSX) || defined(OS_ANDROID) 624 #if defined(OS_MACOSX) || defined(OS_ANDROID)
621 void OnShowPopup(const FrameHostMsg_ShowPopup_Params& params); 625 void OnShowPopup(const FrameHostMsg_ShowPopup_Params& params);
622 void OnHidePopup(); 626 void OnHidePopup();
623 #endif 627 #endif
624 628
625 // Registers Mojo services that this frame host makes available. 629 // Registers Mojo services that this frame host makes available.
626 void RegisterMojoServices(); 630 void RegisterMojoServices();
627 631
628 // Updates the state of this RenderFrameHost and clears any waiting state 632 // Updates the state of this RenderFrameHost and clears any waiting state
(...skipping 251 matching lines...) Expand 10 before | Expand all | Expand 10 after
880 884
881 // NOTE: This must be the last member. 885 // NOTE: This must be the last member.
882 base::WeakPtrFactory<RenderFrameHostImpl> weak_ptr_factory_; 886 base::WeakPtrFactory<RenderFrameHostImpl> weak_ptr_factory_;
883 887
884 DISALLOW_COPY_AND_ASSIGN(RenderFrameHostImpl); 888 DISALLOW_COPY_AND_ASSIGN(RenderFrameHostImpl);
885 }; 889 };
886 890
887 } // namespace content 891 } // namespace content
888 892
889 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_IMPL_H_ 893 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698