| OLD | NEW |
| 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/workspace/workspace_layout_manager.h" | 5 #include "ash/wm/workspace/workspace_layout_manager.h" |
| 6 | 6 |
| 7 #include <string> | 7 #include <string> |
| 8 | 8 |
| 9 #include "ash/display/display_layout.h" | 9 #include "ash/display/display_layout.h" |
| 10 #include "ash/display/display_manager.h" | 10 #include "ash/display/display_manager.h" |
| (...skipping 14 matching lines...) Expand all Loading... |
| 25 #include "base/compiler_specific.h" | 25 #include "base/compiler_specific.h" |
| 26 #include "ui/aura/client/aura_constants.h" | 26 #include "ui/aura/client/aura_constants.h" |
| 27 #include "ui/aura/test/test_windows.h" | 27 #include "ui/aura/test/test_windows.h" |
| 28 #include "ui/aura/window.h" | 28 #include "ui/aura/window.h" |
| 29 #include "ui/aura/window_event_dispatcher.h" | 29 #include "ui/aura/window_event_dispatcher.h" |
| 30 #include "ui/base/ime/dummy_text_input_client.h" | 30 #include "ui/base/ime/dummy_text_input_client.h" |
| 31 #include "ui/base/ime/input_method.h" | 31 #include "ui/base/ime/input_method.h" |
| 32 #include "ui/base/ime/text_input_focus_manager.h" | 32 #include "ui/base/ime/text_input_focus_manager.h" |
| 33 #include "ui/base/ui_base_switches_util.h" | 33 #include "ui/base/ui_base_switches_util.h" |
| 34 #include "ui/base/ui_base_types.h" | 34 #include "ui/base/ui_base_types.h" |
| 35 #include "ui/gfx/insets.h" | 35 #include "ui/gfx/geometry/insets.h" |
| 36 #include "ui/gfx/screen.h" | 36 #include "ui/gfx/screen.h" |
| 37 #include "ui/views/widget/widget.h" | 37 #include "ui/views/widget/widget.h" |
| 38 #include "ui/views/widget/widget_delegate.h" | 38 #include "ui/views/widget/widget_delegate.h" |
| 39 #include "ui/wm/core/window_util.h" | 39 #include "ui/wm/core/window_util.h" |
| 40 | 40 |
| 41 namespace ash { | 41 namespace ash { |
| 42 namespace { | 42 namespace { |
| 43 | 43 |
| 44 class MaximizeDelegateView : public views::WidgetDelegateView { | 44 class MaximizeDelegateView : public views::WidgetDelegateView { |
| 45 public: | 45 public: |
| (...skipping 1031 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1077 HideKeyboard(); | 1077 HideKeyboard(); |
| 1078 if (switches::IsTextInputFocusManagerEnabled()) { | 1078 if (switches::IsTextInputFocusManagerEnabled()) { |
| 1079 ui::TextInputFocusManager::GetInstance()->BlurTextInputClient( | 1079 ui::TextInputFocusManager::GetInstance()->BlurTextInputClient( |
| 1080 &text_input_client); | 1080 &text_input_client); |
| 1081 } else { | 1081 } else { |
| 1082 input_method->SetFocusedTextInputClient(NULL); | 1082 input_method->SetFocusedTextInputClient(NULL); |
| 1083 } | 1083 } |
| 1084 } | 1084 } |
| 1085 | 1085 |
| 1086 } // namespace ash | 1086 } // namespace ash |
| OLD | NEW |