OLD | NEW |
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 CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ | 5 #ifndef CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ |
6 #define CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ | 6 #define CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ |
7 | 7 |
8 #include <set> | 8 #include <set> |
9 #include <string> | 9 #include <string> |
10 #include <utility> | 10 #include <utility> |
(...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
100 virtual void SiteInstanceDeleting(content::SiteInstance* site_instance) | 100 virtual void SiteInstanceDeleting(content::SiteInstance* site_instance) |
101 OVERRIDE; | 101 OVERRIDE; |
102 virtual bool ShouldSwapProcessesForNavigation( | 102 virtual bool ShouldSwapProcessesForNavigation( |
103 content::SiteInstance* site_instance, | 103 content::SiteInstance* site_instance, |
104 const GURL& current_url, | 104 const GURL& current_url, |
105 const GURL& new_url) OVERRIDE; | 105 const GURL& new_url) OVERRIDE; |
106 virtual bool ShouldSwapProcessesForRedirect( | 106 virtual bool ShouldSwapProcessesForRedirect( |
107 content::ResourceContext* resource_context, | 107 content::ResourceContext* resource_context, |
108 const GURL& current_url, | 108 const GURL& current_url, |
109 const GURL& new_url) OVERRIDE; | 109 const GURL& new_url) OVERRIDE; |
| 110 virtual void BrowserPluginGuestCreated( |
| 111 content::BrowserPluginGuest* guest) OVERRIDE; |
110 virtual std::string GetCanonicalEncodingNameByAliasName( | 112 virtual std::string GetCanonicalEncodingNameByAliasName( |
111 const std::string& alias_name) OVERRIDE; | 113 const std::string& alias_name) OVERRIDE; |
112 virtual void AppendExtraCommandLineSwitches(CommandLine* command_line, | 114 virtual void AppendExtraCommandLineSwitches(CommandLine* command_line, |
113 int child_process_id) OVERRIDE; | 115 int child_process_id) OVERRIDE; |
114 virtual std::string GetApplicationLocale() OVERRIDE; | 116 virtual std::string GetApplicationLocale() OVERRIDE; |
115 virtual std::string GetAcceptLangs( | 117 virtual std::string GetAcceptLangs( |
116 content::BrowserContext* context) OVERRIDE; | 118 content::BrowserContext* context) OVERRIDE; |
117 virtual gfx::ImageSkia* GetDefaultFavicon() OVERRIDE; | 119 virtual gfx::ImageSkia* GetDefaultFavicon() OVERRIDE; |
118 virtual bool AllowAppCache(const GURL& manifest_url, | 120 virtual bool AllowAppCache(const GURL& manifest_url, |
119 const GURL& first_party, | 121 const GURL& first_party, |
(...skipping 145 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
265 // Cached version of the locale so we can return the locale on the I/O | 267 // Cached version of the locale so we can return the locale on the I/O |
266 // thread. | 268 // thread. |
267 std::string io_thread_application_locale_; | 269 std::string io_thread_application_locale_; |
268 | 270 |
269 DISALLOW_COPY_AND_ASSIGN(ChromeContentBrowserClient); | 271 DISALLOW_COPY_AND_ASSIGN(ChromeContentBrowserClient); |
270 }; | 272 }; |
271 | 273 |
272 } // namespace chrome | 274 } // namespace chrome |
273 | 275 |
274 #endif // CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ | 276 #endif // CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ |
OLD | NEW |