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

Side by Side Diff: content/public/browser/content_browser_client.h

Issue 583663003: Vibration API : migrate to device/vibration using mojo. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase and clean-up Created 6 years 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_PUBLIC_BROWSER_CONTENT_BROWSER_CLIENT_H_ 5 #ifndef CONTENT_PUBLIC_BROWSER_CONTENT_BROWSER_CLIENT_H_
6 #define CONTENT_PUBLIC_BROWSER_CONTENT_BROWSER_CLIENT_H_ 6 #define CONTENT_PUBLIC_BROWSER_CONTENT_BROWSER_CLIENT_H_
7 7
8 #include <map> 8 #include <map>
9 #include <string> 9 #include <string>
10 #include <utility> 10 #include <utility>
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after
94 class ExternalVideoSurfaceContainer; 94 class ExternalVideoSurfaceContainer;
95 class LocationProvider; 95 class LocationProvider;
96 class MediaObserver; 96 class MediaObserver;
97 class QuotaPermissionContext; 97 class QuotaPermissionContext;
98 class RenderFrameHost; 98 class RenderFrameHost;
99 class RenderProcessHost; 99 class RenderProcessHost;
100 class RenderViewHost; 100 class RenderViewHost;
101 class ResourceContext; 101 class ResourceContext;
102 class SiteInstance; 102 class SiteInstance;
103 class SpeechRecognitionManagerDelegate; 103 class SpeechRecognitionManagerDelegate;
104 class VibrationProvider;
105 class WebContents; 104 class WebContents;
106 class WebContentsViewDelegate; 105 class WebContentsViewDelegate;
107 struct MainFunctionParams; 106 struct MainFunctionParams;
108 struct Referrer; 107 struct Referrer;
109 struct ShowDesktopNotificationHostMsgParams; 108 struct ShowDesktopNotificationHostMsgParams;
110 struct WebPreferences; 109 struct WebPreferences;
111 110
112 // A mapping from the scheme name to the protocol handler that services its 111 // A mapping from the scheme name to the protocol handler that services its
113 // content. 112 // content.
114 typedef std::map< 113 typedef std::map<
(...skipping 442 matching lines...) Expand 10 before | Expand all | Expand 10 after
557 const base::FilePath& storage_partition_path, 556 const base::FilePath& storage_partition_path,
558 ScopedVector<storage::FileSystemBackend>* additional_backends) {} 557 ScopedVector<storage::FileSystemBackend>* additional_backends) {}
559 558
560 // Allows an embedder to return its own LocationProvider implementation. 559 // Allows an embedder to return its own LocationProvider implementation.
561 // Return NULL to use the default one for the platform to be created. 560 // Return NULL to use the default one for the platform to be created.
562 // FYI: Used by an external project; please don't remove. 561 // FYI: Used by an external project; please don't remove.
563 // Contact Viatcheslav Ostapenko at sl.ostapenko@samsung.com for more 562 // Contact Viatcheslav Ostapenko at sl.ostapenko@samsung.com for more
564 // information. 563 // information.
565 virtual LocationProvider* OverrideSystemLocationProvider(); 564 virtual LocationProvider* OverrideSystemLocationProvider();
566 565
567 // Allows an embedder to return its own VibrationProvider implementation.
568 // Return NULL to use the default one for the platform to be created.
569 // FYI: Used by an external project; please don't remove.
ppi 2014/12/01 12:03:55 What's up with that - have we reached out to Viatc
timvolodine 2014/12/01 12:11:42 yes I have communicated with Viatcheslav about thi
ppi 2014/12/01 12:25:13 Sounds good. I will put together a standalone CL f
570 // Contact Viatcheslav Ostapenko at sl.ostapenko@samsung.com for more
571 // information.
572 virtual VibrationProvider* OverrideVibrationProvider();
573
574 // Creates a new DevToolsManagerDelegate. The caller owns the returned value. 566 // Creates a new DevToolsManagerDelegate. The caller owns the returned value.
575 // It's valid to return NULL. 567 // It's valid to return NULL.
576 virtual DevToolsManagerDelegate* GetDevToolsManagerDelegate(); 568 virtual DevToolsManagerDelegate* GetDevToolsManagerDelegate();
577 569
578 // Returns true if plugin referred to by the url can use 570 // Returns true if plugin referred to by the url can use
579 // pp::FileIO::RequestOSFileHandle. 571 // pp::FileIO::RequestOSFileHandle.
580 virtual bool IsPluginAllowedToCallRequestOSFileHandle( 572 virtual bool IsPluginAllowedToCallRequestOSFileHandle(
581 BrowserContext* browser_context, 573 BrowserContext* browser_context,
582 const GURL& url); 574 const GURL& url);
583 575
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
623 // camera. Note that this does not query the user. |type| must be 615 // camera. Note that this does not query the user. |type| must be
624 // MEDIA_DEVICE_AUDIO_CAPTURE or MEDIA_DEVICE_VIDEO_CAPTURE. 616 // MEDIA_DEVICE_AUDIO_CAPTURE or MEDIA_DEVICE_VIDEO_CAPTURE.
625 virtual bool CheckMediaAccessPermission(BrowserContext* browser_context, 617 virtual bool CheckMediaAccessPermission(BrowserContext* browser_context,
626 const GURL& security_origin, 618 const GURL& security_origin,
627 MediaStreamType type); 619 MediaStreamType type);
628 }; 620 };
629 621
630 } // namespace content 622 } // namespace content
631 623
632 #endif // CONTENT_PUBLIC_BROWSER_CONTENT_BROWSER_CLIENT_H_ 624 #endif // CONTENT_PUBLIC_BROWSER_CONTENT_BROWSER_CLIENT_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698