Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(258)

Side by Side Diff: android_webview/browser/aw_content_browser_client.h

Issue 23749006: Merge 222640 "Use the top-level URL for popup blocking." (Closed) Base URL: svn://svn.chromium.org/chrome/branches/1599/src/
Patch Set: Created 7 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | android_webview/browser/aw_content_browser_client.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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_
OLDNEW
« no previous file with comments | « no previous file | android_webview/browser/aw_content_browser_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698