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 ANDROID_WEBVIEW_LIB_AW_CONTENT_BROWSER_CLIENT_H_ | 5 #ifndef ANDROID_WEBVIEW_LIB_AW_CONTENT_BROWSER_CLIENT_H_ |
6 #define ANDROID_WEBVIEW_LIB_AW_CONTENT_BROWSER_CLIENT_H_ | 6 #define ANDROID_WEBVIEW_LIB_AW_CONTENT_BROWSER_CLIENT_H_ |
7 | 7 |
8 #include "base/basictypes.h" | 8 #include "base/basictypes.h" |
9 #include "base/compiler_specific.h" | 9 #include "base/compiler_specific.h" |
10 #include "base/memory/scoped_ptr.h" | 10 #include "base/memory/scoped_ptr.h" |
(...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
108 virtual void ShowDesktopNotification( | 108 virtual void ShowDesktopNotification( |
109 const content::ShowDesktopNotificationHostMsgParams& params, | 109 const content::ShowDesktopNotificationHostMsgParams& params, |
110 int render_process_id, | 110 int render_process_id, |
111 int render_view_id, | 111 int render_view_id, |
112 bool worker) OVERRIDE; | 112 bool worker) OVERRIDE; |
113 virtual void CancelDesktopNotification( | 113 virtual void CancelDesktopNotification( |
114 int render_process_id, | 114 int render_process_id, |
115 int render_view_id, | 115 int render_view_id, |
116 int notification_id) OVERRIDE; | 116 int notification_id) OVERRIDE; |
117 virtual bool CanCreateWindow(const GURL& opener_url, | 117 virtual bool CanCreateWindow(const GURL& opener_url, |
| 118 const GURL& opener_top_level_frame_url, |
118 const GURL& source_origin, | 119 const GURL& source_origin, |
119 WindowContainerType container_type, | 120 WindowContainerType container_type, |
120 const GURL& target_url, | 121 const GURL& target_url, |
121 const content::Referrer& referrer, | 122 const content::Referrer& referrer, |
122 WindowOpenDisposition disposition, | 123 WindowOpenDisposition disposition, |
123 const WebKit::WebWindowFeatures& features, | 124 const WebKit::WebWindowFeatures& features, |
124 bool user_gesture, | 125 bool user_gesture, |
125 bool opener_suppressed, | 126 bool opener_suppressed, |
126 content::ResourceContext* context, | 127 content::ResourceContext* context, |
127 int render_process_id, | 128 int render_process_id, |
(...skipping 28 matching lines...) Expand all Loading... |
156 scoped_ptr<AwBrowserContext> browser_context_; | 157 scoped_ptr<AwBrowserContext> browser_context_; |
157 | 158 |
158 JniDependencyFactory* native_factory_; | 159 JniDependencyFactory* native_factory_; |
159 | 160 |
160 DISALLOW_COPY_AND_ASSIGN(AwContentBrowserClient); | 161 DISALLOW_COPY_AND_ASSIGN(AwContentBrowserClient); |
161 }; | 162 }; |
162 | 163 |
163 } // namespace android_webview | 164 } // namespace android_webview |
164 | 165 |
165 #endif // ANDROID_WEBVIEW_LIB_AW_CONTENT_BROWSER_CLIENT_H_ | 166 #endif // ANDROID_WEBVIEW_LIB_AW_CONTENT_BROWSER_CLIENT_H_ |
OLD | NEW |