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 #include "chrome/browser/chromeos/input_method/infolist_window_view.h" | 4 #include "chrome/browser/chromeos/input_method/infolist_window_view.h" |
5 | 5 |
6 #include <limits> | 6 #include <limits> |
7 #include <string> | 7 #include <string> |
8 #include <vector> | 8 #include <vector> |
9 | 9 |
10 #include "ash/shell.h" | 10 #include "ash/shell.h" |
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/utf_string_conversions.h" | 13 #include "base/utf_string_conversions.h" |
14 #include "chrome/browser/chromeos/input_method/candidate_window_constants.h" | 14 #include "chrome/browser/chromeos/input_method/candidate_window_constants.h" |
15 #include "chrome/browser/chromeos/input_method/hidable_area.h" | 15 #include "chrome/browser/chromeos/input_method/hidable_area.h" |
16 #include "chrome/browser/chromeos/input_method/ibus_ui_controller.h" | |
17 #include "grit/generated_resources.h" | 16 #include "grit/generated_resources.h" |
18 #include "ui/base/l10n/l10n_util.h" | 17 #include "ui/base/l10n/l10n_util.h" |
19 #include "ui/gfx/font.h" | 18 #include "ui/gfx/font.h" |
20 #include "ui/views/controls/label.h" | 19 #include "ui/views/controls/label.h" |
21 #include "ui/views/layout/box_layout.h" | 20 #include "ui/views/layout/box_layout.h" |
22 #include "ui/views/layout/grid_layout.h" | 21 #include "ui/views/layout/grid_layout.h" |
23 #include "ui/views/widget/widget.h" | 22 #include "ui/views/widget/widget.h" |
24 | 23 |
25 namespace chromeos { | 24 namespace chromeos { |
26 namespace input_method { | 25 namespace input_method { |
(...skipping 185 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
212 infolist_area_->SchedulePaint(); | 211 infolist_area_->SchedulePaint(); |
213 } | 212 } |
214 | 213 |
215 // static | 214 // static |
216 const size_t InfolistWindowView::InvalidFocusIndex() { | 215 const size_t InfolistWindowView::InvalidFocusIndex() { |
217 return std::numeric_limits<size_t>::max(); | 216 return std::numeric_limits<size_t>::max(); |
218 } | 217 } |
219 | 218 |
220 } // namespace input_method | 219 } // namespace input_method |
221 } // namespace chromeos | 220 } // namespace chromeos |
OLD | NEW |