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

Unified Diff: chrome/browser/chromeos/input_method/mode_indicator_widget.h

Issue 98703003: Mode Indicator using BubbleDelegateView. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebased. Created 7 years 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/input_method/mode_indicator_widget.h
diff --git a/chrome/browser/chromeos/input_method/mode_indicator_widget.h b/chrome/browser/chromeos/input_method/mode_indicator_widget.h
deleted file mode 100644
index 3fe54189ff170310601a97ce38a3ea8b9d9035ef..0000000000000000000000000000000000000000
--- a/chrome/browser/chromeos/input_method/mode_indicator_widget.h
+++ /dev/null
@@ -1,40 +0,0 @@
-// Copyright 2013 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 CHROME_BROWSER_CHROMEOS_INPUT_METHOD_MODE_INDICATOR_WIDGET_H_
-#define CHROME_BROWSER_CHROMEOS_INPUT_METHOD_MODE_INDICATOR_WIDGET_H_
-
-#include <string>
-
-#include "base/basictypes.h"
-#include "chrome/browser/chromeos/input_method/delayable_widget.h"
-#include "ui/gfx/rect.h"
-
-namespace chromeos {
-namespace input_method {
-
-class ModeIndicatorView;
-
-// ModeIndicatorWidget is the widget to display IME mode with bubble shape.
-class ModeIndicatorWidget : public DelayableWidget {
- public:
- ModeIndicatorWidget();
- virtual ~ModeIndicatorWidget();
-
- // Set cursor location, which is the base point to display this indicator.
- // Bacisally this indicator is displayed underneath the cursor.
- void SetCursorBounds(const gfx::Rect& corsor_bounds);
- void SetLabelTextUtf8(const std::string& text_utf8);
-
- private:
- ModeIndicatorView* mode_view_;
- gfx::Rect cursor_bounds_;
-
- DISALLOW_COPY_AND_ASSIGN(ModeIndicatorWidget);
-};
-
-} // namespace input_method
-} // namespace chromeos
-
-#endif // CHROME_BROWSER_CHROMEOS_INPUT_METHOD_MODE_INDICATOR_WIDGET_H_

Powered by Google App Engine
This is Rietveld 408576698