Searched refs:window_state (Results 1 - 25 of 93) sorted by relevance

1234

/external/chromium_org/ash/wm/
H A Dwindow_state_util.cc7 #include "ash/wm/window_state.h"
14 void ToggleFullScreen(wm::WindowState* window_state, argument
18 bool is_fullscreen = window_state->IsFullscreen();
19 if (!is_fullscreen && !window_state->CanMaximize())
22 if (delegate && delegate->ToggleFullscreen(window_state))
26 window_state->Restore();
29 window_state->window()->SetProperty(aura::client::kShowStateKey,
H A Ddefault_state.cc13 #include "ash/wm/window_state.h"
38 void MoveToDisplayForRestore(WindowState* window_state) { argument
39 if (!window_state->HasRestoreBounds())
41 const gfx::Rect& restore_bounds = window_state->GetRestoreBoundsInScreen();
50 window_state->window()).bounds();
59 if (new_root != window_state->window()->GetRootWindow()) {
61 Shell::GetContainer(new_root, window_state->window()->parent()->id());
62 new_container->AddChild(window_state->window());
73 void DefaultState::OnWMEvent(WindowState* window_state, argument
75 if (ProcessWorkspaceEvents(window_state, even
139 AttachState( WindowState* window_state, WindowState::State* state_in_previous_mode) argument
159 DetachState(WindowState* window_state) argument
174 ProcessCompoundEvents(WindowState* window_state, const WMEvent* event) argument
286 ProcessWorkspaceEvents(WindowState* window_state, const WMEvent* event) argument
381 SetMaximizedOrFullscreenBounds(WindowState* window_state) argument
397 SetBounds(WindowState* window_state, const SetBoundsEvent* event) argument
413 EnterToNextState(WindowState* window_state, WindowStateType next_state_type) argument
467 ReenterToCurrentState( WindowState* window_state, WindowState::State* state_in_previous_mode) argument
499 UpdateBoundsFromState(WindowState* window_state, WindowStateType previous_state_type) argument
593 CenterWindow(WindowState* window_state) argument
[all...]
H A Dlock_window_state.cc11 #include "ash/wm/window_state.h"
32 void LockWindowState::OnWMEvent(wm::WindowState* window_state, argument
34 aura::Window* window = window_state->window();
39 ToggleFullScreen(window_state, window_state->delegate());
42 UpdateWindow(window_state, wm::WINDOW_STATE_TYPE_FULLSCREEN);
53 UpdateWindow(window_state,
54 GetMaximizedOrCenteredWindowType(window_state));
57 UpdateWindow(window_state, wm::WINDOW_STATE_TYPE_MINIMIZED);
62 if (window_state
89 AttachState(wm::WindowState* window_state, wm::WindowState::State* previous_state) argument
102 DetachState(wm::WindowState* window_state) argument
113 UpdateWindow(wm::WindowState* window_state, wm::WindowStateType target_state) argument
156 GetMaximizedOrCenteredWindowType( wm::WindowState* window_state) argument
162 UpdateBounds(wm::WindowState* window_state) argument
[all...]
H A Dwindow_state_delegate.cc16 bool WindowStateDelegate::ToggleFullscreen(WindowState* window_state) { argument
H A Ddefault_state.h8 #include "ash/wm/window_state.h"
22 virtual void OnWMEvent(WindowState* window_state,
25 virtual void AttachState(WindowState* window_state,
27 virtual void DetachState(WindowState* window_state) OVERRIDE;
32 static bool ProcessCompoundEvents(WindowState* window_state,
36 static bool ProcessWorkspaceEvents(WindowState* window_state,
40 static bool SetMaximizedOrFullscreenBounds(wm::WindowState* window_state);
42 static void SetBounds(WindowState* window_state,
45 static void CenterWindow(WindowState* window_state);
49 void EnterToNextState(wm::WindowState* window_state,
[all...]
H A Dlock_window_state.h8 #include "ash/wm/window_state.h"
24 virtual void OnWMEvent(wm::WindowState* window_state,
27 virtual void AttachState(wm::WindowState* window_state,
29 virtual void DetachState(wm::WindowState* window_state) OVERRIDE;
38 void UpdateWindow(wm::WindowState* window_state,
44 wm::WindowState* window_state);
47 void UpdateBounds(wm::WindowState* window_state);
H A Dwindow_state_observer.h27 virtual void OnPreWindowStateTypeChange(WindowState* window_state, argument
33 virtual void OnPostWindowStateTypeChange(WindowState* window_state, argument
H A Dwindow_state_unittest.cc5 #include "ash/wm/window_state.h"
10 #include "ash/wm/window_state.h"
27 virtual void OnWMEvent(WindowState* window_state,
35 WindowState* window_state,
39 window_state->Maximize();
43 virtual void DetachState(WindowState* window_state) OVERRIDE {}
69 WindowState* window_state = GetWindowState(window.get()); local
71 window_state->OnWMEvent(&snap_left);
80 window_state->OnWMEvent(&snap_right);
88 window_state
118 WindowState* window_state = GetWindowState(window.get()); local
195 WindowState* window_state = GetWindowState(window.get()); local
211 WindowState* window_state = GetWindowState(window.get()); local
232 WindowState* window_state = GetWindowState(window.get()); local
272 WindowState* window_state = GetWindowState(window.get()); local
299 WindowState* window_state = GetWindowState(window.get()); local
311 WindowState* window_state = GetWindowState(window.get()); local
325 WindowState* window_state = GetWindowState(window.get()); local
[all...]
H A Ddefault_window_resizer.cc8 #include "ash/wm/window_state.h"
25 DefaultWindowResizer::Create(wm::WindowState* window_state) { argument
26 return new DefaultWindowResizer(window_state);
52 DefaultWindowResizer::DefaultWindowResizer(wm::WindowState* window_state) argument
53 : WindowResizer(window_state),
H A Dwindow_state_util.h14 void ToggleFullScreen(WindowState* window_state, WindowStateDelegate* delegate);
H A Ddefault_window_resizer.h22 static DefaultWindowResizer* Create(wm::WindowState* window_state);
37 explicit DefaultWindowResizer(wm::WindowState* window_state);
H A Ddrag_details.cc64 wm::WindowState* window_state = wm::GetWindowState(window); local
65 if (window_state->IsNormalOrSnapped() &&
66 window_state->HasRestoreBounds() &&
68 restore_bounds = window_state->GetRestoreBoundsInScreen();
H A Dwindow_state_delegate.h26 virtual bool ToggleFullscreen(WindowState* window_state);
H A Dresize_handle_window_targeter.cc9 #include "ash/wm/window_state.h"
19 wm::WindowState* window_state = wm::GetWindowState(window_); local
20 OnPostWindowStateTypeChange(window_state, wm::WINDOW_STATE_TYPE_DEFAULT);
21 window_state->AddObserver(this);
33 wm::WindowState* window_state,
35 if (window_state->IsMaximizedOrFullscreen()) {
32 OnPostWindowStateTypeChange( wm::WindowState* window_state, wm::WindowStateType old_type) argument
H A Ddrag_window_resizer.h28 wm::WindowState* window_state);
42 wm::WindowState* window_state);
/external/chromium_org/ash/wm/maximize_mode/
H A Dmaximize_mode_window_state.cc33 gfx::Size GetMaximumSizeOfWindow(wm::WindowState* window_state) { argument
34 DCHECK(window_state->CanMaximize() || window_state->CanResize());
37 window_state->window()).size();
39 aura::WindowDelegate* delegate = window_state->window()->delegate();
85 wm::WindowState* window_state, bool animated) {
86 gfx::Rect bounds_in_parent = GetBoundsInMaximizedMode(window_state);
88 if (bounds_in_parent == window_state->window()->bounds())
92 window_state->SetBoundsDirect(bounds_in_parent);
94 window_state
84 UpdateWindowPosition( wm::WindowState* window_state, bool animated) argument
111 LeaveMaximizeMode(wm::WindowState* window_state) argument
117 OnWMEvent(wm::WindowState* window_state, const wm::WMEvent* event) argument
194 AttachState( wm::WindowState* window_state, wm::WindowState::State* previous_state) argument
225 DetachState(wm::WindowState* window_state) argument
231 UpdateWindow(wm::WindowState* window_state, wm::WindowStateType target_state, bool animated) argument
275 GetMaximizedOrCenteredWindowType( wm::WindowState* window_state) argument
281 UpdateBounds(wm::WindowState* window_state, bool animated) argument
[all...]
H A Dmaximize_mode_window_state.h8 #include "ash/wm/window_state.h"
20 static void UpdateWindowPosition(wm::WindowState* window_state,
32 void LeaveMaximizeMode(wm::WindowState* window_state);
35 virtual void OnWMEvent(wm::WindowState* window_state,
39 virtual void AttachState(wm::WindowState* window_state,
41 virtual void DetachState(wm::WindowState* window_state) OVERRIDE;
48 void UpdateWindow(wm::WindowState* window_state,
55 wm::WindowState* window_state);
59 void UpdateBounds(wm::WindowState* window_state, bool animated);
/external/chromium_org/ash/accelerators/
H A Daccelerator_commands.cc10 #include "ash/wm/window_state.h"
29 wm::WindowState* window_state = wm::GetWindowState(window); local
30 if (!window_state->CanMinimize())
32 window_state->Minimize();
37 wm::WindowState* window_state = wm::GetActiveWindowState(); local
38 if (!window_state)
42 window_state->OnWMEvent(&event);
46 wm::WindowState* window_state = wm::GetActiveWindowState(); local
47 if (window_state) {
49 window_state
[all...]
/external/chromium_org/chrome/browser/ui/ash/
H A Daccelerator_commands_browsertest.cc9 #include "ash/wm/window_state.h"
47 // Returns true if |window_state|'s window is in immersive fullscreen. Infer
52 bool IsInImmersiveFullscreen(ash::wm::WindowState* window_state) { argument
53 return window_state->IsFullscreen() &&
54 !window_state->hide_shelf_when_fullscreen();
70 ash::wm::WindowState* window_state = ash::wm::GetActiveWindowState(); local
71 ASSERT_TRUE(window_state);
74 EXPECT_FALSE(window_state->IsMaximized());
76 EXPECT_TRUE(window_state->IsMaximized());
78 EXPECT_FALSE(window_state
105 SetToInitialShowState(ash::wm::WindowState* window_state) argument
139 ash::wm::WindowState* window_state = local
293 ash::wm::WindowState* window_state = local
318 ash::wm::WindowState* window_state = local
[all...]
/external/chromium_org/chrome/browser/extensions/
H A Dwindow_controller.cc41 std::string window_state; local
43 window_state = keys::kShowStateValueMinimized;
45 window_state = keys::kShowStateValueFullscreen;
47 window_state = keys::kShowStateValueMaximized;
49 window_state = keys::kShowStateValueNormal;
51 result->SetString(keys::kShowStateKey, window_state);
/external/chromium_org/chrome/browser/ui/views/frame/
H A Dbrowser_frame_ash.cc8 #include "ash/wm/window_state.h"
35 virtual bool ToggleFullscreen(ash::wm::WindowState* window_state) OVERRIDE {
36 DCHECK(window_state->IsFullscreen() || window_state->CanMaximize());
38 if (!window_state->IsFullscreen() && !window_state->CanMaximize())
63 ash::wm::WindowState* window_state = local
65 window_state->SetDelegate(
77 window_state->set_can_consume_system_keys(browser->is_app());
/external/chromium_org/ash/wm/workspace/
H A Dworkspace_layout_manager.cc19 #include "ash/wm/window_state.h"
77 wm::WindowState* window_state = wm::GetWindowState(child); local
79 window_state->OnWMEvent(&event);
82 window_state->AddObserver(this);
108 wm::WindowState* window_state = wm::GetWindowState(child); local
110 if (visible && window_state->IsMinimized())
111 window_state->Unminimize();
126 wm::WindowState* window_state = wm::GetWindowState(child); local
128 window_state->OnWMEvent(&event);
146 wm::WindowState* window_state
250 wm::WindowState* window_state = wm::GetWindowState(gained_active); local
263 OnPostWindowStateTypeChange( wm::WindowState* window_state, wm::WindowStateType old_type) argument
[all...]
/external/chromium_org/ash/shelf/
H A Dshelf_window_watcher_item_delegate.cc11 #include "ash/wm/window_state.h"
32 wm::WindowState* window_state = wm::GetWindowState(window_); local
33 if (window_state->IsActive()) {
37 window_state->Minimize();
40 window_state->Activate();
/external/qemu/distrib/sdl-1.2.15/src/video/riscos/
H A DSDL_riscosmouse.c228 int window_state[9]; local
232 window_state[0] = this->hidden->window_handle;
233 regs.r[1] = (unsigned int)window_state;
236 osX = (x << this->hidden->xeig) + window_state[1];
237 osY = window_state[4] - (y << this->hidden->yeig);
282 unsigned char window_state[36]; local
284 *((int *)window_state) = this->hidden->window_handle;
285 regs.r[1] = (unsigned int)window_state;
288 block[1] = window_state[4];
289 block[2] = window_state[
[all...]
/external/chromium_org/ash/wm/panels/
H A Dpanel_window_resizer.h30 wm::WindowState* window_state);
43 wm::WindowState* window_state);

Completed in 300 milliseconds

1234