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

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

Issue 1085783002: Replace image_messages.h with Mojo service (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix review comments on set7 Created 5 years, 5 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 805 matching lines...) Expand 10 before | Expand all | Expand 10 after
816 816
817 #if defined(ENABLE_MOJO_MEDIA) 817 #if defined(ENABLE_MOJO_MEDIA)
818 mojo::ServiceProvider* GetMediaServiceProvider(); 818 mojo::ServiceProvider* GetMediaServiceProvider();
819 819
820 // Called when a connection error happened on |media_service_provider_|. 820 // Called when a connection error happened on |media_service_provider_|.
821 void OnMediaServiceProviderConnectionError(); 821 void OnMediaServiceProviderConnectionError();
822 #endif 822 #endif
823 823
824 media::CdmFactory* GetCdmFactory(); 824 media::CdmFactory* GetCdmFactory();
825 825
826 void RegisterMojoServices();
827
826 // Stores the WebLocalFrame we are associated with. This is null from the 828 // Stores the WebLocalFrame we are associated with. This is null from the
827 // constructor until SetWebFrame is called, and it is null after 829 // constructor until SetWebFrame is called, and it is null after
828 // frameDetached is called until destruction (which is asynchronous in the 830 // frameDetached is called until destruction (which is asynchronous in the
829 // case of the main frame, but not subframes). 831 // case of the main frame, but not subframes).
830 blink::WebLocalFrame* frame_; 832 blink::WebLocalFrame* frame_;
831 833
832 // Boolean value indicating whether this RenderFrameImpl object is for a 834 // Boolean value indicating whether this RenderFrameImpl object is for a
833 // subframe or not. It remains accurate during destruction, even when |frame_| 835 // subframe or not. It remains accurate during destruction, even when |frame_|
834 // has been invalidated. 836 // has been invalidated.
835 bool is_subframe_; 837 bool is_subframe_;
(...skipping 169 matching lines...) Expand 10 before | Expand all | Expand 10 after
1005 #endif 1007 #endif
1006 1008
1007 base::WeakPtrFactory<RenderFrameImpl> weak_factory_; 1009 base::WeakPtrFactory<RenderFrameImpl> weak_factory_;
1008 1010
1009 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl); 1011 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl);
1010 }; 1012 };
1011 1013
1012 } // namespace content 1014 } // namespace content
1013 1015
1014 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ 1016 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698