| 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 <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 584 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 603 const std::vector<AccessibilityHostMsg_LocationChangeParams>& params); | 604 const std::vector<AccessibilityHostMsg_LocationChangeParams>& params); |
| 604 void OnAccessibilityFindInPageResult( | 605 void OnAccessibilityFindInPageResult( |
| 605 const AccessibilityHostMsg_FindInPageResultParams& params); | 606 const AccessibilityHostMsg_FindInPageResultParams& params); |
| 606 void OnAccessibilitySnapshotResponse( | 607 void OnAccessibilitySnapshotResponse( |
| 607 int callback_id, | 608 int callback_id, |
| 608 const AXContentTreeUpdate& snapshot); | 609 const AXContentTreeUpdate& snapshot); |
| 609 void OnToggleFullscreen(bool enter_fullscreen); | 610 void OnToggleFullscreen(bool enter_fullscreen); |
| 610 void OnDidStartLoading(bool to_different_document); | 611 void OnDidStartLoading(bool to_different_document); |
| 611 void OnDidStopLoading(); | 612 void OnDidStopLoading(); |
| 612 void OnDidChangeLoadProgress(double load_progress); | 613 void OnDidChangeLoadProgress(double load_progress); |
| 613 void OnSerializeAsMHTMLResponse(int job_id, bool success); | 614 void OnSerializeAsMHTMLResponse( |
| 615 int job_id, |
| 616 bool success, |
| 617 const std::set<GURL>& uris_of_generated_mhtml_parts); |
| 614 | 618 |
| 615 #if defined(OS_MACOSX) || defined(OS_ANDROID) | 619 #if defined(OS_MACOSX) || defined(OS_ANDROID) |
| 616 void OnShowPopup(const FrameHostMsg_ShowPopup_Params& params); | 620 void OnShowPopup(const FrameHostMsg_ShowPopup_Params& params); |
| 617 void OnHidePopup(); | 621 void OnHidePopup(); |
| 618 #endif | 622 #endif |
| 619 | 623 |
| 620 // Registers Mojo services that this frame host makes available. | 624 // Registers Mojo services that this frame host makes available. |
| 621 void RegisterMojoServices(); | 625 void RegisterMojoServices(); |
| 622 | 626 |
| 623 // Updates the state of this RenderFrameHost and clears any waiting state | 627 // Updates the state of this RenderFrameHost and clears any waiting state |
| (...skipping 251 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 875 | 879 |
| 876 // NOTE: This must be the last member. | 880 // NOTE: This must be the last member. |
| 877 base::WeakPtrFactory<RenderFrameHostImpl> weak_ptr_factory_; | 881 base::WeakPtrFactory<RenderFrameHostImpl> weak_ptr_factory_; |
| 878 | 882 |
| 879 DISALLOW_COPY_AND_ASSIGN(RenderFrameHostImpl); | 883 DISALLOW_COPY_AND_ASSIGN(RenderFrameHostImpl); |
| 880 }; | 884 }; |
| 881 | 885 |
| 882 } // namespace content | 886 } // namespace content |
| 883 | 887 |
| 884 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_IMPL_H_ | 888 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_IMPL_H_ |
| OLD | NEW |