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

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: Rebased and added contact info for override APIs. Created 7 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 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 455 matching lines...) Expand 10 before | Expand all | Expand 10 after
562 // |browser_context| is needed in the additional FileSystemBackends. 563 // |browser_context| is needed in the additional FileSystemBackends.
563 // It has mount points to create objects returned by additional 564 // It has mount points to create objects returned by additional
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.
573 // FYI: Used by an external project; please don't remove.
574 // Contact Viatcheslav Ostapenko at sl.ostapenko@samsung.com for more
575 // information.
572 virtual LocationProvider* OverrideSystemLocationProvider(); 576 virtual LocationProvider* OverrideSystemLocationProvider();
573 577
578 // Allows an embedder to return its own VibrationProvider implementation.
579 // Return NULL to use the default one for the platform to be created.
580 // FYI: Used by an external project; please don't remove.
581 // Contact Viatcheslav Ostapenko at sl.ostapenko@samsung.com for more
582 // information.
583 virtual VibrationProvider* OverrideVibrationProvider();
584
574 #if defined(OS_POSIX) && !defined(OS_MACOSX) 585 #if defined(OS_POSIX) && !defined(OS_MACOSX)
575 // Populates |mappings| with all files that need to be mapped before launching 586 // Populates |mappings| with all files that need to be mapped before launching
576 // a child process. 587 // a child process.
577 virtual void GetAdditionalMappedFilesForChildProcess( 588 virtual void GetAdditionalMappedFilesForChildProcess(
578 const CommandLine& command_line, 589 const CommandLine& command_line,
579 int child_process_id, 590 int child_process_id,
580 std::vector<FileDescriptorInfo>* mappings) {} 591 std::vector<FileDescriptorInfo>* mappings) {}
581 #endif 592 #endif
582 593
583 #if defined(OS_WIN) 594 #if defined(OS_WIN)
(...skipping 18 matching lines...) Expand all
602 // Returns true if plugin referred to by the url can use 613 // Returns true if plugin referred to by the url can use
603 // pp::FileIO::RequestOSFileHandle. 614 // pp::FileIO::RequestOSFileHandle.
604 virtual bool IsPluginAllowedToCallRequestOSFileHandle( 615 virtual bool IsPluginAllowedToCallRequestOSFileHandle(
605 content::BrowserContext* browser_context, 616 content::BrowserContext* browser_context,
606 const GURL& url); 617 const GURL& url);
607 }; 618 };
608 619
609 } // namespace content 620 } // namespace content
610 621
611 #endif // CONTENT_PUBLIC_BROWSER_CONTENT_BROWSER_CLIENT_H_ 622 #endif // CONTENT_PUBLIC_BROWSER_CONTENT_BROWSER_CLIENT_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698