| Index: chrome/browser/ui/browser.cc
|
| ===================================================================
|
| --- chrome/browser/ui/browser.cc (revision 153532)
|
| +++ chrome/browser/ui/browser.cc (working copy)
|
| @@ -1300,13 +1300,13 @@
|
| command_controller_->TabStateChanged();
|
| }
|
|
|
| -void Browser::AddNewContents(WebContents* source,
|
| +bool Browser::AddNewContents(WebContents* source,
|
| WebContents* new_contents,
|
| WindowOpenDisposition disposition,
|
| const gfx::Rect& initial_pos,
|
| bool user_gesture) {
|
| - chrome::AddWebContents(this, source, new_contents, disposition, initial_pos,
|
| - user_gesture);
|
| + return chrome::AddWebContents(
|
| + this, source, new_contents, disposition, initial_pos, user_gesture);
|
| }
|
|
|
| void Browser::ActivateContents(WebContents* contents) {
|
| @@ -1507,7 +1507,7 @@
|
| return true;
|
| }
|
|
|
| -void Browser::WebContentsCreated(WebContents* source_contents,
|
| +bool Browser::WebContentsCreated(WebContents* source_contents,
|
| int64 source_frame_id,
|
| const GURL& target_url,
|
| WebContents* new_contents) {
|
| @@ -1529,6 +1529,8 @@
|
| chrome::NOTIFICATION_RETARGETING,
|
| content::Source<Profile>(profile_),
|
| content::Details<RetargetingDetails>(&details));
|
| +
|
| + return true;
|
| }
|
|
|
| void Browser::ContentRestrictionsChanged(WebContents* source) {
|
|
|