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

Side by Side Diff: views/widget/native_widget_aura.cc

Issue 7970001: Better Z-index support. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 3 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
« ui/aura/window.cc ('K') | « ui/aura_shell/status_area_view.cc ('k') | no next file » | 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/native_widget_aura.h" 5 #include "views/widget/native_widget_aura.h"
6 6
7 #include "ui/aura/event.h" 7 #include "ui/aura/event.h"
8 #include "ui/aura/window.h" 8 #include "ui/aura/window.h"
9 #include "ui/gfx/canvas.h" 9 #include "ui/gfx/canvas.h"
10 #include "ui/gfx/compositor/layer.h" 10 #include "ui/gfx/compositor/layer.h"
(...skipping 453 matching lines...) Expand 10 before | Expand all | Expand 10 after
464 } 464 }
465 465
466 // static 466 // static
467 NativeWidgetPrivate* NativeWidgetPrivate::GetTopLevelNativeWidget( 467 NativeWidgetPrivate* NativeWidgetPrivate::GetTopLevelNativeWidget(
468 gfx::NativeView native_view) { 468 gfx::NativeView native_view) {
469 if (!native_view) 469 if (!native_view)
470 return NULL; 470 return NULL;
471 aura::Window* toplevel = native_view; 471 aura::Window* toplevel = native_view;
472 aura::Window* parent = native_view->parent(); 472 aura::Window* parent = native_view->parent();
473 while (parent) { 473 while (parent) {
474 if (parent->IsTopLevelWindowContainer()) 474 if (parent->IsToplevelWindowContainer())
475 return GetNativeWidgetForNativeView(toplevel); 475 return GetNativeWidgetForNativeView(toplevel);
476 toplevel = parent; 476 toplevel = parent;
477 parent = parent->parent(); 477 parent = parent->parent();
478 } 478 }
479 return NULL; 479 return NULL;
480 } 480 }
481 481
482 // static 482 // static
483 void NativeWidgetPrivate::GetAllChildWidgets(gfx::NativeView native_view, 483 void NativeWidgetPrivate::GetAllChildWidgets(gfx::NativeView native_view,
484 Widget::Widgets* children) { 484 Widget::Widgets* children) {
485 NOTIMPLEMENTED(); 485 NOTIMPLEMENTED();
486 } 486 }
487 487
488 // static 488 // static
489 void NativeWidgetPrivate::ReparentNativeView(gfx::NativeView native_view, 489 void NativeWidgetPrivate::ReparentNativeView(gfx::NativeView native_view,
490 gfx::NativeView new_parent) { 490 gfx::NativeView new_parent) {
491 NOTIMPLEMENTED(); 491 NOTIMPLEMENTED();
492 } 492 }
493 493
494 // static 494 // static
495 bool NativeWidgetPrivate::IsMouseButtonDown() { 495 bool NativeWidgetPrivate::IsMouseButtonDown() {
496 NOTIMPLEMENTED(); 496 NOTIMPLEMENTED();
497 return false; 497 return false;
498 } 498 }
499 499
500 } // namespace internal 500 } // namespace internal
501 } // namespace views 501 } // namespace views
OLDNEW
« ui/aura/window.cc ('K') | « ui/aura_shell/status_area_view.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698