OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 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 #include "chrome/browser/chromeos/input_method/candidate_window.h" | 5 #include "chrome/browser/chromeos/input_method/candidate_window.h" |
6 | 6 |
7 #include <algorithm> | 7 #include <algorithm> |
8 #include <string> | 8 #include <string> |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
11 #include "base/logging.h" | 11 #include "base/logging.h" |
12 #include "base/memory/scoped_ptr.h" | 12 #include "base/memory/scoped_ptr.h" |
13 #include "base/message_loop.h" | 13 #include "base/message_loop.h" |
14 #include "base/observer_list.h" | 14 #include "base/observer_list.h" |
15 #include "base/string_util.h" | 15 #include "base/string_util.h" |
16 #include "base/stringprintf.h" | 16 #include "base/stringprintf.h" |
17 #include "base/timer.h" | 17 #include "base/timer.h" |
18 #include "base/utf_string_conversions.h" | 18 #include "base/utf_string_conversions.h" |
19 #include "chrome/browser/chromeos/input_method/candidate_view.h" | 19 #include "chrome/browser/chromeos/input_method/candidate_view.h" |
20 #include "chrome/browser/chromeos/input_method/candidate_window_view.h" | 20 #include "chrome/browser/chromeos/input_method/candidate_window_view.h" |
21 #include "chrome/browser/chromeos/input_method/ibus_ui_controller.h" | 21 #include "chrome/browser/chromeos/input_method/ibus_ui_controller.h" |
22 #include "grit/generated_resources.h" | 22 #include "grit/generated_resources.h" |
23 #include "ui/base/l10n/l10n_util.h" | 23 #include "ui/base/l10n/l10n_util.h" |
24 #include "ui/gfx/canvas.h" | 24 #include "ui/gfx/canvas.h" |
25 #include "ui/gfx/font.h" | 25 #include "ui/gfx/font.h" |
26 #include "ui/gfx/screen.h" | 26 #include "ui/gfx/screen.h" |
27 #include "ui/views/controls/label.h" | 27 #include "ui/views/controls/label.h" |
28 #include "ui/views/controls/textfield/textfield.h" | 28 #include "ui/views/controls/textfield/textfield.h" |
29 #include "ui/views/events/event.h" | |
30 #include "ui/views/layout/box_layout.h" | 29 #include "ui/views/layout/box_layout.h" |
31 #include "ui/views/layout/fill_layout.h" | 30 #include "ui/views/layout/fill_layout.h" |
32 #include "ui/views/layout/grid_layout.h" | 31 #include "ui/views/layout/grid_layout.h" |
33 #include "ui/views/widget/widget.h" | 32 #include "ui/views/widget/widget.h" |
34 #include "ui/views/window/non_client_view.h" | 33 #include "ui/views/window/non_client_view.h" |
35 | 34 |
36 #if defined(USE_ASH) | 35 #if defined(USE_ASH) |
37 #include "ash/shell.h" | 36 #include "ash/shell.h" |
38 #include "ash/shell_window_ids.h" | 37 #include "ash/shell_window_ids.h" |
39 #include "ash/wm/window_animations.h" | 38 #include "ash/wm/window_animations.h" |
(...skipping 1730 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1770 } | 1769 } |
1771 | 1770 |
1772 // static | 1771 // static |
1773 CandidateWindowController* | 1772 CandidateWindowController* |
1774 CandidateWindowController::CreateCandidateWindowController() { | 1773 CandidateWindowController::CreateCandidateWindowController() { |
1775 return new CandidateWindowControllerImpl; | 1774 return new CandidateWindowControllerImpl; |
1776 } | 1775 } |
1777 | 1776 |
1778 } // namespace input_method | 1777 } // namespace input_method |
1779 } // namespace chromeos | 1778 } // namespace chromeos |
OLD | NEW |