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

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

Issue 8202026: views: Some more layer change, and add/update some tests for layers. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 9 years, 2 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) 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 "base/bind.h" 7 #include "base/bind.h"
8 #include "ui/aura/desktop.h" 8 #include "ui/aura/desktop.h"
9 #include "ui/aura/event.h" 9 #include "ui/aura/event.h"
10 #include "ui/aura/window.h" 10 #include "ui/aura/window.h"
(...skipping 514 matching lines...) Expand 10 before | Expand all | Expand 10 after
525 delegate_->OnNativeWidgetDestroying(); 525 delegate_->OnNativeWidgetDestroying();
526 } 526 }
527 527
528 void NativeWidgetAura::OnWindowDestroyed() { 528 void NativeWidgetAura::OnWindowDestroyed() {
529 window_ = NULL; 529 window_ = NULL;
530 delegate_->OnNativeWidgetDestroyed(); 530 delegate_->OnNativeWidgetDestroyed();
531 if (ownership_ == Widget::InitParams::NATIVE_WIDGET_OWNS_WIDGET) 531 if (ownership_ == Widget::InitParams::NATIVE_WIDGET_OWNS_WIDGET)
532 delete this; 532 delete this;
533 } 533 }
534 534
535 void NativeWidgetAura::OnWindowVisibilityChanged(bool visible) {
536 delegate_->OnNativeWidgetVisibilityChanged(visible);
537 }
538
535 //////////////////////////////////////////////////////////////////////////////// 539 ////////////////////////////////////////////////////////////////////////////////
536 // Widget, public: 540 // Widget, public:
537 541
538 // static 542 // static
539 void Widget::NotifyLocaleChanged() { 543 void Widget::NotifyLocaleChanged() {
540 NOTIMPLEMENTED(); 544 NOTIMPLEMENTED();
541 } 545 }
542 546
543 // static 547 // static
544 void Widget::CloseAllSecondaryWidgets() { 548 void Widget::CloseAllSecondaryWidgets() {
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after
618 } 622 }
619 623
620 // static 624 // static
621 bool NativeWidgetPrivate::IsMouseButtonDown() { 625 bool NativeWidgetPrivate::IsMouseButtonDown() {
622 NOTIMPLEMENTED(); 626 NOTIMPLEMENTED();
623 return false; 627 return false;
624 } 628 }
625 629
626 } // namespace internal 630 } // namespace internal
627 } // namespace views 631 } // namespace views
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698