| Index: chrome/browser/chromeos/status/status_area_host.h
|
| diff --git a/chrome/browser/chromeos/status/status_area_host.h b/chrome/browser/chromeos/status/status_area_host.h
|
| index b00ffed330e6293575ffed22e13e335863016e95..91f0bfafc0ef77ccde8a6ce4f95d092721338e1b 100644
|
| --- a/chrome/browser/chromeos/status/status_area_host.h
|
| +++ b/chrome/browser/chromeos/status/status_area_host.h
|
| @@ -1,4 +1,4 @@
|
| -// Copyright (c) 2010 The Chromium Authors. All rights reserved.
|
| +// Copyright (c) 2011 The Chromium Authors. All rights reserved.
|
| // Use of this source code is governed by a BSD-style license that can be
|
| // found in the LICENSE file.
|
|
|
| @@ -20,6 +20,20 @@ namespace chromeos {
|
| // window.
|
| class StatusAreaHost {
|
| public:
|
| + // Different text styles for different types of backgrounds.
|
| + enum TextStyle {
|
| + kWhitePlain,
|
| + kWhiteHaloed,
|
| + kGrayEmbossed
|
| + };
|
| +
|
| + // The type of screen the host window is on.
|
| + enum ScreenMode {
|
| + kLoginMode, // The host is for the OOBE/login screens.
|
| + kBrowserMode, // The host is for browser.
|
| + kScreenLockerMode, // The host is for screen locker.
|
| + };
|
| +
|
| // Returns the Profile if this status area is inside the browser and has a
|
| // profile. Otherwise, returns NULL.
|
| virtual Profile* GetProfile() const = 0;
|
| @@ -38,12 +52,8 @@ class StatusAreaHost {
|
| // Executes browser command.
|
| virtual void ExecuteBrowserCommand(int id) const = 0;
|
|
|
| - // The type of screen the host window is on.
|
| - enum ScreenMode {
|
| - kLoginMode, // The host is for the OOBE/login screens.
|
| - kBrowserMode, // The host is for browser.
|
| - kScreenLockerMode, // The host is for screen locker.
|
| - };
|
| + // Returns the text style.
|
| + virtual TextStyle GetTextStyle() const = 0;
|
|
|
| // Returns the type of screen.
|
| virtual ScreenMode GetScreenMode() const = 0;
|
|
|