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

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

Issue 1542743002: [RDHI] Refactored blocked_loaders_map_ to key by render frame route id (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: nasko nit Created 4 years, 10 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 (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 <stdint.h> 8 #include <stdint.h>
9 9
10 #include <map> 10 #include <map>
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
51 struct ViewHostMsg_DateTimeDialogValue_Params; 51 struct ViewHostMsg_DateTimeDialogValue_Params;
52 52
53 namespace content { 53 namespace content {
54 class BrowserPluginEmbedder; 54 class BrowserPluginEmbedder;
55 class BrowserPluginGuest; 55 class BrowserPluginGuest;
56 class DateTimeChooserAndroid; 56 class DateTimeChooserAndroid;
57 class DownloadItem; 57 class DownloadItem;
58 class GeolocationServiceContext; 58 class GeolocationServiceContext;
59 class InterstitialPageImpl; 59 class InterstitialPageImpl;
60 class JavaScriptDialogManager; 60 class JavaScriptDialogManager;
61 class LoaderIOThreadNotifier;
61 class ManifestManagerHost; 62 class ManifestManagerHost;
62 class MediaWebContentsObserver; 63 class MediaWebContentsObserver;
63 class PluginContentOriginWhitelist; 64 class PluginContentOriginWhitelist;
64 class PowerSaveBlocker; 65 class PowerSaveBlocker;
65 class RenderViewHost; 66 class RenderViewHost;
66 class RenderViewHostDelegateView; 67 class RenderViewHostDelegateView;
67 class RenderWidgetHostImpl; 68 class RenderWidgetHostImpl;
68 class RenderWidgetHostInputEventRouter; 69 class RenderWidgetHostInputEventRouter;
69 class SavePackage; 70 class SavePackage;
70 class ScreenOrientationDispatcherHost; 71 class ScreenOrientationDispatcherHost;
(...skipping 1215 matching lines...) Expand 10 before | Expand all | Expand 10 after
1286 AccessibilityMode accessibility_mode_; 1287 AccessibilityMode accessibility_mode_;
1287 1288
1288 // Monitors power levels for audio streams associated with this WebContents. 1289 // Monitors power levels for audio streams associated with this WebContents.
1289 AudioStreamMonitor audio_stream_monitor_; 1290 AudioStreamMonitor audio_stream_monitor_;
1290 1291
1291 // Created on-demand to mute all audio output from this WebContents. 1292 // Created on-demand to mute all audio output from this WebContents.
1292 scoped_ptr<WebContentsAudioMuter> audio_muter_; 1293 scoped_ptr<WebContentsAudioMuter> audio_muter_;
1293 1294
1294 bool virtual_keyboard_requested_; 1295 bool virtual_keyboard_requested_;
1295 1296
1297 // Notifies ResourceDispatcherHostImpl of various events related to loading.
1298 scoped_ptr<LoaderIOThreadNotifier> loader_io_thread_notifier_;
1299
1296 // Manages media players, CDMs, and power save blockers for media. 1300 // Manages media players, CDMs, and power save blockers for media.
1297 scoped_ptr<MediaWebContentsObserver> media_web_contents_observer_; 1301 scoped_ptr<MediaWebContentsObserver> media_web_contents_observer_;
1298 1302
1299 scoped_ptr<RenderWidgetHostInputEventRouter> rwh_input_event_router_; 1303 scoped_ptr<RenderWidgetHostInputEventRouter> rwh_input_event_router_;
1300 1304
1301 PageImportanceSignals page_importance_signals_; 1305 PageImportanceSignals page_importance_signals_;
1302 1306
1303 bool page_scale_factor_is_one_; 1307 bool page_scale_factor_is_one_;
1304 1308
1305 base::WeakPtrFactory<WebContentsImpl> loading_weak_factory_; 1309 base::WeakPtrFactory<WebContentsImpl> loading_weak_factory_;
(...skipping 14 matching lines...) Expand all
1320 // Adds/removes a callback called on creation of each new WebContents. 1324 // Adds/removes a callback called on creation of each new WebContents.
1321 static void AddCreatedCallbackForTesting(const CreatedCallback& callback); 1325 static void AddCreatedCallbackForTesting(const CreatedCallback& callback);
1322 static void RemoveCreatedCallbackForTesting(const CreatedCallback& callback); 1326 static void RemoveCreatedCallbackForTesting(const CreatedCallback& callback);
1323 1327
1324 DISALLOW_COPY_AND_ASSIGN(FriendZone); 1328 DISALLOW_COPY_AND_ASSIGN(FriendZone);
1325 }; 1329 };
1326 1330
1327 } // namespace content 1331 } // namespace content
1328 1332
1329 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ 1333 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698