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

Unified Diff: ash/system/chromeos/virtual_keyboard/virtual_keyboard_tray.h

Issue 2103053004: mash: Convert virtual keyboard system tray item to wm common types (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 years, 6 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/shell.cc ('k') | ash/system/chromeos/virtual_keyboard/virtual_keyboard_tray.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/system/chromeos/virtual_keyboard/virtual_keyboard_tray.h
diff --git a/ash/system/chromeos/virtual_keyboard/virtual_keyboard_tray.h b/ash/system/chromeos/virtual_keyboard/virtual_keyboard_tray.h
deleted file mode 100644
index 46e2affb61d2002a568743db6141db27de931f9d..0000000000000000000000000000000000000000
--- a/ash/system/chromeos/virtual_keyboard/virtual_keyboard_tray.h
+++ /dev/null
@@ -1,48 +0,0 @@
-// Copyright 2014 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_SYSTEM_CHROMEOS_VIRTUAL_KEYBOARD_VIRTUAL_KEYBOARD_TRAY_H_
-#define ASH_SYSTEM_CHROMEOS_VIRTUAL_KEYBOARD_VIRTUAL_KEYBOARD_TRAY_H_
-
-#include "ash/common/keyboard/keyboard_ui_observer.h"
-#include "ash/common/system/tray/tray_background_view.h"
-#include "base/macros.h"
-#include "ui/views/controls/button/button.h"
-
-namespace views {
-class ImageButton;
-}
-
-namespace ash {
-
-// TODO(sky): make this visible on non-chromeos platforms.
-class VirtualKeyboardTray : public TrayBackgroundView,
- public views::ButtonListener,
- public KeyboardUIObserver {
- public:
- explicit VirtualKeyboardTray(WmShelf* wm_shelf);
- ~VirtualKeyboardTray() override;
-
- // TrayBackgroundView:
- void SetShelfAlignment(ShelfAlignment alignment) override;
- base::string16 GetAccessibleNameForTray() override;
- void HideBubbleWithView(const views::TrayBubbleView* bubble_view) override;
- void ClickedOutsideBubble() override;
- bool PerformAction(const ui::Event& event) override;
-
- // views::ButtonListener:
- void ButtonPressed(views::Button* sender, const ui::Event& event) override;
-
- // KeyboardUIObserver:
- void OnKeyboardEnabledStateChanged(bool new_value) override;
-
- private:
- views::ImageButton* button_; // Not owned.
-
- DISALLOW_COPY_AND_ASSIGN(VirtualKeyboardTray);
-};
-
-} // namespace ash
-
-#endif // ASH_SYSTEM_CHROMEOS_VIRTUAL_KEYBOARD_VIRTUAL_KEYBOARD_TRAY_H_
« no previous file with comments | « ash/shell.cc ('k') | ash/system/chromeos/virtual_keyboard/virtual_keyboard_tray.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698