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

Side by Side Diff: ash/wm/panels/panel_layout_manager.cc

Issue 14477010: Partial fix for keyboard occlusion. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: gyp fix Created 7 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 | Annotate | Revision Log
« no previous file with comments | « ash/wm/panels/panel_layout_manager.h ('k') | ui/keyboard/keyboard.gyp » ('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 "ash/wm/panels/panel_layout_manager.h" 5 #include "ash/wm/panels/panel_layout_manager.h"
6 6
7 #include <algorithm> 7 #include <algorithm>
8 #include <map> 8 #include <map>
9 9
10 #include "ash/launcher/launcher.h" 10 #include "ash/launcher/launcher.h"
(...skipping 800 matching lines...) Expand 10 before | Expand all | Expand 10 after
811 ui::LayerAnimator::REPLACE_QUEUED_ANIMATIONS); 811 ui::LayerAnimator::REPLACE_QUEUED_ANIMATIONS);
812 callout_settings.SetTransitionDuration( 812 callout_settings.SetTransitionDuration(
813 base::TimeDelta::FromMilliseconds( 813 base::TimeDelta::FromMilliseconds(
814 kCalloutFadeDurationMilliseconds)); 814 kCalloutFadeDurationMilliseconds));
815 layer->SetOpacity(1); 815 layer->SetOpacity(1);
816 } 816 }
817 } 817 }
818 } 818 }
819 } 819 }
820 820
821 ////////////////////////////////////////////////////////////////////////////////
822 // keyboard::KeyboardControllerObserver implementation:
823
824 void PanelLayoutManager::OnKeyboardBoundsChanging(
825 const gfx::Rect& keyboard_bounds) {
826 // This bounds change will have caused a change to the Shelf which does not
827 // propogate automatically to this class, so manually recalculate bounds.
828 OnWindowResized();
829 }
830
821 } // namespace internal 831 } // namespace internal
822 } // namespace ash 832 } // namespace ash
OLDNEW
« no previous file with comments | « ash/wm/panels/panel_layout_manager.h ('k') | ui/keyboard/keyboard.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698