Home
last modified time | relevance | path

Searched refs:WindowState (Results 1 – 25 of 98) sorted by relevance

1234

/external/chromium_org/ash/wm/
Dwindow_state.cc84 WindowState::~WindowState() { in ~WindowState()
91 bool WindowState::HasDelegate() const { in HasDelegate()
95 void WindowState::SetDelegate(scoped_ptr<WindowStateDelegate> delegate) { in SetDelegate()
100 WindowStateType WindowState::GetStateType() const { in GetStateType()
104 bool WindowState::IsMinimized() const { in IsMinimized()
108 bool WindowState::IsMaximized() const { in IsMaximized()
112 bool WindowState::IsFullscreen() const { in IsFullscreen()
116 bool WindowState::IsMaximizedOrFullscreen() const { in IsMaximizedOrFullscreen()
121 bool WindowState::IsSnapped() const { in IsSnapped()
126 bool WindowState::IsNormalStateType() const { in IsNormalStateType()
[all …]
Ddefault_state.h16 class DefaultState : public WindowState::State {
22 virtual void OnWMEvent(WindowState* window_state,
25 virtual void AttachState(WindowState* window_state,
26 WindowState::State* previous_state) OVERRIDE;
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);
[all …]
Dlock_window_state.h16 class LockWindowState : public wm::WindowState::State {
24 virtual void OnWMEvent(wm::WindowState* window_state,
27 virtual void AttachState(wm::WindowState* window_state,
28 wm::WindowState::State* previous_state) OVERRIDE;
29 virtual void DetachState(wm::WindowState* window_state) OVERRIDE;
32 static wm::WindowState* SetLockWindowState(aura::Window* window);
38 void UpdateWindow(wm::WindowState* window_state,
44 wm::WindowState* window_state);
47 void UpdateBounds(wm::WindowState* window_state);
Dlock_window_state.cc32 void LockWindowState::OnWMEvent(wm::WindowState* window_state, in OnWMEvent()
89 void LockWindowState::AttachState(wm::WindowState* window_state, in AttachState()
90 wm::WindowState::State* previous_state) { in AttachState()
102 void LockWindowState::DetachState(wm::WindowState* window_state) { in DetachState()
106 wm::WindowState* LockWindowState::SetLockWindowState(aura::Window* window) { in SetLockWindowState()
107 scoped_ptr<wm::WindowState::State> lock_state(new LockWindowState(window)); in SetLockWindowState()
108 scoped_ptr<wm::WindowState::State> old_state( in SetLockWindowState()
113 void LockWindowState::UpdateWindow(wm::WindowState* window_state, in UpdateWindow()
157 wm::WindowState* window_state) { in GetMaximizedOrCenteredWindowType()
162 void LockWindowState::UpdateBounds(wm::WindowState* window_state) { in UpdateBounds()
Dwindow_state.h47 class ASH_EXPORT WindowState : public aura::WindowObserver {
60 virtual void OnWMEvent(WindowState* window_state, const WMEvent* event) = 0;
69 virtual void AttachState(WindowState* window_state,
75 virtual void DetachState(WindowState* window_state) = 0;
82 virtual ~WindowState();
309 friend ASH_EXPORT WindowState* GetWindowState(aura::Window*);
312 explicit WindowState(aura::Window* window);
379 DISALLOW_COPY_AND_ASSIGN(WindowState);
384 ASH_EXPORT WindowState* GetActiveWindowState();
388 ASH_EXPORT WindowState* GetWindowState(aura::Window* window);
[all …]
Dwindow_state_unittest.cc19 class AlwaysMaximizeTestState : public WindowState::State {
26 virtual void OnWMEvent(WindowState* window_state, in OnWMEvent()
34 WindowState* window_state, in AttachState()
35 WindowState::State* previous_state) OVERRIDE { in AttachState()
42 virtual void DetachState(WindowState* window_state) OVERRIDE {} in DetachState()
68 WindowState* window_state = GetWindowState(window.get()); in TEST_F()
117 WindowState* window_state = GetWindowState(window.get()); in TEST_F()
189 WindowState* window_state = GetWindowState(window.get()); in TEST_F()
205 WindowState* window_state = GetWindowState(window.get()); in TEST_F()
226 WindowState* window_state = GetWindowState(window.get()); in TEST_F()
[all …]
Ddefault_state.cc38 void MoveToDisplayForRestore(WindowState* window_state) { in MoveToDisplayForRestore()
73 void DefaultState::OnWMEvent(WindowState* window_state, in OnWMEvent()
140 WindowState* window_state, in AttachState()
141 WindowState::State* state_in_previous_mode) { in AttachState()
159 void DefaultState::DetachState(WindowState* window_state) { in DetachState()
174 bool DefaultState::ProcessCompoundEvents(WindowState* window_state, in ProcessCompoundEvents()
286 bool DefaultState::ProcessWorkspaceEvents(WindowState* window_state, in ProcessWorkspaceEvents()
372 bool DefaultState::SetMaximizedOrFullscreenBounds(WindowState* window_state) { in SetMaximizedOrFullscreenBounds()
388 void DefaultState::SetBounds(WindowState* window_state, in SetBounds()
404 void DefaultState::EnterToNextState(WindowState* window_state, in EnterToNextState()
[all …]
Dwindow_state_observer.h13 class WindowState; variable
27 virtual void OnPreWindowStateTypeChange(WindowState* window_state, in OnPreWindowStateTypeChange()
33 virtual void OnPostWindowStateTypeChange(WindowState* window_state, in OnPostWindowStateTypeChange()
Dwindow_state_util.h10 class WindowState; variable
14 void ToggleFullScreen(WindowState* window_state, WindowStateDelegate* delegate);
Dwindow_state_delegate.h13 class WindowState; variable
26 virtual bool ToggleFullscreen(WindowState* window_state);
Dwindow_properties.cc10 DECLARE_WINDOW_PROPERTY_TYPE(ash::wm::WindowState*);
26 DEFINE_OWNED_WINDOW_PROPERTY_KEY(wm::WindowState,
Dwindow_properties.h21 class WindowState; variable
51 extern const aura::WindowProperty<wm::WindowState*>* const kWindowStateKey;
Ddefault_window_resizer.h22 static DefaultWindowResizer* Create(wm::WindowState* window_state);
37 explicit DefaultWindowResizer(wm::WindowState* window_state);
Ddrag_window_resizer.h28 wm::WindowState* window_state);
42 wm::WindowState* window_state);
/external/chromium_org/ash/wm/maximize_mode/
Dmaximize_mode_window_state.h17 class MaximizeModeWindowState : public wm::WindowState::State {
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,
40 wm::WindowState::State* previous_state) OVERRIDE;
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);
[all …]
Dmaximize_mode_window_state.cc33 gfx::Size GetMaximumSizeOfWindow(wm::WindowState* window_state) { in GetMaximumSizeOfWindow()
53 wm::WindowState* state_object) { in GetCenteredBounds()
61 gfx::Rect GetBoundsInMaximizedMode(wm::WindowState* state_object) { in GetBoundsInMaximizedMode()
85 wm::WindowState* window_state, bool animated) { in UpdateWindowPosition()
111 void MaximizeModeWindowState::LeaveMaximizeMode(wm::WindowState* window_state) { in LeaveMaximizeMode()
113 scoped_ptr<wm::WindowState::State> our_reference = in LeaveMaximizeMode()
117 void MaximizeModeWindowState::OnWMEvent(wm::WindowState* window_state, in OnWMEvent()
195 wm::WindowState* window_state, in AttachState()
196 wm::WindowState::State* previous_state) { in AttachState()
225 void MaximizeModeWindowState::DetachState(wm::WindowState* window_state) { in DetachState()
[all …]
/external/chromium_org/chrome/browser/chromeos/extensions/
Dwallpaper_private_api_unittest.cc82 ash::wm::WindowState* window0_state = ash::wm::GetWindowState(window0.get()); in TEST_F()
83 ash::wm::WindowState* window1_state = ash::wm::GetWindowState(window1.get()); in TEST_F()
84 ash::wm::WindowState* window2_state = ash::wm::GetWindowState(window2.get()); in TEST_F()
85 ash::wm::WindowState* window3_state = ash::wm::GetWindowState(window3.get()); in TEST_F()
133 ash::wm::WindowState* window0_state = ash::wm::GetWindowState(window0.get()); in TEST_F()
134 ash::wm::WindowState* window1_state = ash::wm::GetWindowState(window1.get()); in TEST_F()
255 ash::wm::WindowState* window0_state = ash::wm::GetWindowState(window0.get()); in TEST_F()
256 ash::wm::WindowState* window1_state = ash::wm::GetWindowState(window1.get()); in TEST_F()
257 ash::wm::WindowState* window2_state = ash::wm::GetWindowState(window2.get()); in TEST_F()
258 ash::wm::WindowState* window3_state = ash::wm::GetWindowState(window3.get()); in TEST_F()
[all …]
/external/chromium_org/ash/accelerators/
Daccelerator_commands.cc29 wm::WindowState* window_state = wm::GetWindowState(window); in ToggleMinimized()
37 wm::WindowState* window_state = wm::GetActiveWindowState(); in ToggleMaximized()
46 wm::WindowState* window_state = wm::GetActiveWindowState(); in ToggleFullscreen()
Daccelerator_commands_unittest.cc27 wm::WindowState* window_state1 = wm::GetWindowState(window1.get()); in TEST_F()
28 wm::WindowState* window_state2 = wm::GetWindowState(window2.get()); in TEST_F()
/external/chromium_org/ash/wm/workspace/
Dworkspace_window_resizer.h25 class WindowState; variable
55 wm::WindowState* window_state,
65 WorkspaceWindowResizer(wm::WindowState* window_state,
166 wm::WindowState* window_state() { return window_state_; } in window_state()
Dworkspace_layout_manager.h37 class WindowState; variable
95 wm::WindowState* window_state,
119 void UpdateBoundsFromStateType(wm::WindowState* window_state,
124 bool SetMaximizedOrFullscreenBounds(wm::WindowState* window_state);
Dworkspace_event_handler.h15 class WindowState; variable
34 void HandleVerticalResizeDoubleClick(wm::WindowState* window_state,
Dworkspace_layout_manager_delegate.h16 class WindowState; variable
40 virtual void OnPostWindowStateTypeChange(wm::WindowState* window_state,
Dworkspace_layout_manager.cc76 wm::WindowState* window_state = wm::GetWindowState(child); in OnWindowAddedToLayout()
107 wm::WindowState* window_state = wm::GetWindowState(child); in OnChildWindowVisibilityChanged()
125 wm::WindowState* window_state = wm::GetWindowState(child); in SetChildBounds()
234 wm::WindowState* window_state = wm::GetWindowState(gained_active); in OnWindowActivated()
248 wm::WindowState* window_state, in OnPostWindowStateTypeChange()
/external/chromium_org/chrome/browser/ui/ash/
Daccelerator_commands_browsertest.cc52 bool IsInImmersiveFullscreen(ash::wm::WindowState* window_state) { in IsInImmersiveFullscreen()
70 ash::wm::WindowState* window_state = ash::wm::GetActiveWindowState(); in IN_PROC_BROWSER_TEST_F()
105 void SetToInitialShowState(ash::wm::WindowState* window_state) { in SetToInitialShowState()
113 bool IsInitialShowState(const ash::wm::WindowState* window_state) const { in IsInitialShowState()
139 ash::wm::WindowState* window_state = in IN_PROC_BROWSER_TEST_P()
291 ash::wm::WindowState* window_state = in IN_PROC_BROWSER_TEST_P()
314 ash::wm::WindowState* window_state = in IN_PROC_BROWSER_TEST_P()

1234