OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 "ui/views/widget/native_widget_win.h" | 5 #include "ui/views/widget/native_widget_win.h" |
6 | 6 |
7 #include <dwmapi.h> | 7 #include <dwmapi.h> |
8 #include <shellapi.h> | 8 #include <shellapi.h> |
9 | 9 |
10 #include <algorithm> | 10 #include <algorithm> |
(...skipping 143 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
154 } | 154 } |
155 | 155 |
156 ui::Compositor* NativeWidgetWin::GetCompositor() { | 156 ui::Compositor* NativeWidgetWin::GetCompositor() { |
157 return NULL; | 157 return NULL; |
158 } | 158 } |
159 | 159 |
160 ui::Layer* NativeWidgetWin::GetLayer() { | 160 ui::Layer* NativeWidgetWin::GetLayer() { |
161 return NULL; | 161 return NULL; |
162 } | 162 } |
163 | 163 |
| 164 void NativeWidgetWin::ReorderNativeViews() { |
| 165 } |
| 166 |
164 void NativeWidgetWin::ViewRemoved(View* view) { | 167 void NativeWidgetWin::ViewRemoved(View* view) { |
165 if (drop_target_.get()) | 168 if (drop_target_.get()) |
166 drop_target_->ResetTargetViewIfEquals(view); | 169 drop_target_->ResetTargetViewIfEquals(view); |
167 } | 170 } |
168 | 171 |
169 void NativeWidgetWin::SetNativeWindowProperty(const char* name, void* value) { | 172 void NativeWidgetWin::SetNativeWindowProperty(const char* name, void* value) { |
170 // Remove the existing property (if any). | 173 // Remove the existing property (if any). |
171 for (ViewProps::iterator i = props_.begin(); i != props_.end(); ++i) { | 174 for (ViewProps::iterator i = props_.begin(); i != props_.end(); ++i) { |
172 if ((*i)->Key() == name) { | 175 if ((*i)->Key() == name) { |
173 props_.erase(i); | 176 props_.erase(i); |
(...skipping 798 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
972 // static | 975 // static |
973 bool NativeWidgetPrivate::IsTouchDown() { | 976 bool NativeWidgetPrivate::IsTouchDown() { |
974 // This currently isn't necessary because we're not generating touch events on | 977 // This currently isn't necessary because we're not generating touch events on |
975 // windows. When we do, this will need to be updated. | 978 // windows. When we do, this will need to be updated. |
976 return false; | 979 return false; |
977 } | 980 } |
978 | 981 |
979 } // namespace internal | 982 } // namespace internal |
980 | 983 |
981 } // namespace views | 984 } // namespace views |
OLD | NEW |