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

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

Issue 2192683003: Revert of Reland: Geolocation: move from content/browser to device/ (patchset #2 id:20001 of https:… (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@2810
Patch Set: Created 4 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 (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 <functional> 10 #include <functional>
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
50 #include "ui/gfx/geometry/size.h" 50 #include "ui/gfx/geometry/size.h"
51 51
52 struct ViewHostMsg_DateTimeDialogValue_Params; 52 struct ViewHostMsg_DateTimeDialogValue_Params;
53 53
54 namespace content { 54 namespace content {
55 class BrowserPluginEmbedder; 55 class BrowserPluginEmbedder;
56 class BrowserPluginGuest; 56 class BrowserPluginGuest;
57 class DateTimeChooserAndroid; 57 class DateTimeChooserAndroid;
58 class DownloadItem; 58 class DownloadItem;
59 class FindRequestManager; 59 class FindRequestManager;
60 class GeolocationServiceContext;
60 class InterstitialPageImpl; 61 class InterstitialPageImpl;
61 class JavaScriptDialogManager; 62 class JavaScriptDialogManager;
62 class LoaderIOThreadNotifier; 63 class LoaderIOThreadNotifier;
63 class ManifestManagerHost; 64 class ManifestManagerHost;
64 class MediaWebContentsObserver; 65 class MediaWebContentsObserver;
65 class PluginContentOriginWhitelist; 66 class PluginContentOriginWhitelist;
66 class PowerSaveBlocker; 67 class PowerSaveBlocker;
67 class RenderViewHost; 68 class RenderViewHost;
68 class RenderViewHostDelegateView; 69 class RenderViewHostDelegateView;
69 class RenderWidgetHostImpl; 70 class RenderWidgetHostImpl;
(...skipping 376 matching lines...) Expand 10 before | Expand all | Expand 10 after
446 void UpdateEncoding(RenderFrameHost* render_frame_host, 447 void UpdateEncoding(RenderFrameHost* render_frame_host,
447 const std::string& encoding) override; 448 const std::string& encoding) override;
448 WebContents* GetAsWebContents() override; 449 WebContents* GetAsWebContents() override;
449 bool IsNeverVisible() override; 450 bool IsNeverVisible() override;
450 AccessibilityMode GetAccessibilityMode() const override; 451 AccessibilityMode GetAccessibilityMode() const override;
451 void AccessibilityEventReceived( 452 void AccessibilityEventReceived(
452 const std::vector<AXEventNotificationDetails>& details) override; 453 const std::vector<AXEventNotificationDetails>& details) override;
453 RenderFrameHost* GetGuestByInstanceID( 454 RenderFrameHost* GetGuestByInstanceID(
454 RenderFrameHost* render_frame_host, 455 RenderFrameHost* render_frame_host,
455 int browser_plugin_instance_id) override; 456 int browser_plugin_instance_id) override;
456 device::GeolocationServiceContext* GetGeolocationServiceContext() override; 457 GeolocationServiceContext* GetGeolocationServiceContext() override;
457 WakeLockServiceContext* GetWakeLockServiceContext() override; 458 WakeLockServiceContext* GetWakeLockServiceContext() override;
458 void EnterFullscreenMode(const GURL& origin) override; 459 void EnterFullscreenMode(const GURL& origin) override;
459 void ExitFullscreenMode(bool will_cause_resize) override; 460 void ExitFullscreenMode(bool will_cause_resize) override;
460 bool ShouldRouteMessageEvent( 461 bool ShouldRouteMessageEvent(
461 RenderFrameHost* target_rfh, 462 RenderFrameHost* target_rfh,
462 SiteInstance* source_site_instance) const override; 463 SiteInstance* source_site_instance) const override;
463 void EnsureOpenerProxiesExist(RenderFrameHost* source_rfh) override; 464 void EnsureOpenerProxiesExist(RenderFrameHost* source_rfh) override;
464 std::unique_ptr<WebUIImpl> CreateWebUIForRenderFrameHost( 465 std::unique_ptr<WebUIImpl> CreateWebUIForRenderFrameHost(
465 const GURL& url) override; 466 const GURL& url) override;
466 467
(...skipping 873 matching lines...) Expand 10 before | Expand all | Expand 10 after
1340 // When a new tab is created asynchronously, stores the OpenURLParams needed 1341 // When a new tab is created asynchronously, stores the OpenURLParams needed
1341 // to continue loading the page once the tab is ready. 1342 // to continue loading the page once the tab is ready.
1342 std::unique_ptr<OpenURLParams> delayed_open_url_params_; 1343 std::unique_ptr<OpenURLParams> delayed_open_url_params_;
1343 1344
1344 // Whether overscroll should be unconditionally disabled. 1345 // Whether overscroll should be unconditionally disabled.
1345 bool force_disable_overscroll_content_; 1346 bool force_disable_overscroll_content_;
1346 1347
1347 // Whether the last JavaScript dialog shown was suppressed. Used for testing. 1348 // Whether the last JavaScript dialog shown was suppressed. Used for testing.
1348 bool last_dialog_suppressed_; 1349 bool last_dialog_suppressed_;
1349 1350
1350 std::unique_ptr<device::GeolocationServiceContext> 1351 std::unique_ptr<GeolocationServiceContext> geolocation_service_context_;
1351 geolocation_service_context_;
1352 1352
1353 std::unique_ptr<WakeLockServiceContext> wake_lock_service_context_; 1353 std::unique_ptr<WakeLockServiceContext> wake_lock_service_context_;
1354 1354
1355 std::unique_ptr<ScreenOrientationDispatcherHost> 1355 std::unique_ptr<ScreenOrientationDispatcherHost>
1356 screen_orientation_dispatcher_host_; 1356 screen_orientation_dispatcher_host_;
1357 1357
1358 std::unique_ptr<ManifestManagerHost> manifest_manager_host_; 1358 std::unique_ptr<ManifestManagerHost> manifest_manager_host_;
1359 1359
1360 // The accessibility mode for all frames. This is queried when each frame 1360 // The accessibility mode for all frames. This is queried when each frame
1361 // is created, and broadcast to all frames when it changes. 1361 // is created, and broadcast to all frames when it changes.
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
1419 // Adds/removes a callback called on creation of each new WebContents. 1419 // Adds/removes a callback called on creation of each new WebContents.
1420 static void AddCreatedCallbackForTesting(const CreatedCallback& callback); 1420 static void AddCreatedCallbackForTesting(const CreatedCallback& callback);
1421 static void RemoveCreatedCallbackForTesting(const CreatedCallback& callback); 1421 static void RemoveCreatedCallbackForTesting(const CreatedCallback& callback);
1422 1422
1423 DISALLOW_COPY_AND_ASSIGN(FriendZone); 1423 DISALLOW_COPY_AND_ASSIGN(FriendZone);
1424 }; 1424 };
1425 1425
1426 } // namespace content 1426 } // namespace content
1427 1427
1428 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ 1428 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_
OLDNEW
« no previous file with comments | « content/browser/geolocation/wifi_polling_policy.h ('k') | content/browser/web_contents/web_contents_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698