Home | History | Annotate | Download | only in wm

Lines Matching full:aura

20 #include "ui/aura/client/aura_constants.h"
21 #include "ui/aura/layout_manager.h"
22 #include "ui/aura/window.h"
23 #include "ui/aura/window_delegate.h"
38 class BoundsSetter : public aura::LayoutManager {
43 // aura::LayoutManager overrides:
45 virtual void OnWindowAddedToLayout(aura::Window* child) OVERRIDE {}
46 virtual void OnWillRemoveWindowFromLayout(aura::Window* child) OVERRIDE {}
47 virtual void OnWindowRemovedFromLayout(aura::Window* child) OVERRIDE {}
49 aura::Window* child, bool visible) OVERRIDE {}
51 aura::Window* child, const gfx::Rect& requested_bounds) OVERRIDE {}
53 void SetBounds(aura::Window* window, const gfx::Rect& bounds) {
145 return window_->GetProperty(aura::client::kCanMaximizeKey);
152 aura::Window* lockscreen =
161 return window_->GetProperty(aura::client::kCanResizeKey);
179 return window_->GetProperty(aura::client::kRestoreBoundsKey) != NULL;
183 window_->SetProperty(aura::client::kShowStateKey, ui::SHOW_STATE_MAXIMIZED);
187 window_->SetProperty(aura::client::kShowStateKey, ui::SHOW_STATE_MINIMIZED);
192 aura::client::kShowStateKey,
193 window_->GetProperty(aura::client::kRestoreShowStateKey));
194 window_->ClearProperty(aura::client::kRestoreShowStateKey);
224 return *window_->GetProperty(aura::client::kRestoreBoundsKey);
233 window_->SetProperty(aura::client::kRestoreBoundsKey, new gfx::Rect(bounds));
242 window_->ClearProperty(aura::client::kRestoreBoundsKey);
273 void WindowState::CreateDragDetails(aura::Window* window,
276 aura::client::WindowMoveSource source) {
291 void WindowState::OnWindowPropertyChanged(aura::Window* window,
295 if (key == aura::client::kShowStateKey && !ignore_property_change_) {
301 WindowState::WindowState(aura::Window* window)
320 return window_->GetProperty(aura::client::kShowStateKey);
349 window_->SetProperty(aura::client::kShowStateKey, new_window_state);
439 aura::Window* active = GetActiveWindow();
443 WindowState* GetWindowState(aura::Window* window) {
454 const WindowState* GetWindowState(const aura::Window* window) {
455 return GetWindowState(const_cast<aura::Window*>(window));