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

Unified Diff: chrome/browser/chromeos/status/status_area_host.h

Issue 6904160: Implement new gray mock. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Review nits Created 9 years, 8 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 side-by-side diff with in-line comments
Download patch
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;
« no previous file with comments | « chrome/browser/chromeos/status/status_area_button.cc ('k') | chrome/browser/chromeos/status/status_area_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698