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

Side by Side Diff: chrome/browser/chromeos/input_method/mode_indicator_view.h

Issue 98703003: Mode Indicator using BubbleDelegateView. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Added comment about offscreen handling. 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 unified diff | Download patch
OLDNEW
(Empty)
1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef CHROME_BROWSER_CHROMEOS_INPUT_METHOD_MODE_INDICATOR_VIEW_H_
6 #define CHROME_BROWSER_CHROMEOS_INPUT_METHOD_MODE_INDICATOR_VIEW_H_
7
8 #include <string>
9
10 #include "base/basictypes.h"
11 #include "base/compiler_specific.h"
12 #include "ui/gfx/size.h"
13 #include "ui/views/view.h"
14
15 namespace views {
16 class Label;
17 } // namespace views
18
19 namespace chromeos {
20 namespace input_method {
21
22 // ModeIndicatorView is the view to contain the label representing the IME mode.
23 class ModeIndicatorView : public views::View {
24 public:
25 ModeIndicatorView();
26 virtual ~ModeIndicatorView();
27
28 void SetLabelTextUtf8(const std::string& text_utf8);
29
30 private:
31 // Overridden from views::View:
32 virtual void Layout() OVERRIDE;
33
34 void Init();
35
36 views::Label* label_;
37
38 DISALLOW_COPY_AND_ASSIGN(ModeIndicatorView);
39 };
40
41 } // namespace input_method
42 } // namespace chromeos
43
44 #endif // CHROME_BROWSER_CHROMEOS_INPUT_METHOD_MODE_INDICATOR_VIEW_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698