| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include "base/compiler_specific.h" | 9 #include "base/compiler_specific.h" |
| 10 #include "content/browser/content_browser_client.h" | 10 #include "content/browser/content_browser_client.h" |
| (...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 70 const content::ResourceContext& context) OVERRIDE; | 70 const content::ResourceContext& context) OVERRIDE; |
| 71 virtual void ShowDesktopNotification( | 71 virtual void ShowDesktopNotification( |
| 72 const DesktopNotificationHostMsg_Show_Params& params, | 72 const DesktopNotificationHostMsg_Show_Params& params, |
| 73 int render_process_id, | 73 int render_process_id, |
| 74 int render_view_id, | 74 int render_view_id, |
| 75 bool worker) OVERRIDE; | 75 bool worker) OVERRIDE; |
| 76 virtual void CancelDesktopNotification( | 76 virtual void CancelDesktopNotification( |
| 77 int render_process_id, | 77 int render_process_id, |
| 78 int render_view_id, | 78 int render_view_id, |
| 79 int notification_id) OVERRIDE; | 79 int notification_id) OVERRIDE; |
| 80 virtual bool CanCreateWindow( |
| 81 const GURL& source_url, |
| 82 WindowContainerType container_type, |
| 83 const content::ResourceContext& context) OVERRIDE; |
| 84 virtual std::string GetWorkerProcessTitle( |
| 85 const GURL& url, const content::ResourceContext& context) OVERRIDE; |
| 80 #if defined(OS_POSIX) && !defined(OS_MACOSX) | 86 #if defined(OS_POSIX) && !defined(OS_MACOSX) |
| 81 // Can return an optional fd for crash handling, otherwise returns -1. | 87 // Can return an optional fd for crash handling, otherwise returns -1. |
| 82 virtual int GetCrashSignalFD(const std::string& process_type) OVERRIDE; | 88 virtual int GetCrashSignalFD(const std::string& process_type) OVERRIDE; |
| 83 #endif | 89 #endif |
| 84 }; | 90 }; |
| 85 | 91 |
| 86 } // namespace chrome | 92 } // namespace chrome |
| 87 | 93 |
| 88 #endif // CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ | 94 #endif // CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ |
| OLD | NEW |