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

Side by Side Diff: content/public/browser/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 | « content/common/view_messages.h ('k') | content/public/browser/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 CONTENT_PUBLIC_BROWSER_CONTENT_BROWSER_CLIENT_H_ 5 #ifndef CONTENT_PUBLIC_BROWSER_CONTENT_BROWSER_CLIENT_H_
6 #define CONTENT_PUBLIC_BROWSER_CONTENT_BROWSER_CLIENT_H_ 6 #define CONTENT_PUBLIC_BROWSER_CONTENT_BROWSER_CLIENT_H_
7 7
8 #include <map> 8 #include <map>
9 #include <string> 9 #include <string>
10 #include <utility> 10 #include <utility>
(...skipping 432 matching lines...) Expand 10 before | Expand all | Expand 10 after
443 virtual void CancelDesktopNotification( 443 virtual void CancelDesktopNotification(
444 int render_process_id, 444 int render_process_id,
445 int render_view_id, 445 int render_view_id,
446 int notification_id) {} 446 int notification_id) {}
447 447
448 // Returns true if the given page is allowed to open a window of the given 448 // Returns true if the given page is allowed to open a window of the given
449 // type. If true is returned, |no_javascript_access| will indicate whether 449 // type. If true is returned, |no_javascript_access| will indicate whether
450 // the window that is created should be scriptable/in the same process. 450 // the window that is created should be scriptable/in the same process.
451 // This is called on the IO thread. 451 // This is called on the IO thread.
452 virtual bool CanCreateWindow(const GURL& opener_url, 452 virtual bool CanCreateWindow(const GURL& opener_url,
453 const GURL& opener_top_level_frame_url,
453 const GURL& source_origin, 454 const GURL& source_origin,
454 WindowContainerType container_type, 455 WindowContainerType container_type,
455 const GURL& target_url, 456 const GURL& target_url,
456 const content::Referrer& referrer, 457 const content::Referrer& referrer,
457 WindowOpenDisposition disposition, 458 WindowOpenDisposition disposition,
458 const WebKit::WebWindowFeatures& features, 459 const WebKit::WebWindowFeatures& features,
459 bool user_gesture, 460 bool user_gesture,
460 bool opener_suppressed, 461 bool opener_suppressed,
461 content::ResourceContext* context, 462 content::ResourceContext* context,
462 int render_process_id, 463 int render_process_id,
(...skipping 125 matching lines...) Expand 10 before | Expand all | Expand 10 after
588 // This is called on a worker thread. 589 // This is called on a worker thread.
589 virtual 590 virtual
590 crypto::CryptoModuleBlockingPasswordDelegate* GetCryptoPasswordDelegate( 591 crypto::CryptoModuleBlockingPasswordDelegate* GetCryptoPasswordDelegate(
591 const GURL& url); 592 const GURL& url);
592 #endif 593 #endif
593 }; 594 };
594 595
595 } // namespace content 596 } // namespace content
596 597
597 #endif // CONTENT_PUBLIC_BROWSER_CONTENT_BROWSER_CLIENT_H_ 598 #endif // CONTENT_PUBLIC_BROWSER_CONTENT_BROWSER_CLIENT_H_
OLDNEW
« no previous file with comments | « content/common/view_messages.h ('k') | content/public/browser/content_browser_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698