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

Side by Side Diff: ash/common/system/ime/tray_ime_chromeos.h

Issue 2750263002: Remove ash tray utility functions that are no-ops in MD. (Closed)
Patch Set: Created 3 years, 9 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 2012 The Chromium Authors. All rights reserved. 1 // Copyright 2012 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_IME_TRAY_IME_CHROMEOS_H_ 5 #ifndef ASH_COMMON_SYSTEM_IME_TRAY_IME_CHROMEOS_H_
6 #define ASH_COMMON_SYSTEM_IME_TRAY_IME_CHROMEOS_H_ 6 #define ASH_COMMON_SYSTEM_IME_TRAY_IME_CHROMEOS_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 9
10 #include "ash/common/system/accessibility_observer.h" 10 #include "ash/common/system/accessibility_observer.h"
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
52 // Returns the appropriate label for the detailed view. 52 // Returns the appropriate label for the detailed view.
53 base::string16 GetDefaultViewLabel(bool show_ime_label); 53 base::string16 GetDefaultViewLabel(bool show_ime_label);
54 54
55 // Overridden from SystemTrayItem. 55 // Overridden from SystemTrayItem.
56 views::View* CreateTrayView(LoginStatus status) override; 56 views::View* CreateTrayView(LoginStatus status) override;
57 views::View* CreateDefaultView(LoginStatus status) override; 57 views::View* CreateDefaultView(LoginStatus status) override;
58 views::View* CreateDetailedView(LoginStatus status) override; 58 views::View* CreateDetailedView(LoginStatus status) override;
59 void DestroyTrayView() override; 59 void DestroyTrayView() override;
60 void DestroyDefaultView() override; 60 void DestroyDefaultView() override;
61 void DestroyDetailedView() override; 61 void DestroyDetailedView() override;
62 void UpdateAfterLoginStatusChange(LoginStatus status) override;
63 void UpdateAfterShelfAlignmentChange(ShelfAlignment alignment) override;
64 62
65 // Overridden from IMEObserver. 63 // Overridden from IMEObserver.
66 void OnIMERefresh() override; 64 void OnIMERefresh() override;
67 void OnIMEMenuActivationChanged(bool is_active) override; 65 void OnIMEMenuActivationChanged(bool is_active) override;
68 66
69 // Returns true input methods are managed by policy. 67 // Returns true input methods are managed by policy.
70 bool IsIMEManaged(); 68 bool IsIMEManaged();
71 69
72 // Whether the default view should be shown. 70 // Whether the default view should be shown.
73 bool ShouldDefaultViewBeVisible(); 71 bool ShouldDefaultViewBeVisible();
(...skipping 19 matching lines...) Expand all
93 91
94 // Whether the IME label and tray items should be visible. 92 // Whether the IME label and tray items should be visible.
95 bool is_visible_; 93 bool is_visible_;
96 94
97 DISALLOW_COPY_AND_ASSIGN(TrayIME); 95 DISALLOW_COPY_AND_ASSIGN(TrayIME);
98 }; 96 };
99 97
100 } // namespace ash 98 } // namespace ash
101 99
102 #endif // ASH_COMMON_SYSTEM_IME_TRAY_IME_CHROMEOS_H_ 100 #endif // ASH_COMMON_SYSTEM_IME_TRAY_IME_CHROMEOS_H_
OLDNEW
« no previous file with comments | « ash/common/system/chromeos/power/tray_power.cc ('k') | ash/common/system/ime/tray_ime_chromeos.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698