| Index: chrome/browser/chromeos/login/ui/login_web_dialog.cc
|
| diff --git a/chrome/browser/chromeos/login/ui/login_web_dialog.cc b/chrome/browser/chromeos/login/ui/login_web_dialog.cc
|
| index 4aac5afc723c38098500f5d955bc740a6499becc..698e0c5f1122b63f5ee28b405a4d6a2388fbc01e 100644
|
| --- a/chrome/browser/chromeos/login/ui/login_web_dialog.cc
|
| +++ b/chrome/browser/chromeos/login/ui/login_web_dialog.cc
|
| @@ -10,6 +10,7 @@
|
| #include "base/strings/utf_string_conversions.h"
|
| #include "chrome/browser/chromeos/login/helper.h"
|
| #include "chrome/browser/ui/browser_dialogs.h"
|
| +#include "chrome/browser/ui/browser_finder.h"
|
| #include "content/public/browser/browser_context.h"
|
| #include "content/public/browser/notification_source.h"
|
| #include "content/public/browser/notification_types.h"
|
| @@ -157,6 +158,25 @@ bool LoginWebDialog::HandleContextMenu(
|
| return true;
|
| }
|
|
|
| +bool LoginWebDialog::HandleOpenURLFromTab(
|
| + content::WebContents* source,
|
| + const content::OpenURLParams& params,
|
| + content::WebContents** out_new_contents) {
|
| + return (source && !chrome::FindBrowserWithWebContents(source));
|
| +}
|
| +
|
| +bool LoginWebDialog::HandleShouldCreateWebContents(
|
| + content::WebContents* web_contents,
|
| + int route_id,
|
| + int main_frame_route_id,
|
| + WindowContainerType window_container_type,
|
| + const base::string16& frame_name,
|
| + const GURL& target_url,
|
| + const std::string& partition_id,
|
| + content::SessionStorageNamespace* session_storage_namespace) {
|
| + return false;
|
| +}
|
| +
|
| void LoginWebDialog::Observe(int type,
|
| const content::NotificationSource& source,
|
| const content::NotificationDetails& details) {
|
|
|