Disable view source for Developer Tools.
[chromium-blink-merge.git] / chrome / browser / chromeos / login / screens / base_screen.cc
blob865dafe52ac0992e197e8ecdbb1829d31878a6ef
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.
5 #include "chrome/browser/chromeos/login/screens/base_screen.h"
7 #include "base/logging.h"
8 #include "chrome/browser/chromeos/login/screens/screen_observer.h"
10 namespace chromeos {
12 BaseScreen::BaseScreen() {
15 BaseScreen::~BaseScreen() {
18 void BaseScreen::Initialize(ScreenContext* context) {
21 void BaseScreen::OnShow() {
24 void BaseScreen::OnHide() {
27 void BaseScreen::OnClose() {
30 bool BaseScreen::IsStatusAreaDisplayed() {
31 return true;
34 bool BaseScreen::IsPermanent() {
35 return false;
38 std::string BaseScreen::GetID() const {
39 return GetName();
42 void BaseScreen::Finish(const std::string& outcome) {
46 void BaseScreen::SetContext(ScreenContext* context) {
49 void BaseScreen::OnButtonPressed(const std::string& button_id) {
50 LOG(WARNING) << "BaseScreen::OnButtonPressed(): button_id=" << button_id;
53 void BaseScreen::OnContextChanged(const base::DictionaryValue* diff) {
54 LOG(WARNING) << "BaseScreen::OnContextChanged()";
57 } // namespace chromeos