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

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

Issue 12047111: Set scale/orientation property to aura root window (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 10 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/desktop_aura/desktop_root_window_host_win.h" 5 #include "ui/views/widget/desktop_aura/desktop_root_window_host_win.h"
6 6
7 #include "third_party/skia/include/core/SkPath.h" 7 #include "third_party/skia/include/core/SkPath.h"
8 #include "third_party/skia/include/core/SkRegion.h" 8 #include "third_party/skia/include/core/SkRegion.h"
9 #include "ui/aura/client/aura_constants.h" 9 #include "ui/aura/client/aura_constants.h"
10 #include "ui/aura/client/default_capture_client.h" 10 #include "ui/aura/client/default_capture_client.h"
(...skipping 421 matching lines...) Expand 10 before | Expand all | Expand 10 after
432 const base::NativeEvent& native_event) { 432 const base::NativeEvent& native_event) {
433 } 433 }
434 434
435 void DesktopRootWindowHostWin::OnDeviceScaleFactorChanged( 435 void DesktopRootWindowHostWin::OnDeviceScaleFactorChanged(
436 float device_scale_factor) { 436 float device_scale_factor) {
437 } 437 }
438 438
439 void DesktopRootWindowHostWin::PrepareForShutdown() { 439 void DesktopRootWindowHostWin::PrepareForShutdown() {
440 } 440 }
441 441
442 void DesktopRootWindowHostWin::SetIntProperty(const std::string& name,
443 int value) {
444 }
445
442 //////////////////////////////////////////////////////////////////////////////// 446 ////////////////////////////////////////////////////////////////////////////////
443 // DesktopRootWindowHostWin, HWNDMessageHandlerDelegate implementation: 447 // DesktopRootWindowHostWin, HWNDMessageHandlerDelegate implementation:
444 448
445 bool DesktopRootWindowHostWin::IsWidgetWindow() const { 449 bool DesktopRootWindowHostWin::IsWidgetWindow() const {
446 return true; 450 return true;
447 } 451 }
448 452
449 bool DesktopRootWindowHostWin::IsUsingCustomFrame() const { 453 bool DesktopRootWindowHostWin::IsUsingCustomFrame() const {
450 return !GetWidget()->ShouldUseNativeFrame(); 454 return !GetWidget()->ShouldUseNativeFrame();
451 } 455 }
(...skipping 313 matching lines...) Expand 10 before | Expand all | Expand 10 after
765 DesktopRootWindowHost* DesktopRootWindowHost::Create( 769 DesktopRootWindowHost* DesktopRootWindowHost::Create(
766 internal::NativeWidgetDelegate* native_widget_delegate, 770 internal::NativeWidgetDelegate* native_widget_delegate,
767 DesktopNativeWidgetAura* desktop_native_widget_aura, 771 DesktopNativeWidgetAura* desktop_native_widget_aura,
768 const gfx::Rect& initial_bounds) { 772 const gfx::Rect& initial_bounds) {
769 return new DesktopRootWindowHostWin(native_widget_delegate, 773 return new DesktopRootWindowHostWin(native_widget_delegate,
770 desktop_native_widget_aura, 774 desktop_native_widget_aura,
771 initial_bounds); 775 initial_bounds);
772 } 776 }
773 777
774 } // namespace views 778 } // namespace views
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698