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

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

Issue 11308083: Fix the html select tag showing up at the wrong position. This was a regression from r166446. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: fix win_rel Created 8 years, 1 month 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
« no previous file with comments | « ui/aura/root_window_host_win.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) 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 626 matching lines...) Expand 10 before | Expand all | Expand 10 after
637 void DesktopRootWindowHostWin::HandleBeginWMSizeMove() { 637 void DesktopRootWindowHostWin::HandleBeginWMSizeMove() {
638 native_widget_delegate_->OnNativeWidgetBeginUserBoundsChange(); 638 native_widget_delegate_->OnNativeWidgetBeginUserBoundsChange();
639 } 639 }
640 640
641 void DesktopRootWindowHostWin::HandleEndWMSizeMove() { 641 void DesktopRootWindowHostWin::HandleEndWMSizeMove() {
642 native_widget_delegate_->OnNativeWidgetEndUserBoundsChange(); 642 native_widget_delegate_->OnNativeWidgetEndUserBoundsChange();
643 } 643 }
644 644
645 void DesktopRootWindowHostWin::HandleMove() { 645 void DesktopRootWindowHostWin::HandleMove() {
646 native_widget_delegate_->OnNativeWidgetMove(); 646 native_widget_delegate_->OnNativeWidgetMove();
647 if (root_window_host_delegate_)
648 root_window_host_delegate_->OnHostMoved(GetBounds().origin());
647 } 649 }
648 650
649 void DesktopRootWindowHostWin::HandleWorkAreaChanged() { 651 void DesktopRootWindowHostWin::HandleWorkAreaChanged() {
650 GetWidget()->widget_delegate()->OnWorkAreaChanged(); 652 GetWidget()->widget_delegate()->OnWorkAreaChanged();
651 } 653 }
652 654
653 void DesktopRootWindowHostWin::HandleVisibilityChanged(bool visible) { 655 void DesktopRootWindowHostWin::HandleVisibilityChanged(bool visible) {
654 native_widget_delegate_->OnNativeWidgetVisibilityChanged(visible); 656 native_widget_delegate_->OnNativeWidgetVisibilityChanged(visible);
655 } 657 }
656 658
(...skipping 127 matching lines...) Expand 10 before | Expand all | Expand 10 after
784 DesktopRootWindowHost* DesktopRootWindowHost::Create( 786 DesktopRootWindowHost* DesktopRootWindowHost::Create(
785 internal::NativeWidgetDelegate* native_widget_delegate, 787 internal::NativeWidgetDelegate* native_widget_delegate,
786 DesktopNativeWidgetAura* desktop_native_widget_aura, 788 DesktopNativeWidgetAura* desktop_native_widget_aura,
787 const gfx::Rect& initial_bounds) { 789 const gfx::Rect& initial_bounds) {
788 return new DesktopRootWindowHostWin(native_widget_delegate, 790 return new DesktopRootWindowHostWin(native_widget_delegate,
789 desktop_native_widget_aura, 791 desktop_native_widget_aura,
790 initial_bounds); 792 initial_bounds);
791 } 793 }
792 794
793 } // namespace views 795 } // namespace views
OLDNEW
« no previous file with comments | « ui/aura/root_window_host_win.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698