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

Side by Side Diff: ash/system/ime_menu/ime_menu_tray.h

Issue 2958693002: Reland with a fix: Do not activate TrayBubbleView by default (Closed)
Patch Set: Add a fix. Created 3 years, 5 months 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
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/public/interfaces/ime_info.mojom.h" 9 #include "ash/public/interfaces/ime_info.mojom.h"
10 #include "ash/system/ime/ime_observer.h" 10 #include "ash/system/ime/ime_observer.h"
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
65 bool PerformAction(const ui::Event& event) override; 65 bool PerformAction(const ui::Event& event) override;
66 66
67 // IMEObserver: 67 // IMEObserver:
68 void OnIMERefresh() override; 68 void OnIMERefresh() override;
69 void OnIMEMenuActivationChanged(bool is_activated) override; 69 void OnIMEMenuActivationChanged(bool is_activated) override;
70 70
71 // views::TrayBubbleView::Delegate: 71 // views::TrayBubbleView::Delegate:
72 void BubbleViewDestroyed() override; 72 void BubbleViewDestroyed() override;
73 void OnMouseEnteredView() override; 73 void OnMouseEnteredView() override;
74 void OnMouseExitedView() override; 74 void OnMouseExitedView() override;
75 void RegisterAccelerators(const std::vector<ui::Accelerator>& accelerators,
76 views::TrayBubbleView* tray_bubble_view) override;
77 void UnregisterAllAccelerators(
78 views::TrayBubbleView* tray_bubble_view) override;
75 base::string16 GetAccessibleNameForBubble() override; 79 base::string16 GetAccessibleNameForBubble() override;
80 bool ShouldEnableExtraKeyboardAccessibility() override;
76 void HideBubble(const views::TrayBubbleView* bubble_view) override; 81 void HideBubble(const views::TrayBubbleView* bubble_view) override;
77 82
78 // keyboard::KeyboardControllerObserver: 83 // keyboard::KeyboardControllerObserver:
79 void OnKeyboardBoundsChanging(const gfx::Rect& new_bounds) override; 84 void OnKeyboardBoundsChanging(const gfx::Rect& new_bounds) override;
80 void OnKeyboardClosed() override; 85 void OnKeyboardClosed() override;
81 void OnKeyboardHidden() override; 86 void OnKeyboardHidden() override;
82 87
83 // VirtualKeyboardObserver: 88 // VirtualKeyboardObserver:
84 void OnKeyboardSuppressionChanged(bool suppressed) override; 89 void OnKeyboardSuppressionChanged(bool suppressed) override;
85 90
(...skipping 23 matching lines...) Expand all
109 bool show_bubble_after_keyboard_hidden_; 114 bool show_bubble_after_keyboard_hidden_;
110 115
111 base::WeakPtrFactory<ImeMenuTray> weak_ptr_factory_; 116 base::WeakPtrFactory<ImeMenuTray> weak_ptr_factory_;
112 117
113 DISALLOW_COPY_AND_ASSIGN(ImeMenuTray); 118 DISALLOW_COPY_AND_ASSIGN(ImeMenuTray);
114 }; 119 };
115 120
116 } // namespace ash 121 } // namespace ash
117 122
118 #endif // ASH_SYSTEM_IME_MENU_IME_MENU_TRAY_H_ 123 #endif // ASH_SYSTEM_IME_MENU_IME_MENU_TRAY_H_
OLDNEW
« no previous file with comments | « no previous file | ash/system/ime_menu/ime_menu_tray.cc » ('j') | ash/system/tray/system_tray_bubble.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698