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

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

Issue 2491033006: Adjust positioning of cros tray bubbles. (Closed)
Patch Set: rebase Created 4 years, 1 month 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_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
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
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_
OLDNEW
« no previous file with comments | « ash/common/system/chromeos/brightness/tray_brightness.cc ('k') | ash/common/system/chromeos/ime_menu/ime_menu_tray.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698