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

123

/external/chromium_org/ash/wm/workspace/
H A Dworkspace_layout_manager_unittest.cc20 #include "ash/wm/window_state.h"
111 wm::WindowState* window_state = wm::GetWindowState(window.get()); local
114 window_state->SetRestoreBoundsInScreen(gfx::Rect(0, 0, 100, 100));
115 window_state->Minimize();
116 window_state->Restore();
117 EXPECT_EQ("0,0 100x100", window_state->GetRestoreBoundsInScreen().ToString());
127 window_state->Minimize();
129 window_state->SetRestoreBoundsInScreen(gfx::Rect(0, 0, 100, 100));
130 window_state->Restore();
135 window_state
183 wm::WindowState* window_state = wm::GetWindowState(window.get()); local
230 wm::WindowState* window_state = wm::GetWindowState(window.get()); local
280 wm::WindowState* window_state = wm::GetWindowState(window.get()); local
355 wm::WindowState* window_state = wm::GetWindowState(window.get()); local
375 wm::WindowState* window_state = wm::GetWindowState(window.get()); local
703 wm::WindowState* window_state = wm::GetWindowState(window.get()); local
719 wm::WindowState* window_state = wm::GetWindowState(window.get()); local
735 wm::WindowState* window_state = wm::GetWindowState(window.get()); local
[all...]
H A Dworkspace_window_resizer_unittest.cc14 #include "ash/wm/window_state.h"
160 wm::WindowState* window_state = wm::GetWindowState(window); local
161 window_state->CreateDragDetails(
163 return WorkspaceWindowResizer::Create(window_state, attached_windows);
560 wm::WindowState* window_state = wm::GetWindowState(window_.get()); local
574 ASSERT_TRUE(window_state->HasRestoreBounds());
576 window_state->GetRestoreBoundsInScreen().ToString());
590 ASSERT_TRUE(window_state->HasRestoreBounds());
592 window_state->GetRestoreBoundsInScreen().ToString());
600 window_state
674 wm::WindowState* window_state = ash::wm::GetWindowState(window_.get()); local
699 wm::WindowState* window_state = ash::wm::GetWindowState(window_.get()); local
1188 wm::WindowState* window_state = wm::GetWindowState(window_.get()); local
1204 wm::WindowState* window_state = wm::GetWindowState(window_.get()); local
1223 wm::WindowState* window_state = wm::GetWindowState(window_.get()); local
[all...]
H A Dworkspace_window_resizer.cc23 #include "ash/wm/window_state.h"
51 wm::WindowState* window_state = wm::GetWindowState(window); local
54 if ((!window_state->CanResize() && window_component != HTCAPTION) ||
55 window_state->drag_details()) {
59 if (window_component == HTCAPTION && !window_state->can_be_dragged())
75 if (!window_state->IsNormalOrSnapped())
83 window_state->CreateDragDetails(window, point_in_parent, window_component,
90 window_state, std::vector<aura::Window*>());
92 window_resizer = DefaultWindowResizer::Create(window_state);
94 window_resizer = DragWindowResizer::Create(window_resizer, window_state);
345 Create( wm::WindowState* window_state, const std::vector<aura::Window*>& attached_windows) argument
512 WorkspaceWindowResizer( wm::WindowState* window_state, const std::vector<aura::Window*>& attached_windows) argument
[all...]
/external/chromium_org/ash/wm/
H A Dworkspace_controller_unittest.cc20 #include "ash/wm/window_state.h"
107 wm::WindowState* window_state = wm::GetWindowState(window); local
108 window_state->set_window_position_managed(true);
166 wm::WindowState* window_state = wm::GetWindowState(w1.get()); local
168 EXPECT_FALSE(window_state->HasRestoreBounds());
172 EXPECT_FALSE(window_state->HasRestoreBounds());
297 wm::WindowState* window_state = wm::GetWindowState(w1.get()); local
299 ASSERT_TRUE(window_state->HasRestoreBounds());
300 EXPECT_EQ("0,0 250x251", window_state->GetRestoreBoundsInScreen().ToString());
442 wm::WindowState* window_state local
[all...]
H A Dimmersive_fullscreen_controller.cc12 #include "ash/wm/window_state.h"
277 ash::wm::WindowState* window_state = wm::GetWindowState(native_window_); local
279 window_state->set_hide_shelf_when_fullscreen(!enabled);
282 window_state->set_in_immersive_fullscreen(enabled);
H A Dwindow_positioner.cc12 #include "ash/wm/window_state.h"
58 const wm::WindowState* window_state = wm::GetWindowState(window); local
59 return !window_state->is_dragged() && window_state->window_position_managed();
68 const wm::WindowState* window_state = wm::GetWindowState(window); local
69 return window_state->window_position_managed() &&
70 !window_state->IsMinimized() &&
71 !window_state->IsMaximized() &&
72 !window_state->bounds_changed_by_user();
516 wm::WindowState* window_state local
[all...]
/external/zlib/src/contrib/masmx86/
H A Dinffas32.asm139 window_state equ (40+4+zlib1222sup) ;/* state->window */ define
227 mov edx, [edi+window_state]
/external/chromium_org/ash/accelerators/
H A Daccelerator_controller_unittest.cc26 #include "ash/wm/window_state.h"
433 wm::WindowState* window_state = wm::GetWindowState(window.get()); local
435 window_state->Activate();
450 gfx::Rect normal_bounds = window_state->GetRestoreBoundsInParent();
453 EXPECT_TRUE(window_state->IsMaximized());
457 EXPECT_FALSE(window_state->IsMaximized());
464 EXPECT_FALSE(window_state->IsMaximized());
468 EXPECT_FALSE(window_state->IsMaximized());
471 EXPECT_TRUE(window_state->IsMaximized());
473 EXPECT_FALSE(window_state
488 wm::WindowState* window_state = wm::GetWindowState(window.get()); local
595 wm::WindowState* window_state = wm::GetWindowState(widget->GetNativeView()); local
[all...]
H A Daccelerator_controller.cc53 #include "ash/wm/window_state.h"
506 wm::WindowState* window_state = wm::GetActiveWindowState(); local
509 if (!window_state ||
510 window_state->window()->type() != ui::wm::WINDOW_TYPE_NORMAL ||
511 window_state->IsFullscreen() ||
512 !window_state->CanSnap()) {
523 window_state->OnWMEvent(&event);
/external/chromium_org/ash/display/
H A Ddisplay_controller_unittest.cc20 #include "ash/wm/window_state.h"
580 wm::WindowState* window_state = wm::GetWindowState(w1.get()); local
582 window_state->OnWMEvent(&toggle_fullscreen_event);
583 EXPECT_TRUE(window_state->IsFullscreen());
599 EXPECT_TRUE(window_state->IsFullscreen());
/external/chromium_org/ash/frame/
H A Dcustom_frame_view_ash.cc20 #include "ash/wm/window_state.h"
52 ash::wm::WindowState* window_state,
65 window_state_ = window_state;
77 virtual bool ToggleFullscreen(ash::wm::WindowState* window_state) OVERRIDE {
78 bool enter_fullscreen = !window_state->IsFullscreen();
80 window_state->window()->SetProperty(aura::client::kShowStateKey,
83 window_state->Restore();
100 ash::wm::WindowState* window_state,
102 if (!window_state->IsFullscreen() &&
103 !window_state
51 CustomFrameViewAshWindowStateDelegate( ash::wm::WindowState* window_state, ash::CustomFrameViewAsh* custom_frame_view) argument
445 wm::WindowState* window_state = wm::GetWindowState(frame->GetNativeWindow()); local
[all...]
/external/chromium_org/ash/wm/overview/
H A Dwindow_selector_unittest.cc26 #include "ash/wm/window_state.h"
427 wm::WindowState* window_state = wm::GetWindowState(window1.get()); local
428 window_state->Maximize();
456 wm::WindowState* window_state = wm::GetWindowState(window1.get()); local
457 window_state->Minimize();
/external/chromium_org/chrome/browser/chromeos/events/
H A Devent_rewriter_unittest.cc13 #include "ash/wm/window_state.h"
1897 ash::wm::WindowState* window_state = ash::wm::GetWindowState(window.get()); local
1898 window_state->Activate();
1906 window_state->set_top_row_keys_are_function_keys(true);
1920 window_state->set_top_row_keys_are_function_keys(false);
/external/chromium_org/chrome/browser/ui/
H A Dbrowser_command_controller.cc1194 WindowState window_state = WINDOW_STATE_NOT_FULLSCREEN; local
1196 window_state = WINDOW_STATE_FULLSCREEN;
1199 window_state = WINDOW_STATE_METRO_SNAP;
1204 show_main_ui && window_state == WINDOW_STATE_NOT_FULLSCREEN;
1213 window_state == WINDOW_STATE_NOT_FULLSCREEN);
1256 bool fullscreen_enabled = window_state != WINDOW_STATE_METRO_SNAP;
1258 if (window_state == WINDOW_STATE_NOT_FULLSCREEN &&
/external/chromium_org/chrome/browser/ui/views/apps/
H A Dchrome_native_app_window_views.cc45 #include "ash/wm/window_state.h"
149 virtual bool ToggleFullscreen(ash::wm::WindowState* window_state) OVERRIDE {
151 DCHECK(window_state->IsFullscreen() || window_state->CanMaximize());
152 if (window_state->IsFullscreen())
154 else if (window_state->CanMaximize())
161 ash::wm::WindowState* window_state,
165 if (!window_state->IsFullscreen() && !window_state->IsMinimized() &&
602 ash::wm::WindowState* window_state local
[all...]
/external/chromium_org/ash/wm/panels/
H A Dpanel_layout_manager.cc19 #include "ash/wm/window_state.h"
322 wm::WindowState* window_state = wm::GetWindowState(panel); local
323 if (window_state->IsMinimized())
324 window_state->Restore();
326 window_state->Minimize();
488 wm::WindowState* window_state,
493 if (window_state->IsMinimized()) {
494 MinimizePanel(window_state->window());
495 restore_windows_on_shelf_visible_->Remove(window_state->window());
497 restore_windows_on_shelf_visible_->Add(window_state
487 OnPostWindowStateTypeChange( wm::WindowState* window_state, wm::WindowStateType old_type) argument
[all...]
/external/chromium_org/chrome/browser/ui/ash/launcher/
H A Dchrome_launcher_controller_browsertest.cc20 #include "ash/wm/window_state.h"
1992 ash::wm::WindowState* window_state = ash::wm::GetActiveWindowState(); local
1993 window_state->Minimize();
1994 EXPECT_TRUE(window_state->IsMinimized());
2002 EXPECT_FALSE(window_state->IsMinimized());
/external/chromium_org/chrome/browser/ui/views/tabs/
H A Dtab_drag_controller_interactive_uitest.cc9 #include "ash/wm/window_state.h"
2189 ash::wm::WindowState* window_state = local
2194 EXPECT_TRUE(window_state->IsDocked());
2195 EXPECT_FALSE(window_state->IsSnapped());
H A Dtab_drag_controller.cc48 #include "ash/wm/window_state.h"
84 ash::wm::WindowState* window_state = local
86 return window_state->IsDocked() || window_state->IsSnapped();
/external/chromium_org/ash/wm/dock/
H A Ddocked_window_layout_manager.cc19 #include "ash/wm/window_state.h"
599 wm::WindowState* window_state = wm::GetWindowState(window); local
600 bool should_attach_to_shelf = window_state->drag_details() &&
601 window_state->drag_details()->should_attach_to_shelf;
610 (!window_state->CanResize() ||
758 wm::WindowState* window_state = wm::GetWindowState(window); local
761 MinimizeDockedWindow(window_state);
763 if (!window_state->IsMinimized())
764 RestoreDockedWindow(window_state);
809 wm::WindowState* window_state,
808 OnPreWindowStateTypeChange( wm::WindowState* window_state, wm::WindowStateType old_type) argument
927 MinimizeDockedWindow( wm::WindowState* window_state) argument
936 RestoreDockedWindow( wm::WindowState* window_state) argument
990 const wm::WindowState* window_state = wm::GetWindowState(window); local
[all...]
/external/chromium_org/extensions/browser/app_window/
H A Dapp_window.cc993 ui::WindowShowState window_state = native_app_window_->GetRestoredState(); local
995 extension_id(), window_key_, bounds, screen_bounds, window_state); local

Completed in 455 milliseconds

123