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

Side by Side Diff: content/browser/web_contents/web_contents_impl.h

Issue 680193002: Plugin Power Saver: Implement size-based heuristic for peripheral content. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 1 month 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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ 5 #ifndef CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_
6 #define CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ 6 #define CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_
7 7
8 #include <map> 8 #include <map>
9 #include <set> 9 #include <set>
10 #include <string> 10 #include <string>
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
50 class BrowserPluginGuest; 50 class BrowserPluginGuest;
51 class BrowserPluginGuestManager; 51 class BrowserPluginGuestManager;
52 class DateTimeChooserAndroid; 52 class DateTimeChooserAndroid;
53 class DownloadItem; 53 class DownloadItem;
54 class GeolocationDispatcherHost; 54 class GeolocationDispatcherHost;
55 class GeolocationServiceContext; 55 class GeolocationServiceContext;
56 class InterstitialPageImpl; 56 class InterstitialPageImpl;
57 class JavaScriptDialogManager; 57 class JavaScriptDialogManager;
58 class ManifestManagerHost; 58 class ManifestManagerHost;
59 class MidiDispatcherHost; 59 class MidiDispatcherHost;
60 class PluginContentOriginWhitelist;
60 class PowerSaveBlocker; 61 class PowerSaveBlocker;
61 class RenderViewHost; 62 class RenderViewHost;
62 class RenderViewHostDelegateView; 63 class RenderViewHostDelegateView;
63 class RenderViewHostImpl; 64 class RenderViewHostImpl;
64 class RenderWidgetHostImpl; 65 class RenderWidgetHostImpl;
65 class SavePackage; 66 class SavePackage;
66 class ScreenOrientationDispatcherHost; 67 class ScreenOrientationDispatcherHost;
67 class SiteInstance; 68 class SiteInstance;
68 class TestWebContents; 69 class TestWebContents;
69 class WebContentsAudioMuter; 70 class WebContentsAudioMuter;
(...skipping 1086 matching lines...) Expand 10 before | Expand all | Expand 10 after
1156 1157
1157 scoped_ptr<ColorChooserInfo> color_chooser_info_; 1158 scoped_ptr<ColorChooserInfo> color_chooser_info_;
1158 1159
1159 // Manages the embedder state for browser plugins, if this WebContents is an 1160 // Manages the embedder state for browser plugins, if this WebContents is an
1160 // embedder; NULL otherwise. 1161 // embedder; NULL otherwise.
1161 scoped_ptr<BrowserPluginEmbedder> browser_plugin_embedder_; 1162 scoped_ptr<BrowserPluginEmbedder> browser_plugin_embedder_;
1162 // Manages the guest state for browser plugin, if this WebContents is a guest; 1163 // Manages the guest state for browser plugin, if this WebContents is a guest;
1163 // NULL otherwise. 1164 // NULL otherwise.
1164 scoped_ptr<BrowserPluginGuest> browser_plugin_guest_; 1165 scoped_ptr<BrowserPluginGuest> browser_plugin_guest_;
1165 1166
1167 #if defined(ENABLE_PLUGINS)
1168 // Manages the whitelist of plugin content origins exempt from power saving.
1169 scoped_ptr<PluginContentOriginWhitelist> plugin_content_origin_whitelist_;
1170 #endif
1171
1166 // This must be at the end, or else we might get notifications and use other 1172 // This must be at the end, or else we might get notifications and use other
1167 // member variables that are gone. 1173 // member variables that are gone.
1168 NotificationRegistrar registrar_; 1174 NotificationRegistrar registrar_;
1169 1175
1170 // Used during IPC message dispatching from the RenderView/RenderFrame so that 1176 // Used during IPC message dispatching from the RenderView/RenderFrame so that
1171 // the handlers can get a pointer to the RVH through which the message was 1177 // the handlers can get a pointer to the RVH through which the message was
1172 // received. 1178 // received.
1173 RenderViewHost* render_view_message_source_; 1179 RenderViewHost* render_view_message_source_;
1174 RenderFrameHost* render_frame_message_source_; 1180 RenderFrameHost* render_frame_message_source_;
1175 1181
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
1222 scoped_ptr<WebContentsAudioMuter> audio_muter_; 1228 scoped_ptr<WebContentsAudioMuter> audio_muter_;
1223 1229
1224 base::WeakPtrFactory<WebContentsImpl> loading_weak_factory_; 1230 base::WeakPtrFactory<WebContentsImpl> loading_weak_factory_;
1225 1231
1226 DISALLOW_COPY_AND_ASSIGN(WebContentsImpl); 1232 DISALLOW_COPY_AND_ASSIGN(WebContentsImpl);
1227 }; 1233 };
1228 1234
1229 } // namespace content 1235 } // namespace content
1230 1236
1231 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ 1237 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_
OLDNEW
« no previous file with comments | « content/browser/plugin_content_origin_whitelist.cc ('k') | content/browser/web_contents/web_contents_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698