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

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

Issue 15001027: [Aura] Added Support for rendering software compositor frames as cc::TextureLayers. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Passed(&foo) instead for Passed(foo.Pass()). Created 7 years, 6 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 | « ui/aura/aura.gyp ('k') | ui/aura/window.cc » ('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 #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 <map> 8 #include <map>
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 139 matching lines...) Expand 10 before | Expand all | Expand 10 after
150 void SetBoundsInScreen(const gfx::Rect& new_bounds_in_screen_coords, 150 void SetBoundsInScreen(const gfx::Rect& new_bounds_in_screen_coords,
151 const gfx::Display& dst_display); 151 const gfx::Display& dst_display);
152 152
153 // Returns the target bounds of the window. If the window's layer is 153 // Returns the target bounds of the window. If the window's layer is
154 // not animating, it simply returns the current bounds. 154 // not animating, it simply returns the current bounds.
155 gfx::Rect GetTargetBounds() const; 155 gfx::Rect GetTargetBounds() const;
156 156
157 // Marks the a portion of window as needing to be painted. 157 // Marks the a portion of window as needing to be painted.
158 void SchedulePaintInRect(const gfx::Rect& rect); 158 void SchedulePaintInRect(const gfx::Rect& rect);
159 159
160 // Assigns a new external texture to the window's layer.
161 void SetExternalTexture(ui::Texture* texture);
162
163 // Places this window per |root_window|'s stacking client. The final location 160 // Places this window per |root_window|'s stacking client. The final location
164 // may be a RootWindow other than the one passed in. |root_window| may not be 161 // may be a RootWindow other than the one passed in. |root_window| may not be
165 // NULL. |bounds_in_screen| may be empty; it is more optional context that 162 // NULL. |bounds_in_screen| may be empty; it is more optional context that
166 // may, but isn't necessarily used. 163 // may, but isn't necessarily used.
167 void SetDefaultParentByRootWindow(RootWindow* root_window, 164 void SetDefaultParentByRootWindow(RootWindow* root_window,
168 const gfx::Rect& bounds_in_screen); 165 const gfx::Rect& bounds_in_screen);
169 166
170 // Stacks the specified child of this Window at the front of the z-order. 167 // Stacks the specified child of this Window at the front of the z-order.
171 void StackChildAtTop(Window* child); 168 void StackChildAtTop(Window* child);
172 169
(...skipping 346 matching lines...) Expand 10 before | Expand all | Expand 10 after
519 }; 516 };
520 517
521 std::map<const void*, Value> prop_map_; 518 std::map<const void*, Value> prop_map_;
522 519
523 DISALLOW_COPY_AND_ASSIGN(Window); 520 DISALLOW_COPY_AND_ASSIGN(Window);
524 }; 521 };
525 522
526 } // namespace aura 523 } // namespace aura
527 524
528 #endif // UI_AURA_WINDOW_H_ 525 #endif // UI_AURA_WINDOW_H_
OLDNEW
« no previous file with comments | « ui/aura/aura.gyp ('k') | ui/aura/window.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698