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

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::SetHostWindowProperty(const std::string& name,
443 int value) {
Daniel Erat 2013/01/30 21:04:27 nit: NOTIMPLEMENTED()
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 315 matching lines...) Expand 10 before | Expand all | Expand 10 after
767 DesktopRootWindowHost* DesktopRootWindowHost::Create( 771 DesktopRootWindowHost* DesktopRootWindowHost::Create(
768 internal::NativeWidgetDelegate* native_widget_delegate, 772 internal::NativeWidgetDelegate* native_widget_delegate,
769 DesktopNativeWidgetAura* desktop_native_widget_aura, 773 DesktopNativeWidgetAura* desktop_native_widget_aura,
770 const gfx::Rect& initial_bounds) { 774 const gfx::Rect& initial_bounds) {
771 return new DesktopRootWindowHostWin(native_widget_delegate, 775 return new DesktopRootWindowHostWin(native_widget_delegate,
772 desktop_native_widget_aura, 776 desktop_native_widget_aura,
773 initial_bounds); 777 initial_bounds);
774 } 778 }
775 779
776 } // namespace views 780 } // namespace views
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698