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

Side by Side Diff: chrome/browser/chromeos/login/screens/gaia_screen.cc

Issue 2710673003: cros: Remove usage of GaiaScreenHandler outside of login/webui. (Closed)
Patch Set: Initial upload Created 3 years, 10 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 #include "chrome/browser/chromeos/login/screens/gaia_screen.h" 5 #include "chrome/browser/chromeos/login/screens/gaia_screen.h"
6 6
7 #include "base/logging.h" 7 #include "chrome/browser/chromeos/login/screens/gaia_view.h"
8 #include "chrome/browser/ui/webui/chromeos/login/gaia_screen_handler.h"
9 #include "chrome/browser/ui/webui/chromeos/login/signin_screen_handler.h"
10 8
11 namespace chromeos { 9 namespace chromeos {
12 10
13 GaiaScreen::GaiaScreen() : legacy_handler_(NULL), screen_handler_(NULL) {
14 }
15
16 GaiaScreen::~GaiaScreen() {
17 }
18
19 void GaiaScreen::SetLegacyHandler(LoginDisplayWebUIHandler* handler) {
20 legacy_handler_ = handler;
21 }
22
23 void GaiaScreen::SetScreenHandler(GaiaScreenHandler* handler) {
24 screen_handler_ = handler;
25 }
26
27 void GaiaScreen::MaybePreloadAuthExtension() { 11 void GaiaScreen::MaybePreloadAuthExtension() {
28 screen_handler_->MaybePreloadAuthExtension(); 12 view_->MaybePreloadAuthExtension();
29 } 13 }
30 14
31 } // namespace chromeos 15 } // namespace chromeos
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/login/screens/gaia_screen.h ('k') | chrome/browser/chromeos/login/screens/gaia_view.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698