| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 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 | 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 CHROME_BROWSER_CHROMEOS_INPUT_METHOD_MODE_INDICATOR_CONTROLLER_H_ | 5 #ifndef CHROME_BROWSER_CHROMEOS_INPUT_METHOD_MODE_INDICATOR_CONTROLLER_H_ |
| 6 #define CHROME_BROWSER_CHROMEOS_INPUT_METHOD_MODE_INDICATOR_CONTROLLER_H_ | 6 #define CHROME_BROWSER_CHROMEOS_INPUT_METHOD_MODE_INDICATOR_CONTROLLER_H_ |
| 7 | 7 |
| 8 #include "base/macros.h" |
| 8 #include "base/memory/scoped_ptr.h" | 9 #include "base/memory/scoped_ptr.h" |
| 9 #include "ui/base/ime/chromeos/input_method_manager.h" | 10 #include "ui/base/ime/chromeos/input_method_manager.h" |
| 10 #include "ui/gfx/geometry/rect.h" | 11 #include "ui/gfx/geometry/rect.h" |
| 11 #include "ui/views/widget/widget_observer.h" | 12 #include "ui/views/widget/widget_observer.h" |
| 12 | 13 |
| 13 namespace chromeos { | 14 namespace chromeos { |
| 14 namespace input_method { | 15 namespace input_method { |
| 15 | 16 |
| 16 class ModeIndicatorObserverInterface : public views::WidgetObserver { | 17 class ModeIndicatorObserverInterface : public views::WidgetObserver { |
| 17 public: | 18 public: |
| (...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 66 // close the previous widget when a new widget is created. | 67 // close the previous widget when a new widget is created. |
| 67 scoped_ptr<ModeIndicatorObserverInterface> mi_observer_; | 68 scoped_ptr<ModeIndicatorObserverInterface> mi_observer_; |
| 68 | 69 |
| 69 DISALLOW_COPY_AND_ASSIGN(ModeIndicatorController); | 70 DISALLOW_COPY_AND_ASSIGN(ModeIndicatorController); |
| 70 }; | 71 }; |
| 71 | 72 |
| 72 } // namespace input_method | 73 } // namespace input_method |
| 73 } // namespace chromeos | 74 } // namespace chromeos |
| 74 | 75 |
| 75 #endif // CHROME_BROWSER_CHROMEOS_INPUT_METHOD_MODE_INDICATOR_CONTROLLER_H_ | 76 #endif // CHROME_BROWSER_CHROMEOS_INPUT_METHOD_MODE_INDICATOR_CONTROLLER_H_ |
| OLD | NEW |