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

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

Issue 672203003: ScreenContext is moved to components/login. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase. Created 6 years, 2 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 (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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/base_screen.h" 5 #include "chrome/browser/chromeos/login/screens/base_screen.h"
6 6
7 #include "base/logging.h" 7 #include "base/logging.h"
8 #include "chrome/browser/chromeos/login/screens/screen_observer.h" 8 #include "chrome/browser/chromeos/login/screens/screen_observer.h"
9 9
10 namespace chromeos { 10 namespace chromeos {
11 11
12 BaseScreen::BaseScreen(ScreenObserver* screen_observer) 12 BaseScreen::BaseScreen(ScreenObserver* screen_observer)
13 : screen_observer_(screen_observer) { 13 : screen_observer_(screen_observer) {
14 } 14 }
15 15
16 BaseScreen::~BaseScreen() { 16 BaseScreen::~BaseScreen() {
17 } 17 }
18 18
19 void BaseScreen::Initialize(ScreenContext* context) { 19 void BaseScreen::Initialize(::login::ScreenContext* context) {
20 } 20 }
21 21
22 void BaseScreen::OnShow() { 22 void BaseScreen::OnShow() {
23 } 23 }
24 24
25 void BaseScreen::OnHide() { 25 void BaseScreen::OnHide() {
26 } 26 }
27 27
28 void BaseScreen::OnClose() { 28 void BaseScreen::OnClose() {
29 } 29 }
30 30
31 bool BaseScreen::IsStatusAreaDisplayed() { 31 bool BaseScreen::IsStatusAreaDisplayed() {
32 return true; 32 return true;
33 } 33 }
34 34
35 bool BaseScreen::IsPermanent() { 35 bool BaseScreen::IsPermanent() {
36 return false; 36 return false;
37 } 37 }
38 38
39 std::string BaseScreen::GetID() const { 39 std::string BaseScreen::GetID() const {
40 return GetName(); 40 return GetName();
41 } 41 }
42 42
43 void BaseScreen::Finish(const std::string& outcome) { 43 void BaseScreen::Finish(const std::string& outcome) {
44 44
45 } 45 }
46 46
47 void BaseScreen::SetContext(ScreenContext* context) { 47 void BaseScreen::SetContext(::login::ScreenContext* context) {
48 } 48 }
49 49
50 void BaseScreen::OnButtonPressed(const std::string& button_id) { 50 void BaseScreen::OnButtonPressed(const std::string& button_id) {
51 LOG(WARNING) << "BaseScreen::OnButtonPressed(): button_id=" << button_id; 51 LOG(WARNING) << "BaseScreen::OnButtonPressed(): button_id=" << button_id;
52 } 52 }
53 53
54 void BaseScreen::OnContextChanged(const base::DictionaryValue* diff) { 54 void BaseScreen::OnContextChanged(const base::DictionaryValue* diff) {
55 LOG(WARNING) << "BaseScreen::OnContextChanged()"; 55 LOG(WARNING) << "BaseScreen::OnContextChanged()";
56 } 56 }
57 57
58 } // namespace chromeos 58 } // namespace chromeos
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/login/screens/base_screen.h ('k') | chrome/browser/chromeos/login/screens/controller_pairing_screen.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698