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

Side by Side Diff: ash/ime/infolist_window.cc

Issue 194843004: Move files from ui/views/corewm to ui/wm/core (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 6 years, 9 months 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
« no previous file with comments | « ash/ime/candidate_window_view.cc ('k') | ash/ime/mode_indicator_view.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 #include "ash/ime/infolist_window.h" 5 #include "ash/ime/infolist_window.h"
6 6
7 #include <string> 7 #include <string>
8 #include <vector> 8 #include <vector>
9 9
10 #include "ash/ime/candidate_window_constants.h" 10 #include "ash/ime/candidate_window_constants.h"
11 #include "base/logging.h" 11 #include "base/logging.h"
12 #include "grit/ash_strings.h" 12 #include "grit/ash_strings.h"
13 #include "ui/base/l10n/l10n_util.h" 13 #include "ui/base/l10n/l10n_util.h"
14 #include "ui/gfx/color_utils.h" 14 #include "ui/gfx/color_utils.h"
15 #include "ui/native_theme/native_theme.h" 15 #include "ui/native_theme/native_theme.h"
16 #include "ui/views/background.h" 16 #include "ui/views/background.h"
17 #include "ui/views/border.h" 17 #include "ui/views/border.h"
18 #include "ui/views/bubble/bubble_border.h" 18 #include "ui/views/bubble/bubble_border.h"
19 #include "ui/views/bubble/bubble_frame_view.h" 19 #include "ui/views/bubble/bubble_frame_view.h"
20 #include "ui/views/controls/label.h" 20 #include "ui/views/controls/label.h"
21 #include "ui/views/corewm/window_animations.h"
22 #include "ui/views/layout/box_layout.h" 21 #include "ui/views/layout/box_layout.h"
23 #include "ui/views/widget/widget.h" 22 #include "ui/views/widget/widget.h"
23 #include "ui/wm/core/window_animations.h"
24 24
25 namespace ash { 25 namespace ash {
26 namespace ime { 26 namespace ime {
27 27
28 namespace { 28 namespace {
29 // The width of an info-list. 29 // The width of an info-list.
30 const int kInfolistEntryWidth = 200; 30 const int kInfolistEntryWidth = 200;
31 31
32 // The milliseconds of the delay to show the infolist window. 32 // The milliseconds of the delay to show the infolist window.
33 const int kInfolistShowDelayMilliSeconds = 500; 33 const int kInfolistShowDelayMilliSeconds = 500;
(...skipping 236 matching lines...) Expand 10 before | Expand all | Expand 10 after
270 show_hide_timer_.Stop(); 270 show_hide_timer_.Stop();
271 GetWidget()->Close(); 271 GetWidget()->Close();
272 } 272 }
273 273
274 void InfolistWindow::WindowClosing() { 274 void InfolistWindow::WindowClosing() {
275 show_hide_timer_.Stop(); 275 show_hide_timer_.Stop();
276 } 276 }
277 277
278 } // namespace ime 278 } // namespace ime
279 } // namespace ash 279 } // namespace ash
OLDNEW
« no previous file with comments | « ash/ime/candidate_window_view.cc ('k') | ash/ime/mode_indicator_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698