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

Side by Side Diff: ash/ime/candidate_window_view.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/drag_drop/drag_image_view.cc ('k') | ash/ime/infolist_window.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/candidate_window_view.h" 5 #include "ash/ime/candidate_window_view.h"
6 6
7 #include <string> 7 #include <string>
8 8
9 #include "ash/ime/candidate_view.h" 9 #include "ash/ime/candidate_view.h"
10 #include "ash/ime/candidate_window_constants.h" 10 #include "ash/ime/candidate_window_constants.h"
11 #include "base/strings/utf_string_conversions.h" 11 #include "base/strings/utf_string_conversions.h"
12 #include "ui/gfx/color_utils.h" 12 #include "ui/gfx/color_utils.h"
13 #include "ui/gfx/screen.h" 13 #include "ui/gfx/screen.h"
14 #include "ui/native_theme/native_theme.h" 14 #include "ui/native_theme/native_theme.h"
15 #include "ui/views/background.h" 15 #include "ui/views/background.h"
16 #include "ui/views/border.h" 16 #include "ui/views/border.h"
17 #include "ui/views/bubble/bubble_frame_view.h" 17 #include "ui/views/bubble/bubble_frame_view.h"
18 #include "ui/views/controls/label.h" 18 #include "ui/views/controls/label.h"
19 #include "ui/views/corewm/window_animations.h"
20 #include "ui/views/layout/box_layout.h" 19 #include "ui/views/layout/box_layout.h"
21 #include "ui/views/layout/fill_layout.h" 20 #include "ui/views/layout/fill_layout.h"
21 #include "ui/wm/core/window_animations.h"
22 22
23 namespace ash { 23 namespace ash {
24 namespace ime { 24 namespace ime {
25 25
26 namespace { 26 namespace {
27 27
28 class CandidateWindowBorder : public views::BubbleBorder { 28 class CandidateWindowBorder : public views::BubbleBorder {
29 public: 29 public:
30 explicit CandidateWindowBorder(gfx::NativeView parent) 30 explicit CandidateWindowBorder(gfx::NativeView parent)
31 : views::BubbleBorder(views::BubbleBorder::TOP_CENTER, 31 : views::BubbleBorder(views::BubbleBorder::TOP_CENTER,
(...skipping 366 matching lines...) Expand 10 before | Expand all | Expand 10 after
398 for (size_t i = 0; i < candidate_views_.size(); ++i) { 398 for (size_t i = 0; i < candidate_views_.size(); ++i) {
399 if (sender == candidate_views_[i]) { 399 if (sender == candidate_views_[i]) {
400 FOR_EACH_OBSERVER(Observer, observers_, OnCandidateCommitted(i)); 400 FOR_EACH_OBSERVER(Observer, observers_, OnCandidateCommitted(i));
401 return; 401 return;
402 } 402 }
403 } 403 }
404 } 404 }
405 405
406 } // namespace ime 406 } // namespace ime
407 } // namespace ash 407 } // namespace ash
OLDNEW
« no previous file with comments | « ash/drag_drop/drag_image_view.cc ('k') | ash/ime/infolist_window.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698