Searched defs:window_state (Results 1 - 25 of 71) sorted by relevance

123

/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/ash/wm/
H A Dwindow_state_delegate.cc16 bool WindowStateDelegate::ToggleFullscreen(WindowState* window_state) { argument
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 Dwindow_util_unittest.cc9 #include "ash/wm/window_state.h"
34 wm::WindowState* window_state = wm::GetWindowState(window.get()); local
35 EXPECT_FALSE(window_state->bounds_changed_by_user());
39 EXPECT_TRUE(window_state->bounds_changed_by_user());
H A Dwindow_state_observer.h27 virtual void OnPreWindowStateTypeChange(WindowState* window_state, argument
33 virtual void OnPostWindowStateTypeChange(WindowState* window_state, argument
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 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 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 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 Dash_focus_rules.cc9 #include "ash/wm/window_state.h"
157 WindowState* window_state = GetWindowState(*i); local
159 window_state->CanActivate() &&
160 !window_state->IsMinimized())
H A Dlock_layout_manager_unittest.cc11 #include "ash/wm/window_state.h"
270 wm::WindowState* window_state = wm::GetWindowState(window.get()); local
271 window_state->SetRestoreBoundsInScreen(gfx::Rect(400, 0, 30, 40));
279 window_state->Restore();
283 window_state->SetRestoreBoundsInScreen(gfx::Rect(280, 0, 30, 40));
288 window_state->Restore();
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 Dvideo_detector_unittest.cc9 #include "ash/wm/window_state.h"
287 wm::WindowState* window_state = wm::GetWindowState(window.get()); local
289 window_state->OnWMEvent(&toggle_fullscreen_event);
290 ASSERT_TRUE(window_state->IsFullscreen());
304 window_state->OnWMEvent(&toggle_fullscreen_event);
305 ASSERT_FALSE(window_state->IsFullscreen());
H A Dworkspace_controller.cc12 #include "ash/wm/window_state.h"
82 wm::WindowState* window_state = wm::GetWindowState(*i); local
83 if (window_state->ignored_by_shelf())
88 if (window_state->IsMaximized())
/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/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();
H A Dshelf_window_watcher_unittest.cc16 #include "ash/wm/window_state.h"
146 wm::WindowState* window_state = wm::GetWindowState(window.get()); local
156 EXPECT_FALSE(window_state->IsMaximized());
157 window_state->Maximize();
158 EXPECT_TRUE(window_state->IsMaximized());
166 window_state->Restore();
167 EXPECT_FALSE(window_state->IsMaximized());
/external/chromium_org/ash/shell/
H A Dtoplevel_window.cc10 #include "ash/wm/window_state.h"
43 wm::WindowState* window_state = wm::GetWindowState(widget->GetNativeView()); local
44 window_state->set_window_position_managed(true);
/external/chromium_org/ash/wm/maximize_mode/
H A Dworkspace_backdrop_delegate.cc89 wm::WindowState* window_state,
88 OnPostWindowStateTypeChange( wm::WindowState* window_state, wm::WindowStateType old_type) argument
/external/chromium_org/chrome/browser/chromeos/login/lock/
H A Dscreen_locker_browsertest.cc7 #include "ash/wm/window_state.h"
185 ash::wm::WindowState* window_state = ash::wm::GetWindowState( local
192 EXPECT_FALSE(window_state->hide_shelf_when_fullscreen());
201 EXPECT_FALSE(window_state->hide_shelf_when_fullscreen());
228 EXPECT_TRUE(window_state->hide_shelf_when_fullscreen());
/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/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/extensions/browser/app_window/
H A Dapp_window_geometry_cache.h116 ui::WindowShowState window_state; member in struct:extensions::AppWindowGeometryCache::WindowData
/external/qemu/distrib/sdl-1.2.15/src/video/riscos/
H A DSDL_riscossprite.c215 int window_state[9]; local
224 window_state[0] = this->hidden->window_handle;
225 regs.r[1] = (unsigned int)window_state;
228 currWidth = window_state[3] - window_state[1];
229 currHeight = window_state[4] - window_state[2];
/external/chromium_org/ash/frame/caption_buttons/
H A Dframe_size_button.cc11 #include "ash/wm/window_state.h"
258 wm::WindowState* window_state = local
264 window_state->OnWMEvent(&snap_event);

Completed in 386 milliseconds

123