| Index: chrome/browser/ui/views/profiles/profile_chooser_view.cc
|
| diff --git a/chrome/browser/ui/views/profiles/profile_chooser_view.cc b/chrome/browser/ui/views/profiles/profile_chooser_view.cc
|
| index f96693ef0633220df8787f240958ffd116a2fc7f..e5f0c3682b97ed9606104a103ed32d6411f75a10 100644
|
| --- a/chrome/browser/ui/views/profiles/profile_chooser_view.cc
|
| +++ b/chrome/browser/ui/views/profiles/profile_chooser_view.cc
|
| @@ -710,6 +710,16 @@ bool ProfileChooserView::AcceleratorPressed(
|
| return true;
|
| }
|
|
|
| +bool ProfileChooserView::HandleContextMenu(
|
| + const content::ContextMenuParams& params) {
|
| + // Suppresses the context menu in non-debug mode.
|
| +#ifndef NDEBUG
|
| + return false;
|
| +#else
|
| + return true;
|
| +#endif
|
| +}
|
| +
|
| void ProfileChooserView::ButtonPressed(views::Button* sender,
|
| const ui::Event& event) {
|
| if (sender == users_button_) {
|
| @@ -1445,6 +1455,7 @@ views::View* ProfileChooserView::CreateGaiaSigninView() {
|
| Profile* profile = browser_->profile();
|
| views::WebView* web_view = new views::WebView(profile);
|
| web_view->LoadInitialURL(url);
|
| + web_view->GetWebContents()->SetDelegate(this);
|
| web_view->SetPreferredSize(
|
| gfx::Size(kFixedGaiaViewWidth, kFixedGaiaViewHeight));
|
| content::RenderWidgetHostView* rwhv =
|
|
|