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

Side by Side Diff: ui/aura/window.h

Issue 2802903003: Implementation of a full screen app list and re-alphabetized switches (Closed)
Patch Set: Fixed the mishandled reference that was breaking the build Created 3 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 | « ui/app_list/views/app_list_view_unittest.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 #ifndef UI_AURA_WINDOW_H_ 5 #ifndef UI_AURA_WINDOW_H_
6 #define UI_AURA_WINDOW_H_ 6 #define UI_AURA_WINDOW_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <map> 10 #include <map>
(...skipping 157 matching lines...) Expand 10 before | Expand all | Expand 10 after
168 168
169 // Sets a new event-targeter for the window, and returns the previous 169 // Sets a new event-targeter for the window, and returns the previous
170 // event-targeter. 170 // event-targeter.
171 std::unique_ptr<ui::EventTargeter> SetEventTargeter( 171 std::unique_ptr<ui::EventTargeter> SetEventTargeter(
172 std::unique_ptr<ui::EventTargeter> targeter); 172 std::unique_ptr<ui::EventTargeter> targeter);
173 173
174 // Changes the bounds of the window. If present, the window's parent's 174 // Changes the bounds of the window. If present, the window's parent's
175 // LayoutManager may adjust the bounds. 175 // LayoutManager may adjust the bounds.
176 void SetBounds(const gfx::Rect& new_bounds); 176 void SetBounds(const gfx::Rect& new_bounds);
177 177
178 // Changes the bounds of the window in the screen coordintates. 178 // Changes the bounds of the window in the screen coordinates.
179 // If present, the window's parent's LayoutManager may adjust the bounds. 179 // If present, the window's parent's LayoutManager may adjust the bounds.
180 void SetBoundsInScreen(const gfx::Rect& new_bounds_in_screen_coords, 180 void SetBoundsInScreen(const gfx::Rect& new_bounds_in_screen_coords,
181 const display::Display& dst_display); 181 const display::Display& dst_display);
182 182
183 // Returns the target bounds of the window. If the window's layer is 183 // Returns the target bounds of the window. If the window's layer is
184 // not animating, it simply returns the current bounds. 184 // not animating, it simply returns the current bounds.
185 gfx::Rect GetTargetBounds() const; 185 gfx::Rect GetTargetBounds() const;
186 186
187 // Marks the a portion of window as needing to be painted. 187 // Marks the a portion of window as needing to be painted.
188 void SchedulePaintInRect(const gfx::Rect& rect); 188 void SchedulePaintInRect(const gfx::Rect& rect);
(...skipping 297 matching lines...) Expand 10 before | Expand all | Expand 10 after
486 gfx::Insets hit_test_bounds_override_inner_; 486 gfx::Insets hit_test_bounds_override_inner_;
487 487
488 base::ObserverList<WindowObserver, true> observers_; 488 base::ObserverList<WindowObserver, true> observers_;
489 489
490 DISALLOW_COPY_AND_ASSIGN(Window); 490 DISALLOW_COPY_AND_ASSIGN(Window);
491 }; 491 };
492 492
493 } // namespace aura 493 } // namespace aura
494 494
495 #endif // UI_AURA_WINDOW_H_ 495 #endif // UI_AURA_WINDOW_H_
OLDNEW
« no previous file with comments | « ui/app_list/views/app_list_view_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698