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

Side by Side Diff: chrome/browser/chromeos/input_method/candidate_window.cc

Issue 8598031: views: Move widget/ directory to ui/views. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: reland for real Created 9 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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_window_view.h" 19 #include "chrome/browser/chromeos/input_method/candidate_window_view.h"
20 #include "chrome/browser/chromeos/input_method/ibus_ui_controller.h" 20 #include "chrome/browser/chromeos/input_method/ibus_ui_controller.h"
21 #include "grit/generated_resources.h" 21 #include "grit/generated_resources.h"
22 #include "ui/base/l10n/l10n_util.h" 22 #include "ui/base/l10n/l10n_util.h"
23 #include "ui/gfx/canvas.h" 23 #include "ui/gfx/canvas.h"
24 #include "ui/gfx/font.h" 24 #include "ui/gfx/font.h"
25 #include "ui/gfx/screen.h" 25 #include "ui/gfx/screen.h"
26 #include "ui/views/events/event.h" 26 #include "ui/views/events/event.h"
27 #include "ui/views/layout/fill_layout.h" 27 #include "ui/views/layout/fill_layout.h"
28 #include "ui/views/layout/grid_layout.h" 28 #include "ui/views/layout/grid_layout.h"
29 #include "ui/views/widget/widget.h"
29 #include "ui/views/window/non_client_view.h" 30 #include "ui/views/window/non_client_view.h"
30 #include "views/controls/label.h" 31 #include "views/controls/label.h"
31 #include "views/controls/textfield/textfield.h" 32 #include "views/controls/textfield/textfield.h"
32 #include "views/widget/widget.h"
33 33
34 namespace chromeos { 34 namespace chromeos {
35 namespace input_method { 35 namespace input_method {
36 36
37 namespace { 37 namespace {
38 38
39 // Colors used in the candidate window UI. 39 // Colors used in the candidate window UI.
40 const SkColor kFrameColor = SkColorSetRGB(0x96, 0x96, 0x96); 40 const SkColor kFrameColor = SkColorSetRGB(0x96, 0x96, 0x96);
41 const SkColor kShortcutBackgroundColor = SkColorSetARGB(0x10, 0x3, 0x4, 0xf); 41 const SkColor kShortcutBackgroundColor = SkColorSetARGB(0x10, 0x3, 0x4, 0xf);
42 const SkColor kSelectedRowBackgroundColor = SkColorSetRGB(0xd1, 0xea, 0xff); 42 const SkColor kSelectedRowBackgroundColor = SkColorSetRGB(0xd1, 0xea, 0xff);
(...skipping 1635 matching lines...) Expand 10 before | Expand all | Expand 10 after
1678 CandidateWindowController::~CandidateWindowController() { 1678 CandidateWindowController::~CandidateWindowController() {
1679 delete impl_; 1679 delete impl_;
1680 } 1680 }
1681 1681
1682 bool CandidateWindowController::Init() { 1682 bool CandidateWindowController::Init() {
1683 return impl_->Init(); 1683 return impl_->Init();
1684 } 1684 }
1685 1685
1686 } // namespace input_method 1686 } // namespace input_method
1687 } // namespace chromeos 1687 } // namespace chromeos
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/frame/panel_controller.cc ('k') | chrome/browser/chromeos/login/background_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698