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

Side by Side Diff: chrome/browser/chrome_content_browser_client.h

Issue 23868017: Use the top-level URL for popup blocking. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/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
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 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 178 matching lines...) Expand 10 before | Expand all | Expand 10 after
189 virtual void ShowDesktopNotification( 189 virtual void ShowDesktopNotification(
190 const content::ShowDesktopNotificationHostMsgParams& params, 190 const content::ShowDesktopNotificationHostMsgParams& params,
191 int render_process_id, 191 int render_process_id,
192 int render_view_id, 192 int render_view_id,
193 bool worker) OVERRIDE; 193 bool worker) OVERRIDE;
194 virtual void CancelDesktopNotification( 194 virtual void CancelDesktopNotification(
195 int render_process_id, 195 int render_process_id,
196 int render_view_id, 196 int render_view_id,
197 int notification_id) OVERRIDE; 197 int notification_id) OVERRIDE;
198 virtual bool CanCreateWindow(const GURL& opener_url, 198 virtual bool CanCreateWindow(const GURL& opener_url,
199 const GURL& opener_top_level_frame_url,
199 const GURL& source_origin, 200 const GURL& source_origin,
200 WindowContainerType container_type, 201 WindowContainerType container_type,
201 const GURL& target_url, 202 const GURL& target_url,
202 const content::Referrer& referrer, 203 const content::Referrer& referrer,
203 WindowOpenDisposition disposition, 204 WindowOpenDisposition disposition,
204 const WebKit::WebWindowFeatures& features, 205 const WebKit::WebWindowFeatures& features,
205 bool user_gesture, 206 bool user_gesture,
206 bool opener_suppressed, 207 bool opener_suppressed,
207 content::ResourceContext* context, 208 content::ResourceContext* context,
208 int render_process_id, 209 int render_process_id,
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after
273 #endif 274 #endif
274 scoped_ptr<extensions::BrowserPermissionsPolicyDelegate> 275 scoped_ptr<extensions::BrowserPermissionsPolicyDelegate>
275 permissions_policy_delegate_; 276 permissions_policy_delegate_;
276 277
277 DISALLOW_COPY_AND_ASSIGN(ChromeContentBrowserClient); 278 DISALLOW_COPY_AND_ASSIGN(ChromeContentBrowserClient);
278 }; 279 };
279 280
280 } // namespace chrome 281 } // namespace chrome
281 282
282 #endif // CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ 283 #endif // CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698