• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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
3 // found in the LICENSE file.
4 
5 #include "chrome/browser/chromeos/login/screens/base_screen.h"
6 
7 #include "base/logging.h"
8 #include "chrome/browser/chromeos/login/screens/screen_observer.h"
9 
10 namespace chromeos {
11 
BaseScreen()12 BaseScreen::BaseScreen() {
13 }
14 
~BaseScreen()15 BaseScreen::~BaseScreen() {
16 }
17 
Initialize(ScreenContext * context)18 void BaseScreen::Initialize(ScreenContext* context) {
19 }
20 
OnShow()21 void BaseScreen::OnShow() {
22 }
23 
OnHide()24 void BaseScreen::OnHide() {
25 }
26 
OnClose()27 void BaseScreen::OnClose() {
28 }
29 
IsStatusAreaDisplayed()30 bool BaseScreen::IsStatusAreaDisplayed() {
31   return true;
32 }
33 
IsPermanent()34 bool BaseScreen::IsPermanent() {
35   return false;
36 }
37 
GetID() const38 std::string BaseScreen::GetID() const {
39   return GetName();
40 }
41 
Finish(const std::string & outcome)42 void BaseScreen::Finish(const std::string& outcome) {
43 
44 }
45 
SetContext(ScreenContext * context)46 void BaseScreen::SetContext(ScreenContext* context) {
47 }
48 
OnButtonPressed(const std::string & button_id)49 void BaseScreen::OnButtonPressed(const std::string& button_id) {
50   LOG(WARNING) << "BaseScreen::OnButtonPressed(): button_id=" << button_id;
51 }
52 
OnContextChanged(const base::DictionaryValue * diff)53 void BaseScreen::OnContextChanged(const base::DictionaryValue* diff) {
54   LOG(WARNING) << "BaseScreen::OnContextChanged()";
55 }
56 
57 }  // namespace chromeos
58