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

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, 7 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
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 144 matching lines...) Expand 10 before | Expand all | Expand 10 after
155 155
156 ui::Compositor* NativeWidgetWin::GetCompositor() { 156 ui::Compositor* NativeWidgetWin::GetCompositor() {
157 return NULL; 157 return NULL;
158 } 158 }
159 159
160 gfx::Vector2d NativeWidgetWin::CalculateOffsetToAncestorWithLayer( 160 gfx::Vector2d NativeWidgetWin::CalculateOffsetToAncestorWithLayer(
161 ui::Layer** layer_parent) { 161 ui::Layer** layer_parent) {
162 return gfx::Vector2d(); 162 return gfx::Vector2d();
163 } 163 }
164 164
165 void NativeWidgetWin::ReorderLayers() {
166 }
167
168 bool NativeWidgetWin::HasNativeViewAttachedToViewTree() const {
169 NOTIMPLEMENTED();
170 return false;
171 }
172
165 void NativeWidgetWin::ViewRemoved(View* view) { 173 void NativeWidgetWin::ViewRemoved(View* view) {
166 if (drop_target_.get()) 174 if (drop_target_.get())
167 drop_target_->ResetTargetViewIfEquals(view); 175 drop_target_->ResetTargetViewIfEquals(view);
168 } 176 }
169 177
170 void NativeWidgetWin::SetNativeWindowProperty(const char* name, void* value) { 178 void NativeWidgetWin::SetNativeWindowProperty(const char* name, void* value) {
171 // Remove the existing property (if any). 179 // Remove the existing property (if any).
172 for (ViewProps::iterator i = props_.begin(); i != props_.end(); ++i) { 180 for (ViewProps::iterator i = props_.begin(); i != props_.end(); ++i) {
173 if ((*i)->Key() == name) { 181 if ((*i)->Key() == name) {
174 props_.erase(i); 182 props_.erase(i);
(...skipping 798 matching lines...) Expand 10 before | Expand all | Expand 10 after
973 // static 981 // static
974 bool NativeWidgetPrivate::IsTouchDown() { 982 bool NativeWidgetPrivate::IsTouchDown() {
975 // This currently isn't necessary because we're not generating touch events on 983 // This currently isn't necessary because we're not generating touch events on
976 // windows. When we do, this will need to be updated. 984 // windows. When we do, this will need to be updated.
977 return false; 985 return false;
978 } 986 }
979 987
980 } // namespace internal 988 } // namespace internal
981 989
982 } // namespace views 990 } // namespace views
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698