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

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

Issue 23496051: Make VibrationMessageFilter available to other platforms. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed clang compile issues and updated by review comments. Created 7 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_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 76 matching lines...) Expand 10 before | Expand all | Expand 10 after
87 class BrowserURLHandler; 87 class BrowserURLHandler;
88 class LocationProvider; 88 class LocationProvider;
89 class MediaObserver; 89 class MediaObserver;
90 class QuotaPermissionContext; 90 class QuotaPermissionContext;
91 class RenderProcessHost; 91 class RenderProcessHost;
92 class RenderViewHost; 92 class RenderViewHost;
93 class RenderViewHostDelegateView; 93 class RenderViewHostDelegateView;
94 class ResourceContext; 94 class ResourceContext;
95 class SiteInstance; 95 class SiteInstance;
96 class SpeechRecognitionManagerDelegate; 96 class SpeechRecognitionManagerDelegate;
97 class VibrationProvider;
97 class WebContents; 98 class WebContents;
98 class WebContentsViewDelegate; 99 class WebContentsViewDelegate;
99 class WebContentsViewPort; 100 class WebContentsViewPort;
100 struct MainFunctionParams; 101 struct MainFunctionParams;
101 struct Referrer; 102 struct Referrer;
102 struct ShowDesktopNotificationHostMsgParams; 103 struct ShowDesktopNotificationHostMsgParams;
103 104
104 // A mapping from the scheme name to the protocol handler that services its 105 // A mapping from the scheme name to the protocol handler that services its
105 // content. 106 // content.
106 typedef std::map< 107 typedef std::map<
(...skipping 457 matching lines...) Expand 10 before | Expand all | Expand 10 after
564 // FileSystemBackends, and SpecialStoragePolicy for permission granting. 565 // FileSystemBackends, and SpecialStoragePolicy for permission granting.
565 virtual void GetAdditionalFileSystemBackends( 566 virtual void GetAdditionalFileSystemBackends(
566 BrowserContext* browser_context, 567 BrowserContext* browser_context,
567 const base::FilePath& storage_partition_path, 568 const base::FilePath& storage_partition_path,
568 ScopedVector<fileapi::FileSystemBackend>* additional_backends) {} 569 ScopedVector<fileapi::FileSystemBackend>* additional_backends) {}
569 570
570 // Allows an embedder to return its own LocationProvider implementation. 571 // Allows an embedder to return its own LocationProvider implementation.
571 // Return NULL to use the default one for the platform to be created. 572 // Return NULL to use the default one for the platform to be created.
572 virtual LocationProvider* OverrideSystemLocationProvider(); 573 virtual LocationProvider* OverrideSystemLocationProvider();
573 574
575 // Allows an embedder to return its own VibrationProvider implementation.
576 // Return NULL to use the default one for the platform to be created.
577 virtual VibrationProvider* OverrideVibrationProvider();
Avi (use Gerrit) 2013/11/18 18:56:31 What's the rationale here? Are we expecting the em
ostap 2013/11/18 21:47:18 Yes, it adds possibility to override vibration pro
Avi (use Gerrit) 2013/11/18 21:49:49 That wasn't my question. Yes, it offers the possib
578
574 #if defined(OS_POSIX) && !defined(OS_MACOSX) 579 #if defined(OS_POSIX) && !defined(OS_MACOSX)
575 // Populates |mappings| with all files that need to be mapped before launching 580 // Populates |mappings| with all files that need to be mapped before launching
576 // a child process. 581 // a child process.
577 virtual void GetAdditionalMappedFilesForChildProcess( 582 virtual void GetAdditionalMappedFilesForChildProcess(
578 const CommandLine& command_line, 583 const CommandLine& command_line,
579 int child_process_id, 584 int child_process_id,
580 std::vector<FileDescriptorInfo>* mappings) {} 585 std::vector<FileDescriptorInfo>* mappings) {}
581 #endif 586 #endif
582 587
583 #if defined(OS_WIN) 588 #if defined(OS_WIN)
(...skipping 18 matching lines...) Expand all
602 // Returns true if plugin referred to by the url can use 607 // Returns true if plugin referred to by the url can use
603 // pp::FileIO::RequestOSFileHandle. 608 // pp::FileIO::RequestOSFileHandle.
604 virtual bool IsPluginAllowedToCallRequestOSFileHandle( 609 virtual bool IsPluginAllowedToCallRequestOSFileHandle(
605 content::BrowserContext* browser_context, 610 content::BrowserContext* browser_context,
606 const GURL& url); 611 const GURL& url);
607 }; 612 };
608 613
609 } // namespace content 614 } // namespace content
610 615
611 #endif // CONTENT_PUBLIC_BROWSER_CONTENT_BROWSER_CLIENT_H_ 616 #endif // CONTENT_PUBLIC_BROWSER_CONTENT_BROWSER_CLIENT_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698