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 CHROME_BROWSER_UI_VIEWS_IME_IME_WINDOW_FRAME_VIEW_H_ | 5 #ifndef CHROME_BROWSER_UI_VIEWS_IME_IME_WINDOW_FRAME_VIEW_H_ |
6 #define CHROME_BROWSER_UI_VIEWS_IME_IME_WINDOW_FRAME_VIEW_H_ | 6 #define CHROME_BROWSER_UI_VIEWS_IME_IME_WINDOW_FRAME_VIEW_H_ |
7 | 7 |
8 #include "chrome/browser/ui/ime/ime_window.h" | 8 #include "chrome/browser/ui/ime/ime_window.h" |
9 #include "ui/views/controls/button/button.h" | 9 #include "ui/views/controls/button/button.h" |
10 #include "ui/views/window/non_client_view.h" | 10 #include "ui/views/window/non_client_view.h" |
11 | 11 |
12 namespace views { | 12 namespace views { |
13 class ImageButton; | 13 class ImageButton; |
14 class ImageView; | 14 class ImageView; |
15 class Label; | |
16 } | 15 } |
17 | 16 |
18 namespace ui { | 17 namespace ui { |
19 | 18 |
20 class ImeWindowView; | 19 class ImeWindowView; |
21 | 20 |
22 // The non-client frame view implementation for the IME window UI. | 21 // The non-client frame view implementation for the IME window UI. |
23 class ImeWindowFrameView : public views::NonClientFrameView, | 22 class ImeWindowFrameView : public views::NonClientFrameView, |
24 public views::ButtonListener { | 23 public views::ButtonListener { |
25 public: | 24 public: |
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
75 ImeWindow::Mode mode_; | 74 ImeWindow::Mode mode_; |
76 views::ImageButton* close_button_; | 75 views::ImageButton* close_button_; |
77 views::ImageView* title_icon_; | 76 views::ImageView* title_icon_; |
78 | 77 |
79 DISALLOW_COPY_AND_ASSIGN(ImeWindowFrameView); | 78 DISALLOW_COPY_AND_ASSIGN(ImeWindowFrameView); |
80 }; | 79 }; |
81 | 80 |
82 } // namespace ui | 81 } // namespace ui |
83 | 82 |
84 #endif // CHROME_BROWSER_UI_VIEWS_IME_IME_WINDOW_FRAME_VIEW_H_ | 83 #endif // CHROME_BROWSER_UI_VIEWS_IME_IME_WINDOW_FRAME_VIEW_H_ |
OLD | NEW |