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

Side by Side Diff: components/exo/shell_surface.cc

Issue 1921353002: Moves handful of files to ash/wm/common (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@shell_ids
Patch Set: merge to trunk Created 4 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
« no previous file with comments | « components/exo/shell_surface.h ('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 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 "components/exo/shell_surface.h" 5 #include "components/exo/shell_surface.h"
6 6
7 #include "ash/shell.h" 7 #include "ash/shell.h"
8 #include "ash/shell_window_ids.h" 8 #include "ash/shell_window_ids.h"
9 #include "ash/wm/aura/wm_window_aura.h" 9 #include "ash/wm/aura/wm_window_aura.h"
10 #include "ash/wm/window_resizer.h" 10 #include "ash/wm/common/window_resizer.h"
11 #include "ash/wm/window_state.h" 11 #include "ash/wm/common/window_state.h"
12 #include "ash/wm/window_state_aura.h" 12 #include "ash/wm/window_state_aura.h"
13 #include "base/logging.h" 13 #include "base/logging.h"
14 #include "base/macros.h" 14 #include "base/macros.h"
15 #include "base/memory/ptr_util.h" 15 #include "base/memory/ptr_util.h"
16 #include "base/strings/utf_string_conversions.h" 16 #include "base/strings/utf_string_conversions.h"
17 #include "base/trace_event/trace_event.h" 17 #include "base/trace_event/trace_event.h"
18 #include "base/trace_event/trace_event_argument.h" 18 #include "base/trace_event/trace_event_argument.h"
19 #include "components/exo/surface.h" 19 #include "components/exo/surface.h"
20 #include "ui/aura/window.h" 20 #include "ui/aura/window.h"
21 #include "ui/aura/window_event_dispatcher.h" 21 #include "ui/aura/window_event_dispatcher.h"
(...skipping 901 matching lines...) Expand 10 before | Expand all | Expand 10 after
923 DCHECK(!ignore_window_bounds_changes_); 923 DCHECK(!ignore_window_bounds_changes_);
924 ignore_window_bounds_changes_ = true; 924 ignore_window_bounds_changes_ = true;
925 widget_->SetBounds(new_widget_bounds); 925 widget_->SetBounds(new_widget_bounds);
926 ignore_window_bounds_changes_ = false; 926 ignore_window_bounds_changes_ = false;
927 927
928 // A change to the widget size requires surface bounds to be re-adjusted. 928 // A change to the widget size requires surface bounds to be re-adjusted.
929 surface_->SetBounds(gfx::Rect(GetSurfaceOrigin(), surface_->layer()->size())); 929 surface_->SetBounds(gfx::Rect(GetSurfaceOrigin(), surface_->layer()->size()));
930 } 930 }
931 931
932 } // namespace exo 932 } // namespace exo
OLDNEW
« no previous file with comments | « components/exo/shell_surface.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698