| 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/frame_maximize_button.h" | 5 #include "ash/wm/workspace/frame_maximize_button.h" |
| 6 | 6 |
| 7 #include "ash/launcher/launcher.h" | 7 #include "ash/launcher/launcher.h" |
| 8 #include "ash/screen_ash.h" | 8 #include "ash/screen_ash.h" |
| 9 #include "ash/shell.h" | 9 #include "ash/shell.h" |
| 10 #include "ash/wm/property_util.h" | 10 #include "ash/wm/property_util.h" |
| 11 #include "ash/wm/workspace/phantom_window_controller.h" | 11 #include "ash/wm/workspace/phantom_window_controller.h" |
| 12 #include "ash/wm/workspace/snap_sizer.h" | 12 #include "ash/wm/workspace/snap_sizer.h" |
| 13 #include "grit/ash_strings.h" | 13 #include "grit/ash_strings.h" |
| 14 #include "grit/ui_resources.h" | 14 #include "grit/ui_resources.h" |
| 15 #include "grit/ui_resources_standard.h" | |
| 16 #include "ui/aura/event.h" | 15 #include "ui/aura/event.h" |
| 17 #include "ui/aura/event_filter.h" | 16 #include "ui/aura/event_filter.h" |
| 18 #include "ui/base/l10n/l10n_util.h" | 17 #include "ui/base/l10n/l10n_util.h" |
| 19 #include "ui/base/resource/resource_bundle.h" | 18 #include "ui/base/resource/resource_bundle.h" |
| 20 #include "ui/gfx/image/image.h" | 19 #include "ui/gfx/image/image.h" |
| 21 #include "ui/gfx/screen.h" | 20 #include "ui/gfx/screen.h" |
| 22 #include "ui/views/widget/widget.h" | 21 #include "ui/views/widget/widget.h" |
| 23 #include "ui/views/window/non_client_view.h" | 22 #include "ui/views/window/non_client_view.h" |
| 24 | 23 |
| 25 using ash::internal::SnapSizer; | 24 using ash::internal::SnapSizer; |
| (...skipping 379 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 405 break; | 404 break; |
| 406 case SNAP_RESTORE: | 405 case SNAP_RESTORE: |
| 407 frame_->GetWidget()->Restore(); | 406 frame_->GetWidget()->Restore(); |
| 408 break; | 407 break; |
| 409 case SNAP_NONE: | 408 case SNAP_NONE: |
| 410 NOTREACHED(); | 409 NOTREACHED(); |
| 411 } | 410 } |
| 412 } | 411 } |
| 413 | 412 |
| 414 } // namespace ash | 413 } // namespace ash |
| OLD | NEW |