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 239 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
250 ScopedVector<storage::FileSystemBackend>* additional_backends) override; | 250 ScopedVector<storage::FileSystemBackend>* additional_backends) override; |
251 content::DevToolsManagerDelegate* GetDevToolsManagerDelegate() override; | 251 content::DevToolsManagerDelegate* GetDevToolsManagerDelegate() override; |
252 bool IsPluginAllowedToCallRequestOSFileHandle( | 252 bool IsPluginAllowedToCallRequestOSFileHandle( |
253 content::BrowserContext* browser_context, | 253 content::BrowserContext* browser_context, |
254 const GURL& url) override; | 254 const GURL& url) override; |
255 bool IsPluginAllowedToUseDevChannelAPIs( | 255 bool IsPluginAllowedToUseDevChannelAPIs( |
256 content::BrowserContext* browser_context, | 256 content::BrowserContext* browser_context, |
257 const GURL& url) override; | 257 const GURL& url) override; |
258 net::CookieStore* OverrideCookieStoreForRenderProcess( | 258 net::CookieStore* OverrideCookieStoreForRenderProcess( |
259 int render_process_id) override; | 259 int render_process_id) override; |
| 260 void OverridePageVisibilityState( |
| 261 content::RenderFrameHost* render_frame_host, |
| 262 blink::WebPageVisibilityState* visibility_state) override; |
260 | 263 |
261 #if defined(OS_POSIX) && !defined(OS_MACOSX) | 264 #if defined(OS_POSIX) && !defined(OS_MACOSX) |
262 void GetAdditionalMappedFilesForChildProcess( | 265 void GetAdditionalMappedFilesForChildProcess( |
263 const base::CommandLine& command_line, | 266 const base::CommandLine& command_line, |
264 int child_process_id, | 267 int child_process_id, |
265 content::FileDescriptorInfo* mappings) override; | 268 content::FileDescriptorInfo* mappings) override; |
266 #endif | 269 #endif |
267 #if defined(OS_WIN) | 270 #if defined(OS_WIN) |
268 virtual const wchar_t* GetResourceDllName() override; | 271 virtual const wchar_t* GetResourceDllName() override; |
269 virtual void PreSpawnRenderer(sandbox::TargetPolicy* policy, | 272 virtual void PreSpawnRenderer(sandbox::TargetPolicy* policy, |
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
328 std::vector<ChromeContentBrowserClientParts*> extra_parts_; | 331 std::vector<ChromeContentBrowserClientParts*> extra_parts_; |
329 | 332 |
330 base::WeakPtrFactory<ChromeContentBrowserClient> weak_factory_; | 333 base::WeakPtrFactory<ChromeContentBrowserClient> weak_factory_; |
331 | 334 |
332 DISALLOW_COPY_AND_ASSIGN(ChromeContentBrowserClient); | 335 DISALLOW_COPY_AND_ASSIGN(ChromeContentBrowserClient); |
333 }; | 336 }; |
334 | 337 |
335 } // namespace chrome | 338 } // namespace chrome |
336 | 339 |
337 #endif // CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ | 340 #endif // CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ |
OLD | NEW |