[email protected] | de7d61ff | 2013-08-20 11:30:41 | [diff] [blame] | 1 | // Copyright 2013 The Chromium Authors. All rights reserved. |
[email protected] | 5629e0c | 2011-09-12 22:07:36 | [diff] [blame] | 2 | // Use of this source code is governed by a BSD-style license that can be |
3 | // found in the LICENSE file. | ||||
4 | |||||
[email protected] | de7d61ff | 2013-08-20 11:30:41 | [diff] [blame] | 5 | #ifndef CONTENT_SHELL_BROWSER_SHELL_CONTENT_BROWSER_CLIENT_H_ |
6 | #define CONTENT_SHELL_BROWSER_SHELL_CONTENT_BROWSER_CLIENT_H_ | ||||
[email protected] | 5629e0c | 2011-09-12 22:07:36 | [diff] [blame] | 7 | |
dcheng | 6003e0b | 2016-04-09 18:42:34 | [diff] [blame] | 8 | #include <memory> |
[email protected] | 5629e0c | 2011-09-12 22:07:36 | [diff] [blame] | 9 | #include <string> |
10 | |||||
Jun Cai | bc561f41 | 2018-02-28 18:41:39 | [diff] [blame] | 11 | #include "base/callback.h" |
[email protected] | 5629e0c | 2011-09-12 22:07:36 | [diff] [blame] | 12 | #include "base/compiler_specific.h" |
[email protected] | 5799981 | 2013-02-24 05:40:52 | [diff] [blame] | 13 | #include "base/files/file_path.h" |
avi | 66a0772 | 2015-12-25 23:38:12 | [diff] [blame] | 14 | #include "build/build_config.h" |
[email protected] | 87f3c08 | 2011-10-19 18:07:44 | [diff] [blame] | 15 | #include "content/public/browser/content_browser_client.h" |
[email protected] | 9896c55 | 2013-08-29 19:03:20 | [diff] [blame] | 16 | #include "content/shell/browser/shell_speech_recognition_manager_delegate.h" |
Ben Goodger | 6a695c01 | 2017-06-20 20:21:20 | [diff] [blame] | 17 | #include "services/service_manager/public/cpp/binder_registry.h" |
[email protected] | 5629e0c | 2011-09-12 22:07:36 | [diff] [blame] | 18 | |
19 | namespace content { | ||||
20 | |||||
Jun Cai | bc561f41 | 2018-02-28 18:41:39 | [diff] [blame] | 21 | class ResourceDispatcherHostDelegate; |
[email protected] | 147f809 | 2012-03-21 11:47:45 | [diff] [blame] | 22 | class ShellBrowserContext; |
[email protected] | b0f146f | 2011-09-15 22:14:25 | [diff] [blame] | 23 | class ShellBrowserMainParts; |
24 | |||||
Yutaka Hirano | 968d625 | 2018-12-04 05:09:31 | [diff] [blame] | 25 | std::string GetShellUserAgent(); |
Mike West | 6e4cbb3 | 2019-02-13 09:40:17 | [diff] [blame] | 26 | blink::UserAgentMetadata GetShellUserAgentMetadata(); |
Yutaka Hirano | 968d625 | 2018-12-04 05:09:31 | [diff] [blame] | 27 | |
[email protected] | 7f550087 | 2013-11-12 20:03:54 | [diff] [blame] | 28 | class ShellContentBrowserClient : public ContentBrowserClient { |
[email protected] | 5629e0c | 2011-09-12 22:07:36 | [diff] [blame] | 29 | public: |
[email protected] | eabbfb1 | 2013-04-05 23:28:35 | [diff] [blame] | 30 | // Gets the current instance. |
31 | static ShellContentBrowserClient* Get(); | ||||
32 | |||||
[email protected] | b0f146f | 2011-09-15 22:14:25 | [diff] [blame] | 33 | ShellContentBrowserClient(); |
dcheng | e933b3e | 2014-10-21 11:44:09 | [diff] [ |