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

Unified Diff: ash/common/system/chromeos/tray_caps_lock.h

Issue 2732813002: chromeos: Move files in //ash/common to //ash, part 1 (Closed)
Patch Set: rebase Created 3 years, 10 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
« no previous file with comments | « ash/common/system/chromeos/system_clock_observer.cc ('k') | ash/common/system/chromeos/tray_caps_lock.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/common/system/chromeos/tray_caps_lock.h
diff --git a/ash/common/system/chromeos/tray_caps_lock.h b/ash/common/system/chromeos/tray_caps_lock.h
deleted file mode 100644
index 73eedd5fbeb25b3fd9571d83dd617c21ce181163..0000000000000000000000000000000000000000
--- a/ash/common/system/chromeos/tray_caps_lock.h
+++ /dev/null
@@ -1,48 +0,0 @@
-// Copyright (c) 2012 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.
-
-#ifndef ASH_COMMON_SYSTEM_CHROMEOS_TRAY_CAPS_LOCK_H_
-#define ASH_COMMON_SYSTEM_CHROMEOS_TRAY_CAPS_LOCK_H_
-
-#include "ash/common/system/tray/tray_image_item.h"
-#include "base/macros.h"
-#include "ui/base/ime/chromeos/ime_keyboard.h"
-#include "ui/events/event_handler.h"
-
-namespace views {
-class View;
-}
-
-namespace ash {
-class CapsLockDefaultView;
-
-class TrayCapsLock : public TrayImageItem,
- public chromeos::input_method::ImeKeyboard::Observer {
- public:
- explicit TrayCapsLock(SystemTray* system_tray);
- ~TrayCapsLock() override;
-
- private:
- // Overriden from chromeos::input_method::ImeKeyboard::Observer:
- void OnCapsLockChanged(bool enabled) override;
-
- // Overridden from TrayImageItem.
- bool GetInitialVisibility() override;
- views::View* CreateDefaultView(LoginStatus status) override;
- views::View* CreateDetailedView(LoginStatus status) override;
- void DestroyDefaultView() override;
- void DestroyDetailedView() override;
-
- CapsLockDefaultView* default_;
- views::View* detailed_;
-
- bool caps_lock_enabled_;
- bool message_shown_;
-
- DISALLOW_COPY_AND_ASSIGN(TrayCapsLock);
-};
-
-} // namespace ash
-
-#endif // ASH_COMMON_SYSTEM_CHROMEOS_TRAY_CAPS_LOCK_H_
« no previous file with comments | « ash/common/system/chromeos/system_clock_observer.cc ('k') | ash/common/system/chromeos/tray_caps_lock.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698