| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 UI_CHROMEOS_IME_INFOLIST_WINDOW_H_ | 5 #ifndef UI_CHROMEOS_IME_INFOLIST_WINDOW_H_ |
| 6 #define UI_CHROMEOS_IME_INFOLIST_WINDOW_H_ | 6 #define UI_CHROMEOS_IME_INFOLIST_WINDOW_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 #include <vector> | 9 #include <vector> |
| 10 | 10 |
| (...skipping 23 matching lines...) Expand all Loading... |
| 34 | 34 |
| 35 // Show/hide itself with a delay. | 35 // Show/hide itself with a delay. |
| 36 void ShowWithDelay(); | 36 void ShowWithDelay(); |
| 37 void HideWithDelay(); | 37 void HideWithDelay(); |
| 38 | 38 |
| 39 // Show/hide without delays. | 39 // Show/hide without delays. |
| 40 void ShowImmediately(); | 40 void ShowImmediately(); |
| 41 void HideImmediately(); | 41 void HideImmediately(); |
| 42 | 42 |
| 43 private: | 43 private: |
| 44 // views::BubbleDelegateView: |
| 45 const char* GetClassName() const override; |
| 46 |
| 44 // views::WidgetDelegate implementation. | 47 // views::WidgetDelegate implementation. |
| 45 void WindowClosing() override; | 48 void WindowClosing() override; |
| 46 | 49 |
| 47 // The list of visible entries. Owned by views hierarchy. | 50 // The list of visible entries. Owned by views hierarchy. |
| 48 std::vector<InfolistEntryView*> entry_views_; | 51 std::vector<InfolistEntryView*> entry_views_; |
| 49 | 52 |
| 50 // Information title font. | 53 // Information title font. |
| 51 gfx::FontList title_font_list_; | 54 gfx::FontList title_font_list_; |
| 52 | 55 |
| 53 // Information description font. | 56 // Information description font. |
| 54 gfx::FontList description_font_list_; | 57 gfx::FontList description_font_list_; |
| 55 | 58 |
| 56 base::OneShotTimer<views::Widget> show_hide_timer_; | 59 base::OneShotTimer<views::Widget> show_hide_timer_; |
| 57 | 60 |
| 58 DISALLOW_COPY_AND_ASSIGN(InfolistWindow); | 61 DISALLOW_COPY_AND_ASSIGN(InfolistWindow); |
| 59 }; | 62 }; |
| 60 | 63 |
| 61 } // namespace ime | 64 } // namespace ime |
| 62 } // namespace ui | 65 } // namespace ui |
| 63 | 66 |
| 64 #endif // UI_CHROMEOS_IME_INFOLIST_WINDOW_H_ | 67 #endif // UI_CHROMEOS_IME_INFOLIST_WINDOW_H_ |
| OLD | NEW |