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

Side by Side Diff: ui/views/widget/native_widget_win.cc

Issue 15114002: Reorder the NativeViews attached to a view via kViewHostKey according to the position of the view (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 6 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 | « ui/views/widget/native_widget_win.h ('k') | ui/views/widget/widget.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) 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
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
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
OLDNEW
« no previous file with comments | « ui/views/widget/native_widget_win.h ('k') | ui/views/widget/widget.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698