| 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, | 614 void OnSerializeAsMHTMLResponse( |
| 614 bool success, | 615 int job_id, |
| 615 const std::string& mhtml_boundary_marker); | 616 bool success, |
| 617 const std::string& mhtml_boundary_marker, |
| 618 const std::set<GURL>& uris_of_generated_mhtml_parts); |
| 616 | 619 |
| 617 #if defined(OS_MACOSX) || defined(OS_ANDROID) | 620 #if defined(OS_MACOSX) || defined(OS_ANDROID) |
| 618 void OnShowPopup(const FrameHostMsg_ShowPopup_Params& params); | 621 void OnShowPopup(const FrameHostMsg_ShowPopup_Params& params); |
| 619 void OnHidePopup(); | 622 void OnHidePopup(); |
| 620 #endif | 623 #endif |
| 621 | 624 |
| 622 // Registers Mojo services that this frame host makes available. | 625 // Registers Mojo services that this frame host makes available. |
| 623 void RegisterMojoServices(); | 626 void RegisterMojoServices(); |
| 624 | 627 |
| 625 // Updates the state of this RenderFrameHost and clears any waiting state | 628 // Updates the state of this RenderFrameHost and clears any waiting state |
| (...skipping 251 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 877 | 880 |
| 878 // NOTE: This must be the last member. | 881 // NOTE: This must be the last member. |
| 879 base::WeakPtrFactory<RenderFrameHostImpl> weak_ptr_factory_; | 882 base::WeakPtrFactory<RenderFrameHostImpl> weak_ptr_factory_; |
| 880 | 883 |
| 881 DISALLOW_COPY_AND_ASSIGN(RenderFrameHostImpl); | 884 DISALLOW_COPY_AND_ASSIGN(RenderFrameHostImpl); |
| 882 }; | 885 }; |
| 883 | 886 |
| 884 } // namespace content | 887 } // namespace content |
| 885 | 888 |
| 886 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_IMPL_H_ | 889 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_IMPL_H_ |
| OLD | NEW |