| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef UI_CHROMEOS_IME_MODE_INDICATOR_VIEW_H_ | 5 #ifndef UI_CHROMEOS_IME_MODE_INDICATOR_VIEW_H_ |
| 6 #define UI_CHROMEOS_IME_MODE_INDICATOR_VIEW_H_ | 6 #define UI_CHROMEOS_IME_MODE_INDICATOR_VIEW_H_ |
| 7 | 7 |
| 8 #include "base/strings/string16.h" | 8 #include "base/strings/string16.h" |
| 9 #include "base/timer/timer.h" | 9 #include "base/timer/timer.h" |
| 10 #include "ui/chromeos/ui_chromeos_export.h" | 10 #include "ui/chromeos/ui_chromeos_export.h" |
| (...skipping 27 matching lines...) Expand all Loading... |
| 38 const char* GetClassName() const override; | 38 const char* GetClassName() const override; |
| 39 void Init() override; | 39 void Init() override; |
| 40 | 40 |
| 41 // views::WidgetDelegateView overrides: | 41 // views::WidgetDelegateView overrides: |
| 42 views::NonClientFrameView* CreateNonClientFrameView( | 42 views::NonClientFrameView* CreateNonClientFrameView( |
| 43 views::Widget* widget) override; | 43 views::Widget* widget) override; |
| 44 | 44 |
| 45 private: | 45 private: |
| 46 gfx::Rect cursor_bounds_; | 46 gfx::Rect cursor_bounds_; |
| 47 views::Label* label_view_; | 47 views::Label* label_view_; |
| 48 base::OneShotTimer<views::Widget> timer_; | 48 base::OneShotTimer timer_; |
| 49 | 49 |
| 50 DISALLOW_COPY_AND_ASSIGN(ModeIndicatorView); | 50 DISALLOW_COPY_AND_ASSIGN(ModeIndicatorView); |
| 51 }; | 51 }; |
| 52 | 52 |
| 53 } // namespace ime | 53 } // namespace ime |
| 54 } // namespace ui | 54 } // namespace ui |
| 55 | 55 |
| 56 #endif // UI_CHROMEOS_IME_MODE_INDICATOR_VIEW_H_ | 56 #endif // UI_CHROMEOS_IME_MODE_INDICATOR_VIEW_H_ |
| OLD | NEW |