| OLD | NEW |
| 1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2006-2008 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/views/widget/root_view.h" | 5 #include "chrome/views/widget/root_view.h" |
| 6 | 6 |
| 7 #include <algorithm> | 7 #include <algorithm> |
| 8 | 8 |
| 9 #include "app/drag_drop_types.h" |
| 9 #include "app/gfx/chrome_canvas.h" | 10 #include "app/gfx/chrome_canvas.h" |
| 10 #if defined(OS_WIN) | 11 #if defined(OS_WIN) |
| 11 #include "base/base_drag_source.h" | 12 #include "base/base_drag_source.h" |
| 12 #endif | 13 #endif |
| 13 #include "base/logging.h" | 14 #include "base/logging.h" |
| 14 #include "base/message_loop.h" | 15 #include "base/message_loop.h" |
| 15 #include "chrome/common/drag_drop_types.h" | |
| 16 #include "chrome/common/notification_service.h" | 16 #include "chrome/common/notification_service.h" |
| 17 #if defined(OS_WIN) | 17 #if defined(OS_WIN) |
| 18 #include "chrome/views/widget/root_view_drop_target.h" | 18 #include "chrome/views/widget/root_view_drop_target.h" |
| 19 #endif | 19 #endif |
| 20 #include "chrome/views/widget/widget.h" | 20 #include "chrome/views/widget/widget.h" |
| 21 | 21 |
| 22 namespace views { | 22 namespace views { |
| 23 | 23 |
| 24 ///////////////////////////////////////////////////////////////////////////// | 24 ///////////////////////////////////////////////////////////////////////////// |
| 25 // | 25 // |
| (...skipping 951 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 977 | 977 |
| 978 void RootView::SetAccessibleName(const std::wstring& name) { | 978 void RootView::SetAccessibleName(const std::wstring& name) { |
| 979 accessible_name_.assign(name); | 979 accessible_name_.assign(name); |
| 980 } | 980 } |
| 981 | 981 |
| 982 View* RootView::GetDragView() { | 982 View* RootView::GetDragView() { |
| 983 return drag_view_; | 983 return drag_view_; |
| 984 } | 984 } |
| 985 | 985 |
| 986 } // namespace views | 986 } // namespace views |
| OLD | NEW |