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/chromeos/login/ui/webui_login_view.h

Issue 586933002: Re-Revert "[WebModals] New API for browser-scoped popup management." (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@2125
Patch Set: Created 6 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
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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_CHROMEOS_LOGIN_UI_WEBUI_LOGIN_VIEW_H_ 5 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_UI_WEBUI_LOGIN_VIEW_H_
6 #define CHROME_BROWSER_CHROMEOS_LOGIN_UI_WEBUI_LOGIN_VIEW_H_ 6 #define CHROME_BROWSER_CHROMEOS_LOGIN_UI_WEBUI_LOGIN_VIEW_H_
7 7
8 #include <map> 8 #include <map>
9 #include <string> 9 #include <string>
10 10
11 #include "base/memory/scoped_ptr.h" 11 #include "base/memory/scoped_ptr.h"
12 #include "base/observer_list.h" 12 #include "base/observer_list.h"
13 #include "chrome/browser/extensions/signin/scoped_gaia_auth_extension.h" 13 #include "chrome/browser/extensions/signin/scoped_gaia_auth_extension.h"
14 #include "chrome/browser/ui/chrome_web_modal_dialog_manager_delegate.h" 14 #include "chrome/browser/ui/chrome_web_modal_dialog_manager_delegate.h"
15 #include "components/web_modal/popup_manager.h"
16 #include "components/web_modal/web_contents_modal_dialog_host.h" 15 #include "components/web_modal/web_contents_modal_dialog_host.h"
17 #include "content/public/browser/notification_observer.h" 16 #include "content/public/browser/notification_observer.h"
18 #include "content/public/browser/notification_registrar.h" 17 #include "content/public/browser/notification_registrar.h"
19 #include "content/public/browser/web_contents_delegate.h" 18 #include "content/public/browser/web_contents_delegate.h"
20 #include "content/public/browser/web_contents_observer.h" 19 #include "content/public/browser/web_contents_observer.h"
21 #include "ui/views/controls/webview/unhandled_keyboard_event_handler.h" 20 #include "ui/views/controls/webview/unhandled_keyboard_event_handler.h"
22 #include "ui/views/widget/widget.h" 21 #include "ui/views/widget/widget.h"
23 #include "ui/views/widget/widget_delegate.h" 22 #include "ui/views/widget/widget_delegate.h"
24 23
25 class GURL; 24 class GURL;
(...skipping 161 matching lines...) Expand 10 before | Expand all | Expand 10 after
187 bool should_emit_login_prompt_visible_; 186 bool should_emit_login_prompt_visible_;
188 187
189 // True to forward keyboard event. 188 // True to forward keyboard event.
190 bool forward_keyboard_event_; 189 bool forward_keyboard_event_;
191 190
192 scoped_ptr<ScopedGaiaAuthExtension> auth_extension_; 191 scoped_ptr<ScopedGaiaAuthExtension> auth_extension_;
193 192
194 ObserverList<web_modal::ModalDialogHostObserver> observer_list_; 193 ObserverList<web_modal::ModalDialogHostObserver> observer_list_;
195 ObserverList<FrameObserver> frame_observer_list_; 194 ObserverList<FrameObserver> frame_observer_list_;
196 195
197 // Manage popups appearing over the login window.
198 // TODO(gbillock): See if we can get rid of this. Perhaps in favor of
199 // in-content styled popups or something? There oughtta be a way...
200 scoped_ptr<web_modal::PopupManager> popup_manager_;
201
202 DISALLOW_COPY_AND_ASSIGN(WebUILoginView); 196 DISALLOW_COPY_AND_ASSIGN(WebUILoginView);
203 }; 197 };
204 198
205 } // namespace chromeos 199 } // namespace chromeos
206 200
207 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_UI_WEBUI_LOGIN_VIEW_H_ 201 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_UI_WEBUI_LOGIN_VIEW_H_
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/login/ui/captive_portal_window_proxy.cc ('k') | chrome/browser/chromeos/login/ui/webui_login_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698