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

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

Issue 9297041: Merge Compositor and CompositorCC (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 8 years, 10 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/root_window.cc ('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 #pragma once 7 #pragma once
8 8
9 #include <map> 9 #include <map>
10 #include <string> 10 #include <string>
(...skipping 121 matching lines...) Expand 10 before | Expand all | Expand 10 after
132 // LayoutManager may adjust the bounds. 132 // LayoutManager may adjust the bounds.
133 void SetBounds(const gfx::Rect& new_bounds); 133 void SetBounds(const gfx::Rect& new_bounds);
134 134
135 // Returns the target bounds of the window. If the window's layer is 135 // Returns the target bounds of the window. If the window's layer is
136 // not animating, it simply returns the current bounds. 136 // not animating, it simply returns the current bounds.
137 gfx::Rect GetTargetBounds() const; 137 gfx::Rect GetTargetBounds() const;
138 138
139 // Marks the a portion of window as needing to be painted. 139 // Marks the a portion of window as needing to be painted.
140 void SchedulePaintInRect(const gfx::Rect& rect); 140 void SchedulePaintInRect(const gfx::Rect& rect);
141 141
142 // Sets the contents of the window.
143 void SetCanvas(const SkCanvas& canvas, const gfx::Point& origin);
144
145 // Assigns a new external texture to the window's layer. 142 // Assigns a new external texture to the window's layer.
146 void SetExternalTexture(ui::Texture* texture); 143 void SetExternalTexture(ui::Texture* texture);
147 144
148 // Sets the parent window of the window. If NULL, the window is parented to 145 // Sets the parent window of the window. If NULL, the window is parented to
149 // the root window. 146 // the root window.
150 void SetParent(Window* parent); 147 void SetParent(Window* parent);
151 148
152 // Stacks the specified child of this Window at the front of the z-order. 149 // Stacks the specified child of this Window at the front of the z-order.
153 void StackChildAtTop(Window* child); 150 void StackChildAtTop(Window* child);
154 151
(...skipping 245 matching lines...) Expand 10 before | Expand all | Expand 10 after
400 // TODO(oshima): Consolidcate ViewProp and aura::window property 397 // TODO(oshima): Consolidcate ViewProp and aura::window property
401 // implementation. 398 // implementation.
402 std::map<const char*, void*> prop_map_; 399 std::map<const char*, void*> prop_map_;
403 400
404 DISALLOW_COPY_AND_ASSIGN(Window); 401 DISALLOW_COPY_AND_ASSIGN(Window);
405 }; 402 };
406 403
407 } // namespace aura 404 } // namespace aura
408 405
409 #endif // UI_AURA_WINDOW_H_ 406 #endif // UI_AURA_WINDOW_H_
OLDNEW
« no previous file with comments | « ui/aura/root_window.cc ('k') | ui/aura/window.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698