| 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_RENDERER_RENDER_FRAME_IMPL_H_ | 5 #ifndef CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ |
| 6 #define CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ | 6 #define CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ |
| 7 | 7 |
| 8 #include <vector> | 8 #include <vector> |
| 9 | 9 |
| 10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
| (...skipping 501 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 512 virtual void handleAccessibilityFindInPageResult( | 512 virtual void handleAccessibilityFindInPageResult( |
| 513 int identifier, | 513 int identifier, |
| 514 int match_index, | 514 int match_index, |
| 515 const blink::WebAXObject& start_object, | 515 const blink::WebAXObject& start_object, |
| 516 int start_offset, | 516 int start_offset, |
| 517 const blink::WebAXObject& end_object, | 517 const blink::WebAXObject& end_object, |
| 518 int end_offset); | 518 int end_offset); |
| 519 virtual void didChangeManifest(blink::WebLocalFrame*); | 519 virtual void didChangeManifest(blink::WebLocalFrame*); |
| 520 virtual bool enterFullscreen(); | 520 virtual bool enterFullscreen(); |
| 521 virtual bool exitFullscreen(); | 521 virtual bool exitFullscreen(); |
| 522 void suddenTerminationDisablerChanged( |
| 523 bool present, |
| 524 blink::WebFrameClient::SuddenTerminationDisablerType type) override; |
| 522 | 525 |
| 523 // WebMediaPlayerDelegate implementation: | 526 // WebMediaPlayerDelegate implementation: |
| 524 void DidPlay(blink::WebMediaPlayer* player) override; | 527 void DidPlay(blink::WebMediaPlayer* player) override; |
| 525 void DidPause(blink::WebMediaPlayer* player) override; | 528 void DidPause(blink::WebMediaPlayer* player) override; |
| 526 void PlayerGone(blink::WebMediaPlayer* player) override; | 529 void PlayerGone(blink::WebMediaPlayer* player) override; |
| 527 | 530 |
| 528 // TODO(nasko): Make all tests in RenderViewImplTest friends and then move | 531 // TODO(nasko): Make all tests in RenderViewImplTest friends and then move |
| 529 // this back to private member. | 532 // this back to private member. |
| 530 void OnNavigate(const FrameMsg_Navigate_Params& params); | 533 void OnNavigate(const FrameMsg_Navigate_Params& params); |
| 531 | 534 |
| (...skipping 323 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 855 // process. | 858 // process. |
| 856 ManifestManager* manifest_manager_; | 859 ManifestManager* manifest_manager_; |
| 857 | 860 |
| 858 // The current accessibility mode. | 861 // The current accessibility mode. |
| 859 AccessibilityMode accessibility_mode_; | 862 AccessibilityMode accessibility_mode_; |
| 860 | 863 |
| 861 // Only valid if |accessibility_mode_| is anything other than | 864 // Only valid if |accessibility_mode_| is anything other than |
| 862 // AccessibilityModeOff. | 865 // AccessibilityModeOff. |
| 863 RendererAccessibility* renderer_accessibility_; | 866 RendererAccessibility* renderer_accessibility_; |
| 864 | 867 |
| 868 // Used to track disablers of sudden termination. A change of presence of any |
| 869 // of those elements should be transmitted to the browser. |
| 870 bool beforeunload_handlers_present_; |
| 871 bool unload_handlers_present_; |
| 872 |
| 865 #if defined(OS_MACOSX) || defined(OS_ANDROID) | 873 #if defined(OS_MACOSX) || defined(OS_ANDROID) |
| 866 // The external popup for the currently showing select popup. | 874 // The external popup for the currently showing select popup. |
| 867 scoped_ptr<ExternalPopupMenu> external_popup_menu_; | 875 scoped_ptr<ExternalPopupMenu> external_popup_menu_; |
| 868 #endif | 876 #endif |
| 869 | 877 |
| 870 base::WeakPtrFactory<RenderFrameImpl> weak_factory_; | 878 base::WeakPtrFactory<RenderFrameImpl> weak_factory_; |
| 871 | 879 |
| 872 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl); | 880 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl); |
| 873 }; | 881 }; |
| 874 | 882 |
| 875 } // namespace content | 883 } // namespace content |
| 876 | 884 |
| 877 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ | 885 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ |
| OLD | NEW |