| 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_COMMON_SYSTEM_CHROMEOS_IME_MENU_IME_MENU_TRAY_H_ | 5 #ifndef ASH_COMMON_SYSTEM_CHROMEOS_IME_MENU_IME_MENU_TRAY_H_ |
| 6 #define ASH_COMMON_SYSTEM_CHROMEOS_IME_MENU_IME_MENU_TRAY_H_ | 6 #define ASH_COMMON_SYSTEM_CHROMEOS_IME_MENU_IME_MENU_TRAY_H_ |
| 7 | 7 |
| 8 #include "ash/ash_export.h" | 8 #include "ash/ash_export.h" |
| 9 #include "ash/common/system/ime/ime_observer.h" | 9 #include "ash/common/system/ime/ime_observer.h" |
| 10 #include "ash/common/system/tray/ime_info.h" | 10 #include "ash/common/system/tray/ime_info.h" |
| (...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 63 | 63 |
| 64 // IMEObserver: | 64 // IMEObserver: |
| 65 void OnIMERefresh() override; | 65 void OnIMERefresh() override; |
| 66 void OnIMEMenuActivationChanged(bool is_activated) override; | 66 void OnIMEMenuActivationChanged(bool is_activated) override; |
| 67 | 67 |
| 68 // views::TrayBubbleView::Delegate: | 68 // views::TrayBubbleView::Delegate: |
| 69 void BubbleViewDestroyed() override; | 69 void BubbleViewDestroyed() override; |
| 70 void OnMouseEnteredView() override; | 70 void OnMouseEnteredView() override; |
| 71 void OnMouseExitedView() override; | 71 void OnMouseExitedView() override; |
| 72 base::string16 GetAccessibleNameForBubble() override; | 72 base::string16 GetAccessibleNameForBubble() override; |
| 73 gfx::Rect GetAnchorRect(views::Widget* anchor_widget, | |
| 74 AnchorType anchor_type, | |
| 75 AnchorAlignment anchor_alignment) const override; | |
| 76 void OnBeforeBubbleWidgetInit( | 73 void OnBeforeBubbleWidgetInit( |
| 77 views::Widget* anchor_widget, | 74 views::Widget* anchor_widget, |
| 78 views::Widget* bubble_widget, | 75 views::Widget* bubble_widget, |
| 79 views::Widget::InitParams* params) const override; | 76 views::Widget::InitParams* params) const override; |
| 80 void HideBubble(const views::TrayBubbleView* bubble_view) override; | 77 void HideBubble(const views::TrayBubbleView* bubble_view) override; |
| 81 | 78 |
| 82 // keyboard::KeyboardControllerObserver: | 79 // keyboard::KeyboardControllerObserver: |
| 83 void OnKeyboardBoundsChanging(const gfx::Rect& new_bounds) override; | 80 void OnKeyboardBoundsChanging(const gfx::Rect& new_bounds) override; |
| 84 void OnKeyboardClosed() override; | 81 void OnKeyboardClosed() override; |
| 85 void OnKeyboardHidden() override; | 82 void OnKeyboardHidden() override; |
| (...skipping 14 matching lines...) Expand all Loading... |
| 100 bool show_keyboard_; | 97 bool show_keyboard_; |
| 101 bool force_show_keyboard_; | 98 bool force_show_keyboard_; |
| 102 bool should_block_shelf_auto_hide_; | 99 bool should_block_shelf_auto_hide_; |
| 103 | 100 |
| 104 DISALLOW_COPY_AND_ASSIGN(ImeMenuTray); | 101 DISALLOW_COPY_AND_ASSIGN(ImeMenuTray); |
| 105 }; | 102 }; |
| 106 | 103 |
| 107 } // namespace ash | 104 } // namespace ash |
| 108 | 105 |
| 109 #endif // ASH_COMMON_SYSTEM_CHROMEOS_IME_MENU_IME_MENU_TRAY_H_ | 106 #endif // ASH_COMMON_SYSTEM_CHROMEOS_IME_MENU_IME_MENU_TRAY_H_ |
| OLD | NEW |