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

Side by Side Diff: chrome/browser/ui/webui/chromeos/login/eula_screen_handler.cc

Issue 2555783003: cros: Remove unused method (Closed)
Patch Set: Created 4 years 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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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/ui/webui/chromeos/login/eula_screen_handler.h" 5 #include "chrome/browser/ui/webui/chromeos/login/eula_screen_handler.h"
6 6
7 #include <string> 7 #include <string>
8 8
9 #include "base/macros.h" 9 #include "base/macros.h"
10 #include "base/strings/utf_string_conversions.h" 10 #include "base/strings/utf_string_conversions.h"
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after
86 model_(NULL), 86 model_(NULL),
87 core_oobe_actor_(core_oobe_actor), 87 core_oobe_actor_(core_oobe_actor),
88 show_on_init_(false) { 88 show_on_init_(false) {
89 } 89 }
90 90
91 EulaScreenHandler::~EulaScreenHandler() { 91 EulaScreenHandler::~EulaScreenHandler() {
92 if (model_) 92 if (model_)
93 model_->OnViewDestroyed(this); 93 model_->OnViewDestroyed(this);
94 } 94 }
95 95
96 void EulaScreenHandler::PrepareToShow() {
97 }
98
99 void EulaScreenHandler::Show() { 96 void EulaScreenHandler::Show() {
100 if (!page_is_ready()) { 97 if (!page_is_ready()) {
101 show_on_init_ = true; 98 show_on_init_ = true;
102 return; 99 return;
103 } 100 }
104 ShowScreen(OobeScreen::SCREEN_OOBE_EULA); 101 ShowScreen(OobeScreen::SCREEN_OOBE_EULA);
105 } 102 }
106 103
107 void EulaScreenHandler::Hide() { 104 void EulaScreenHandler::Hide() {
108 } 105 }
(...skipping 106 matching lines...) Expand 10 before | Expand all | Expand 10 after
215 IDS_ABOUT_VERSION_LICENSE_EULA, 212 IDS_ABOUT_VERSION_LICENSE_EULA,
216 GURL(chrome::kChromeUICreditsURL)); 213 GURL(chrome::kChromeUICreditsURL));
217 } 214 }
218 215
219 void EulaScreenHandler::HandleOnInstallationSettingsPopupOpened() { 216 void EulaScreenHandler::HandleOnInstallationSettingsPopupOpened() {
220 if (model_) 217 if (model_)
221 model_->InitiatePasswordFetch(); 218 model_->InitiatePasswordFetch();
222 } 219 }
223 220
224 } // namespace chromeos 221 } // namespace chromeos
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698