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

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

Issue 1292433002: Defer media playback in background tabs. (Closed) Base URL: http://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix build.gn Created 5 years, 4 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 995 matching lines...) Expand 10 before | Expand all | Expand 10 after
1006 #if defined(ENABLE_WEBVR) 1006 #if defined(ENABLE_WEBVR)
1007 // The VR dispatcher attached to the frame, lazily initialized. 1007 // The VR dispatcher attached to the frame, lazily initialized.
1008 scoped_ptr<VRDispatcher> vr_dispatcher_; 1008 scoped_ptr<VRDispatcher> vr_dispatcher_;
1009 #endif 1009 #endif
1010 1010
1011 #if defined(OS_MACOSX) || defined(OS_ANDROID) 1011 #if defined(OS_MACOSX) || defined(OS_ANDROID)
1012 // The external popup for the currently showing select popup. 1012 // The external popup for the currently showing select popup.
1013 scoped_ptr<ExternalPopupMenu> external_popup_menu_; 1013 scoped_ptr<ExternalPopupMenu> external_popup_menu_;
1014 #endif 1014 #endif
1015 1015
1016 // True if this RenderFrame has ever played media.
1017 bool has_played_media_;
Charlie Reis 2015/08/18 17:30:03 Is this something that can live in one of the vari
DaleCurtis 2015/08/18 18:19:12 None of those are any better of a fit unfortunatel
1018
1016 base::WeakPtrFactory<RenderFrameImpl> weak_factory_; 1019 base::WeakPtrFactory<RenderFrameImpl> weak_factory_;
1017 1020
1018 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl); 1021 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl);
1019 }; 1022 };
1020 1023
1021 } // namespace content 1024 } // namespace content
1022 1025
1023 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ 1026 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698