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

Unified Diff: ash/ime/mode_indicator_view.h

Issue 680383008: Move ash/ime to ui/chromeos/ime (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@athena_do_not_use_ash48_global_command
Patch Set: Created 6 years, 1 month 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: ash/ime/mode_indicator_view.h
diff --git a/ash/ime/mode_indicator_view.h b/ash/ime/mode_indicator_view.h
deleted file mode 100644
index 9e00ceb3b2122c67bee4be2fd57101a1e70364ee..0000000000000000000000000000000000000000
--- a/ash/ime/mode_indicator_view.h
+++ /dev/null
@@ -1,55 +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_IME_MODE_INDICATOR_VIEW_H_
-#define ASH_IME_MODE_INDICATOR_VIEW_H_
-
-#include "ash/ash_export.h"
-#include "base/strings/string16.h"
-#include "base/timer/timer.h"
-#include "ui/gfx/native_widget_types.h"
-#include "ui/gfx/rect.h"
-#include "ui/views/bubble/bubble_delegate.h"
-
-namespace views {
-class Label;
-class Widget;
-} // namespace views
-
-namespace ash {
-namespace ime {
-
-class ASH_EXPORT ModeIndicatorView : public views::BubbleDelegateView {
- public:
- ModeIndicatorView(gfx::NativeView parent,
- const gfx::Rect& cursor_bounds,
- const base::string16& label);
- ~ModeIndicatorView() override;
-
- // Show the mode indicator then hide with fading animation.
- void ShowAndFadeOut();
-
- // views::BubbleDelegateView override:
- gfx::Size GetPreferredSize() const override;
-
- protected:
- // views::BubbleDelegateView override:
- void Init() override;
-
- // views::WidgetDelegateView overrides:
- views::NonClientFrameView* CreateNonClientFrameView(
- views::Widget* widget) override;
-
- private:
- gfx::Rect cursor_bounds_;
- views::Label* label_view_;
- base::OneShotTimer<views::Widget> timer_;
-
- DISALLOW_COPY_AND_ASSIGN(ModeIndicatorView);
-};
-
-} // namespace ime
-} // namespace ash
-
-#endif // ASH_IME_MODE_INDICATOR_VIEW_H_

Powered by Google App Engine
This is Rietveld 408576698