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

Side by Side Diff: ui/views/widget/desktop_aura/desktop_window_tree_host_win.cc

Issue 275183002: patch from issue 218843002 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebased Created 6 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
« no previous file with comments | « ui/views/views.gyp ('k') | ui/views/widget/widget.cc » ('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/desktop_aura/desktop_window_tree_host_win.h" 5 #include "ui/views/widget/desktop_aura/desktop_window_tree_host_win.h"
6 6
7 #include "base/win/metro.h" 7 #include "base/win/metro.h"
8 #include "third_party/skia/include/core/SkPath.h" 8 #include "third_party/skia/include/core/SkPath.h"
9 #include "third_party/skia/include/core/SkRegion.h" 9 #include "third_party/skia/include/core/SkRegion.h"
10 #include "ui/aura/client/aura_constants.h" 10 #include "ui/aura/client/aura_constants.h"
(...skipping 638 matching lines...) Expand 10 before | Expand all | Expand 10 after
649 649
650 gfx::Size DesktopWindowTreeHostWin::GetRootViewSize() const { 650 gfx::Size DesktopWindowTreeHostWin::GetRootViewSize() const {
651 return GetWidget()->GetRootView()->size(); 651 return GetWidget()->GetRootView()->size();
652 } 652 }
653 653
654 void DesktopWindowTreeHostWin::ResetWindowControls() { 654 void DesktopWindowTreeHostWin::ResetWindowControls() {
655 GetWidget()->non_client_view()->ResetWindowControls(); 655 GetWidget()->non_client_view()->ResetWindowControls();
656 } 656 }
657 657
658 void DesktopWindowTreeHostWin::PaintLayeredWindow(gfx::Canvas* canvas) { 658 void DesktopWindowTreeHostWin::PaintLayeredWindow(gfx::Canvas* canvas) {
659 GetWidget()->GetRootView()->Paint(canvas); 659 GetWidget()->GetRootView()->Paint(canvas, views::CullSet());
660 } 660 }
661 661
662 gfx::NativeViewAccessible DesktopWindowTreeHostWin::GetNativeViewAccessible() { 662 gfx::NativeViewAccessible DesktopWindowTreeHostWin::GetNativeViewAccessible() {
663 return GetWidget()->GetRootView()->GetNativeViewAccessible(); 663 return GetWidget()->GetRootView()->GetNativeViewAccessible();
664 } 664 }
665 665
666 InputMethod* DesktopWindowTreeHostWin::GetInputMethod() { 666 InputMethod* DesktopWindowTreeHostWin::GetInputMethod() {
667 return GetWidget()->GetInputMethodDirect(); 667 return GetWidget()->GetInputMethodDirect();
668 } 668 }
669 669
(...skipping 281 matching lines...) Expand 10 before | Expand all | Expand 10 after
951 951
952 // static 952 // static
953 DesktopWindowTreeHost* DesktopWindowTreeHost::Create( 953 DesktopWindowTreeHost* DesktopWindowTreeHost::Create(
954 internal::NativeWidgetDelegate* native_widget_delegate, 954 internal::NativeWidgetDelegate* native_widget_delegate,
955 DesktopNativeWidgetAura* desktop_native_widget_aura) { 955 DesktopNativeWidgetAura* desktop_native_widget_aura) {
956 return new DesktopWindowTreeHostWin(native_widget_delegate, 956 return new DesktopWindowTreeHostWin(native_widget_delegate,
957 desktop_native_widget_aura); 957 desktop_native_widget_aura);
958 } 958 }
959 959
960 } // namespace views 960 } // namespace views
OLDNEW
« no previous file with comments | « ui/views/views.gyp ('k') | ui/views/widget/widget.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698