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

Side by Side Diff: views/widget/native_widget_views.cc

Issue 8581003: views: Move ime and test directories to ui/views. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix linux 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
« no previous file with comments | « views/widget/native_widget_unittest.cc ('k') | views/widget/native_widget_wayland.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 (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 "views/widget/native_widget_views.h" 5 #include "views/widget/native_widget_views.h"
6 6
7 #include "base/bind.h" 7 #include "base/bind.h"
8 #include "ui/base/hit_test.h" 8 #include "ui/base/hit_test.h"
9 #include "ui/gfx/compositor/compositor.h" 9 #include "ui/gfx/compositor/compositor.h"
10 #include "ui/gfx/compositor/layer.h" 10 #include "ui/gfx/compositor/layer.h"
11 #include "ui/gfx/compositor/layer_animator.h" 11 #include "ui/gfx/compositor/layer_animator.h"
12 #include "views/view.h" 12 #include "views/view.h"
13 #include "views/views_delegate.h" 13 #include "views/views_delegate.h"
14 #include "views/widget/native_widget_view.h" 14 #include "views/widget/native_widget_view.h"
15 #include "views/widget/root_view.h" 15 #include "views/widget/root_view.h"
16 #include "views/widget/tooltip_manager_views.h" 16 #include "views/widget/tooltip_manager_views.h"
17 #include "views/widget/window_manager.h" 17 #include "views/widget/window_manager.h"
18 18
19 #if defined(HAVE_IBUS) 19 #if defined(HAVE_IBUS)
20 #include "views/ime/input_method_ibus.h" 20 #include "ui/views/ime/input_method_ibus.h"
21 #else 21 #else
22 #include "views/ime/mock_input_method.h" 22 #include "ui/views/ime/mock_input_method.h"
23 #endif 23 #endif
24 24
25 namespace { 25 namespace {
26 26
27 gfx::Rect AdjustRectOriginForParentWidget(const gfx::Rect& rect, 27 gfx::Rect AdjustRectOriginForParentWidget(const gfx::Rect& rect,
28 const views::Widget* parent) { 28 const views::Widget* parent) {
29 if (!parent) 29 if (!parent)
30 return rect; 30 return rect;
31 31
32 gfx::Rect adjusted = rect; 32 gfx::Rect adjusted = rect;
(...skipping 606 matching lines...) Expand 10 before | Expand all | Expand 10 after
639 } 639 }
640 default: 640 default:
641 // Everything else falls into standard client event handling. 641 // Everything else falls into standard client event handling.
642 break; 642 break;
643 } 643 }
644 } 644 }
645 return false; 645 return false;
646 } 646 }
647 647
648 } // namespace views 648 } // namespace views
OLDNEW
« no previous file with comments | « views/widget/native_widget_unittest.cc ('k') | views/widget/native_widget_wayland.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698