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

Side by Side Diff: ui/views/widget/root_view.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
« no previous file with comments | « ui/views/widget/root_view.h ('k') | ui/views/widget/tooltip_manager.h » ('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/root_view.h" 5 #include "ui/views/widget/root_view.h"
6 6
7 #include <algorithm> 7 #include <algorithm>
8 8
9 #include "base/logging.h" 9 #include "base/logging.h"
10 #include "base/message_loop.h" 10 #include "base/message_loop.h"
11 #include "ui/base/accessibility/accessible_view_state.h" 11 #include "ui/base/accessibility/accessible_view_state.h"
12 #include "ui/base/dragdrop/drag_drop_types.h" 12 #include "ui/base/dragdrop/drag_drop_types.h"
13 #include "ui/base/keycodes/keyboard_codes.h" 13 #include "ui/base/keycodes/keyboard_codes.h"
14 #include "ui/gfx/canvas_skia.h" 14 #include "ui/gfx/canvas_skia.h"
15 #include "ui/gfx/compositor/layer.h" 15 #include "ui/gfx/compositor/layer.h"
16 #include "ui/views/focus/view_storage.h" 16 #include "ui/views/focus/view_storage.h"
17 #include "ui/views/layout/fill_layout.h" 17 #include "ui/views/layout/fill_layout.h"
18 #include "ui/views/touchui/gesture_manager.h" 18 #include "ui/views/touchui/gesture_manager.h"
19 #include "views/widget/widget.h" 19 #include "ui/views/widget/widget.h"
20 20
21 namespace views { 21 namespace views {
22 namespace internal { 22 namespace internal {
23 23
24 // static 24 // static
25 const char RootView::kViewClassName[] = "views/RootView"; 25 const char RootView::kViewClassName[] = "views/RootView";
26 26
27 //////////////////////////////////////////////////////////////////////////////// 27 ////////////////////////////////////////////////////////////////////////////////
28 // RootView, public: 28 // RootView, public:
29 29
(...skipping 416 matching lines...) Expand 10 before | Expand all | Expand 10 after
446 } 446 }
447 447
448 void RootView::SetMouseLocationAndFlags(const MouseEvent& event) { 448 void RootView::SetMouseLocationAndFlags(const MouseEvent& event) {
449 last_mouse_event_flags_ = event.flags(); 449 last_mouse_event_flags_ = event.flags();
450 last_mouse_event_x_ = event.x(); 450 last_mouse_event_x_ = event.x();
451 last_mouse_event_y_ = event.y(); 451 last_mouse_event_y_ = event.y();
452 } 452 }
453 453
454 } // namespace internal 454 } // namespace internal
455 } // namespace views 455 } // namespace views
OLDNEW
« no previous file with comments | « ui/views/widget/root_view.h ('k') | ui/views/widget/tooltip_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698