| OLD | NEW |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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 ASH_SYSTEM_IME_MENU_IME_MENU_TRAY_H_ | 5 #ifndef ASH_SYSTEM_IME_MENU_IME_MENU_TRAY_H_ |
| 6 #define ASH_SYSTEM_IME_MENU_IME_MENU_TRAY_H_ | 6 #define ASH_SYSTEM_IME_MENU_IME_MENU_TRAY_H_ |
| 7 | 7 |
| 8 #include "ash/ash_export.h" | 8 #include "ash/ash_export.h" |
| 9 #include "ash/system/ime/ime_observer.h" | 9 #include "ash/system/ime/ime_observer.h" |
| 10 #include "ash/system/tray/ime_info.h" | 10 #include "ash/system/tray/ime_info.h" |
| (...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 65 | 65 |
| 66 // IMEObserver: | 66 // IMEObserver: |
| 67 void OnIMERefresh() override; | 67 void OnIMERefresh() override; |
| 68 void OnIMEMenuActivationChanged(bool is_activated) override; | 68 void OnIMEMenuActivationChanged(bool is_activated) override; |
| 69 | 69 |
| 70 // views::TrayBubbleView::Delegate: | 70 // views::TrayBubbleView::Delegate: |
| 71 void BubbleViewDestroyed() override; | 71 void BubbleViewDestroyed() override; |
| 72 void OnMouseEnteredView() override; | 72 void OnMouseEnteredView() override; |
| 73 void OnMouseExitedView() override; | 73 void OnMouseExitedView() override; |
| 74 base::string16 GetAccessibleNameForBubble() override; | 74 base::string16 GetAccessibleNameForBubble() override; |
| 75 void OnBeforeBubbleWidgetInit( | |
| 76 views::Widget* anchor_widget, | |
| 77 views::Widget* bubble_widget, | |
| 78 views::Widget::InitParams* params) const override; | |
| 79 void HideBubble(const views::TrayBubbleView* bubble_view) override; | 75 void HideBubble(const views::TrayBubbleView* bubble_view) override; |
| 80 | 76 |
| 81 // keyboard::KeyboardControllerObserver: | 77 // keyboard::KeyboardControllerObserver: |
| 82 void OnKeyboardBoundsChanging(const gfx::Rect& new_bounds) override; | 78 void OnKeyboardBoundsChanging(const gfx::Rect& new_bounds) override; |
| 83 void OnKeyboardClosed() override; | 79 void OnKeyboardClosed() override; |
| 84 void OnKeyboardHidden() override; | 80 void OnKeyboardHidden() override; |
| 85 | 81 |
| 86 // VirtualKeyboardObserver: | 82 // VirtualKeyboardObserver: |
| 87 void OnKeyboardSuppressionChanged(bool suppressed) override; | 83 void OnKeyboardSuppressionChanged(bool suppressed) override; |
| 88 | 84 |
| (...skipping 22 matching lines...) Expand all Loading... |
| 111 bool show_bubble_after_keyboard_hidden_; | 107 bool show_bubble_after_keyboard_hidden_; |
| 112 | 108 |
| 113 base::WeakPtrFactory<ImeMenuTray> weak_ptr_factory_; | 109 base::WeakPtrFactory<ImeMenuTray> weak_ptr_factory_; |
| 114 | 110 |
| 115 DISALLOW_COPY_AND_ASSIGN(ImeMenuTray); | 111 DISALLOW_COPY_AND_ASSIGN(ImeMenuTray); |
| 116 }; | 112 }; |
| 117 | 113 |
| 118 } // namespace ash | 114 } // namespace ash |
| 119 | 115 |
| 120 #endif // ASH_SYSTEM_IME_MENU_IME_MENU_TRAY_H_ | 116 #endif // ASH_SYSTEM_IME_MENU_IME_MENU_TRAY_H_ |
| OLD | NEW |