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 CONTENT_SHELL_SHELL_CONTENT_BROWSER_CLIENT_H_ | 5 #ifndef CONTENT_SHELL_SHELL_CONTENT_BROWSER_CLIENT_H_ |
6 #define CONTENT_SHELL_SHELL_CONTENT_BROWSER_CLIENT_H_ | 6 #define CONTENT_SHELL_SHELL_CONTENT_BROWSER_CLIENT_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include <string> | 9 #include <string> |
10 | 10 |
(...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
107 const GURL& source_origin, | 107 const GURL& source_origin, |
108 int callback_context, | 108 int callback_context, |
109 int render_process_id, | 109 int render_process_id, |
110 int render_view_id) OVERRIDE; | 110 int render_view_id) OVERRIDE; |
111 virtual WebKit::WebNotificationPresenter::Permission | 111 virtual WebKit::WebNotificationPresenter::Permission |
112 CheckDesktopNotificationPermission( | 112 CheckDesktopNotificationPermission( |
113 const GURL& origin, | 113 const GURL& origin, |
114 const content::ResourceContext& context, | 114 const content::ResourceContext& context, |
115 int render_process_id) OVERRIDE; | 115 int render_process_id) OVERRIDE; |
116 virtual void ShowDesktopNotification( | 116 virtual void ShowDesktopNotification( |
117 const DesktopNotificationHostMsg_Show_Params& params, | 117 const content::ShowDesktopNotificationHostMsgParams& params, |
118 int render_process_id, | 118 int render_process_id, |
119 int render_view_id, | 119 int render_view_id, |
120 bool worker) OVERRIDE; | 120 bool worker) OVERRIDE; |
121 virtual void CancelDesktopNotification( | 121 virtual void CancelDesktopNotification( |
122 int render_process_id, | 122 int render_process_id, |
123 int render_view_id, | 123 int render_view_id, |
124 int notification_id) OVERRIDE; | 124 int notification_id) OVERRIDE; |
125 virtual bool CanCreateWindow( | 125 virtual bool CanCreateWindow( |
126 const GURL& origin, | 126 const GURL& origin, |
127 WindowContainerType container_type, | 127 WindowContainerType container_type, |
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
170 const ViewHostMsg_CreateWindow_Params& params) OVERRIDE; | 170 const ViewHostMsg_CreateWindow_Params& params) OVERRIDE; |
171 #endif | 171 #endif |
172 | 172 |
173 private: | 173 private: |
174 ShellBrowserMainParts* shell_browser_main_parts_; | 174 ShellBrowserMainParts* shell_browser_main_parts_; |
175 }; | 175 }; |
176 | 176 |
177 } // namespace content | 177 } // namespace content |
178 | 178 |
179 #endif // CONTENT_SHELL_SHELL_CONTENT_BROWSER_CLIENT_H_ | 179 #endif // CONTENT_SHELL_SHELL_CONTENT_BROWSER_CLIENT_H_ |
OLD | NEW |