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

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

Issue 1411063007: Add mojo::StrongBindingSet and use it in GeolocationServiceContext. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
45 45
46 struct BrowserPluginHostMsg_ResizeGuest_Params; 46 struct BrowserPluginHostMsg_ResizeGuest_Params;
47 struct ViewHostMsg_DateTimeDialogValue_Params; 47 struct ViewHostMsg_DateTimeDialogValue_Params;
48 48
49 namespace content { 49 namespace content {
50 class BrowserPluginEmbedder; 50 class BrowserPluginEmbedder;
51 class BrowserPluginGuest; 51 class BrowserPluginGuest;
52 class BrowserPluginGuestManager; 52 class BrowserPluginGuestManager;
53 class DateTimeChooserAndroid; 53 class DateTimeChooserAndroid;
54 class DownloadItem; 54 class DownloadItem;
55 class GeolocationServiceContext;
56 class InterstitialPageImpl; 55 class InterstitialPageImpl;
57 class JavaScriptDialogManager; 56 class JavaScriptDialogManager;
58 class ManifestManagerHost; 57 class ManifestManagerHost;
59 class MediaWebContentsObserver; 58 class MediaWebContentsObserver;
60 class PluginContentOriginWhitelist; 59 class PluginContentOriginWhitelist;
61 class PowerSaveBlocker; 60 class PowerSaveBlocker;
62 class RenderViewHost; 61 class RenderViewHost;
63 class RenderViewHostDelegateView; 62 class RenderViewHostDelegateView;
64 class RenderWidgetHostImpl; 63 class RenderWidgetHostImpl;
65 class RenderWidgetHostInputEventRouter; 64 class RenderWidgetHostInputEventRouter;
(...skipping 359 matching lines...) Expand 10 before | Expand all | Expand 10 after
425 void UpdateEncoding(RenderFrameHost* render_frame_host, 424 void UpdateEncoding(RenderFrameHost* render_frame_host,
426 const std::string& encoding) override; 425 const std::string& encoding) override;
427 WebContents* GetAsWebContents() override; 426 WebContents* GetAsWebContents() override;
428 bool IsNeverVisible() override; 427 bool IsNeverVisible() override;
429 AccessibilityMode GetAccessibilityMode() const override; 428 AccessibilityMode GetAccessibilityMode() const override;
430 void AccessibilityEventReceived( 429 void AccessibilityEventReceived(
431 const std::vector<AXEventNotificationDetails>& details) override; 430 const std::vector<AXEventNotificationDetails>& details) override;
432 RenderFrameHost* GetGuestByInstanceID( 431 RenderFrameHost* GetGuestByInstanceID(
433 RenderFrameHost* render_frame_host, 432 RenderFrameHost* render_frame_host,
434 int browser_plugin_instance_id) override; 433 int browser_plugin_instance_id) override;
435 GeolocationServiceContext* GetGeolocationServiceContext() override;
436 WakeLockServiceContext* GetWakeLockServiceContext() override; 434 WakeLockServiceContext* GetWakeLockServiceContext() override;
437 void EnterFullscreenMode(const GURL& origin) override; 435 void EnterFullscreenMode(const GURL& origin) override;
438 void ExitFullscreenMode() override; 436 void ExitFullscreenMode() override;
439 bool ShouldRouteMessageEvent( 437 bool ShouldRouteMessageEvent(
440 RenderFrameHost* target_rfh, 438 RenderFrameHost* target_rfh,
441 SiteInstance* source_site_instance) const override; 439 SiteInstance* source_site_instance) const override;
442 void EnsureOpenerProxiesExist(RenderFrameHost* source_rfh) override; 440 void EnsureOpenerProxiesExist(RenderFrameHost* source_rfh) override;
443 #if defined(OS_WIN) 441 #if defined(OS_WIN)
444 gfx::NativeViewAccessible GetParentNativeViewAccessible() override; 442 gfx::NativeViewAccessible GetParentNativeViewAccessible() override;
445 #endif 443 #endif
(...skipping 844 matching lines...) Expand 10 before | Expand all | Expand 10 after
1290 // When a new tab is created asynchronously, stores the OpenURLParams needed 1288 // When a new tab is created asynchronously, stores the OpenURLParams needed
1291 // to continue loading the page once the tab is ready. 1289 // to continue loading the page once the tab is ready.
1292 scoped_ptr<OpenURLParams> delayed_open_url_params_; 1290 scoped_ptr<OpenURLParams> delayed_open_url_params_;
1293 1291
1294 // Whether overscroll should be unconditionally disabled. 1292 // Whether overscroll should be unconditionally disabled.
1295 bool force_disable_overscroll_content_; 1293 bool force_disable_overscroll_content_;
1296 1294
1297 // Whether the last JavaScript dialog shown was suppressed. Used for testing. 1295 // Whether the last JavaScript dialog shown was suppressed. Used for testing.
1298 bool last_dialog_suppressed_; 1296 bool last_dialog_suppressed_;
1299 1297
1300 scoped_ptr<GeolocationServiceContext> geolocation_service_context_;
1301
1302 scoped_ptr<WakeLockServiceContext> wake_lock_service_context_; 1298 scoped_ptr<WakeLockServiceContext> wake_lock_service_context_;
1303 1299
1304 scoped_ptr<ScreenOrientationDispatcherHost> 1300 scoped_ptr<ScreenOrientationDispatcherHost>
1305 screen_orientation_dispatcher_host_; 1301 screen_orientation_dispatcher_host_;
1306 1302
1307 scoped_ptr<ManifestManagerHost> manifest_manager_host_; 1303 scoped_ptr<ManifestManagerHost> manifest_manager_host_;
1308 1304
1309 // The accessibility mode for all frames. This is queried when each frame 1305 // The accessibility mode for all frames. This is queried when each frame
1310 // is created, and broadcast to all frames when it changes. 1306 // is created, and broadcast to all frames when it changes.
1311 AccessibilityMode accessibility_mode_; 1307 AccessibilityMode accessibility_mode_;
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
1347 // Adds/removes a callback called on creation of each new WebContents. 1343 // Adds/removes a callback called on creation of each new WebContents.
1348 static void AddCreatedCallbackForTesting(const CreatedCallback& callback); 1344 static void AddCreatedCallbackForTesting(const CreatedCallback& callback);
1349 static void RemoveCreatedCallbackForTesting(const CreatedCallback& callback); 1345 static void RemoveCreatedCallbackForTesting(const CreatedCallback& callback);
1350 1346
1351 DISALLOW_COPY_AND_ASSIGN(FriendZone); 1347 DISALLOW_COPY_AND_ASSIGN(FriendZone);
1352 }; 1348 };
1353 1349
1354 } // namespace content 1350 } // namespace content
1355 1351
1356 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ 1352 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698