OLD | NEW |
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 <string> |
9 #include <vector> | 10 #include <vector> |
10 | 11 |
11 #include "base/callback.h" | 12 #include "base/callback.h" |
12 #include "base/compiler_specific.h" | 13 #include "base/compiler_specific.h" |
13 #include "base/gtest_prod_util.h" | 14 #include "base/gtest_prod_util.h" |
14 #include "base/memory/weak_ptr.h" | 15 #include "base/memory/weak_ptr.h" |
15 #include "base/strings/string16.h" | 16 #include "base/strings/string16.h" |
16 #include "base/time/time.h" | 17 #include "base/time/time.h" |
17 #include "content/browser/accessibility/browser_accessibility_manager.h" | 18 #include "content/browser/accessibility/browser_accessibility_manager.h" |
18 #include "content/browser/bad_message.h" | 19 #include "content/browser/bad_message.h" |
(...skipping 583 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
602 const std::vector<AccessibilityHostMsg_LocationChangeParams>& params); | 603 const std::vector<AccessibilityHostMsg_LocationChangeParams>& params); |
603 void OnAccessibilityFindInPageResult( | 604 void OnAccessibilityFindInPageResult( |
604 const AccessibilityHostMsg_FindInPageResultParams& params); | 605 const AccessibilityHostMsg_FindInPageResultParams& params); |
605 void OnAccessibilitySnapshotResponse( | 606 void OnAccessibilitySnapshotResponse( |
606 int callback_id, | 607 int callback_id, |
607 const AXContentTreeUpdate& snapshot); | 608 const AXContentTreeUpdate& snapshot); |
608 void OnToggleFullscreen(bool enter_fullscreen); | 609 void OnToggleFullscreen(bool enter_fullscreen); |
609 void OnDidStartLoading(bool to_different_document); | 610 void OnDidStartLoading(bool to_different_document); |
610 void OnDidStopLoading(); | 611 void OnDidStopLoading(); |
611 void OnDidChangeLoadProgress(double load_progress); | 612 void OnDidChangeLoadProgress(double load_progress); |
| 613 void OnSerializeAsMHTMLResponse(int job_id, |
| 614 bool success, |
| 615 const std::string& mhtml_boundary_marker); |
612 | 616 |
613 #if defined(OS_MACOSX) || defined(OS_ANDROID) | 617 #if defined(OS_MACOSX) || defined(OS_ANDROID) |
614 void OnShowPopup(const FrameHostMsg_ShowPopup_Params& params); | 618 void OnShowPopup(const FrameHostMsg_ShowPopup_Params& params); |
615 void OnHidePopup(); | 619 void OnHidePopup(); |
616 #endif | 620 #endif |
617 | 621 |
618 // Registers Mojo services that this frame host makes available. | 622 // Registers Mojo services that this frame host makes available. |
619 void RegisterMojoServices(); | 623 void RegisterMojoServices(); |
620 | 624 |
621 // Updates the state of this RenderFrameHost and clears any waiting state | 625 // Updates the state of this RenderFrameHost and clears any waiting state |
(...skipping 251 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
873 | 877 |
874 // NOTE: This must be the last member. | 878 // NOTE: This must be the last member. |
875 base::WeakPtrFactory<RenderFrameHostImpl> weak_ptr_factory_; | 879 base::WeakPtrFactory<RenderFrameHostImpl> weak_ptr_factory_; |
876 | 880 |
877 DISALLOW_COPY_AND_ASSIGN(RenderFrameHostImpl); | 881 DISALLOW_COPY_AND_ASSIGN(RenderFrameHostImpl); |
878 }; | 882 }; |
879 | 883 |
880 } // namespace content | 884 } // namespace content |
881 | 885 |
882 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_IMPL_H_ | 886 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_IMPL_H_ |
OLD | NEW |