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

Side by Side Diff: content/renderer/render_frame_impl.h

Issue 1002473003: Expose text track settings in Content and implement for Android (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Moved IPC to RenderFrame(Host) Created 5 years, 9 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_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 28 matching lines...) Expand all
39 #if defined(OS_ANDROID) 39 #if defined(OS_ANDROID)
40 #include "content/renderer/media/android/renderer_media_player_manager.h" 40 #include "content/renderer/media/android/renderer_media_player_manager.h"
41 #endif 41 #endif
42 42
43 class GURL; 43 class GURL;
44 class TransportDIB; 44 class TransportDIB;
45 struct FrameHostMsg_AddNavigationTransitionData_Params; 45 struct FrameHostMsg_AddNavigationTransitionData_Params;
46 struct FrameMsg_Navigate_Params; 46 struct FrameMsg_Navigate_Params;
47 struct FrameMsg_NewFrame_WidgetParams; 47 struct FrameMsg_NewFrame_WidgetParams;
48 struct FrameMsg_RequestNavigation_Params; 48 struct FrameMsg_RequestNavigation_Params;
49 struct FrameMsg_TextTrackSettings_Params;
49 50
50 namespace blink { 51 namespace blink {
51 class WebGeolocationClient; 52 class WebGeolocationClient;
52 class WebMouseEvent; 53 class WebMouseEvent;
53 class WebContentDecryptionModule; 54 class WebContentDecryptionModule;
54 class WebMediaPlayer; 55 class WebMediaPlayer;
55 class WebPresentationClient; 56 class WebPresentationClient;
56 class WebPushClient; 57 class WebPushClient;
57 class WebSecurityOrigin; 58 class WebSecurityOrigin;
58 struct WebCompositionUnderline; 59 struct WebCompositionUnderline;
(...skipping 560 matching lines...) Expand 10 before | Expand all | Expand 10 after
619 void OnAddStyleSheetByURL(const std::string& url); 620 void OnAddStyleSheetByURL(const std::string& url);
620 void OnSetupTransitionView(const std::string& markup); 621 void OnSetupTransitionView(const std::string& markup);
621 void OnBeginExitTransition(const std::string& css_selector, 622 void OnBeginExitTransition(const std::string& css_selector,
622 bool exit_to_native_app); 623 bool exit_to_native_app);
623 void OnRevertExitTransition(); 624 void OnRevertExitTransition();
624 void OnHideTransitionElements(const std::string& css_selector); 625 void OnHideTransitionElements(const std::string& css_selector);
625 void OnShowTransitionElements(const std::string& css_selector); 626 void OnShowTransitionElements(const std::string& css_selector);
626 void OnSetAccessibilityMode(AccessibilityMode new_mode); 627 void OnSetAccessibilityMode(AccessibilityMode new_mode);
627 void OnDisownOpener(); 628 void OnDisownOpener();
628 void OnDidUpdateSandboxFlags(SandboxFlags flags); 629 void OnDidUpdateSandboxFlags(SandboxFlags flags);
630 void OnTextTrackSettingsChanged(
631 const FrameMsg_TextTrackSettings_Params& params);
629 #if defined(OS_ANDROID) 632 #if defined(OS_ANDROID)
630 void OnSelectPopupMenuItems(bool canceled, 633 void OnSelectPopupMenuItems(bool canceled,
631 const std::vector<int>& selected_indices); 634 const std::vector<int>& selected_indices);
632 #elif defined(OS_MACOSX) 635 #elif defined(OS_MACOSX)
633 void OnSelectPopupMenuItem(int selected_index); 636 void OnSelectPopupMenuItem(int selected_index);
634 void OnCopyToFindPboard(); 637 void OnCopyToFindPboard();
635 #endif 638 #endif
636 639
637 void OnCommitNavigation(const ResourceResponseHead& response, 640 void OnCommitNavigation(const ResourceResponseHead& response,
638 const GURL& stream_url, 641 const GURL& stream_url,
(...skipping 239 matching lines...) Expand 10 before | Expand all | Expand 10 after
878 #endif 881 #endif
879 882
880 base::WeakPtrFactory<RenderFrameImpl> weak_factory_; 883 base::WeakPtrFactory<RenderFrameImpl> weak_factory_;
881 884
882 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl); 885 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl);
883 }; 886 };
884 887
885 } // namespace content 888 } // namespace content
886 889
887 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ 890 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698