Home
last modified time | relevance | path

Searched refs:show_state (Results 1 – 25 of 64) sorted by relevance

123

/external/chromium_org/chrome/browser/ui/window_sizer/
Dwindow_sizer.cc47 ui::WindowShowState* show_state) const OVERRIDE { in GetPersistentState()
49 DCHECK(show_state); in GetPersistentState()
77 if (*show_state == ui::SHOW_STATE_DEFAULT && maximized) in GetPersistentState()
78 *show_state = ui::SHOW_STATE_MAXIMIZED; in GetPersistentState()
89 ui::WindowShowState* show_state) const OVERRIDE { in GetLastActiveWindowState()
90 DCHECK(show_state); in GetLastActiveWindowState()
124 if (*show_state == ui::SHOW_STATE_DEFAULT && window->IsMaximized()) in GetLastActiveWindowState()
125 *show_state = ui::SHOW_STATE_MAXIMIZED; in GetLastActiveWindowState()
201 ui::WindowShowState* show_state) { in GetBrowserWindowBoundsAndShowState() argument
211 show_state); in GetBrowserWindowBoundsAndShowState()
[all …]
Dwindow_sizer_ash.cc18 ui::WindowShowState* show_state) const { in GetTabbedBrowserBoundsAsh()
19 DCHECK(show_state); in GetTabbedBrowserBoundsAsh()
24 ui::WindowShowState passed_show_state = *show_state; in GetTabbedBrowserBoundsAsh()
26 bool is_saved_bounds = GetSavedWindowBounds(bounds_in_screen, show_state); in GetTabbedBrowserBoundsAsh()
64 show_state); in GetTabbedBrowserBoundsAsh()
Dwindow_sizer.h64 ui::WindowShowState* show_state) const = 0;
73 ui::WindowShowState* show_state) const = 0;
96 ui::WindowShowState* show_state) const;
108 ui::WindowShowState* show_state);
127 ui::WindowShowState* show_state) const;
135 ui::WindowShowState* show_state) const;
168 ui::WindowShowState* show_state) const;
Dwindow_sizer_common_unittest.cc143 ui::WindowShowState show_state, in SetPersistentState() argument
147 persistent_show_state_ = show_state; in SetPersistentState()
152 ui::WindowShowState show_state, in SetLastActiveState() argument
155 last_active_show_state_ = show_state; in SetLastActiveState()
162 ui::WindowShowState* show_state) const { in GetPersistentState()
163 DCHECK(show_state); in GetPersistentState()
166 if (*show_state == ui::SHOW_STATE_DEFAULT) in GetPersistentState()
167 *show_state = persistent_show_state_; in GetPersistentState()
173 ui::WindowShowState* show_state) const { in GetLastActiveWindowState()
174 DCHECK(show_state); in GetLastActiveWindowState()
[all …]
Dwindow_sizer_common_unittest.h60 ui::WindowShowState show_state,
63 ui::WindowShowState show_state,
70 ui::WindowShowState* show_state) const OVERRIDE;
73 ui::WindowShowState* show_state) const OVERRIDE;
/external/chromium_org/ash/shell/
Dtoplevel_window.cc24 ui::WindowShowState show_state; member
71 ui::WindowShowState show_state) { in SaveWindowPlacement() argument
75 saved_state->show_state = show_state; in SaveWindowPlacement()
81 ui::WindowShowState* show_state) const { in GetSavedWindowPlacement()
85 *show_state = saved_state->show_state; in GetSavedWindowPlacement()
94 *show_state, in GetSavedWindowPlacement()
96 show_state); in GetSavedWindowPlacement()
Dtoplevel_window.h39 ui::WindowShowState show_state) OVERRIDE;
43 ui::WindowShowState* show_state) const OVERRIDE;
/external/chromium_org/chrome/browser/ui/
Dbrowser_window_state.cc69 ui::WindowShowState show_state) { in SaveWindowPlacement() argument
77 session_service->SetWindowBounds(browser->session_id(), bounds, show_state); in SaveWindowPlacement()
82 ui::WindowShowState* show_state) { in GetSavedWindowBoundsAndShowState() argument
85 DCHECK(show_state); in GetSavedWindowBoundsAndShowState()
91 show_state); in GetSavedWindowBoundsAndShowState()
Dbrowser_window_state.h26 ui::WindowShowState show_state);
33 ui::WindowShowState* show_state);
/external/chromium_org/ui/views/widget/
Dwidget_delegate.cc111 ui::WindowShowState show_state) { in SaveWindowPlacement() argument
117 GetWidget(), window_name, bounds, show_state); in SaveWindowPlacement()
123 ui::WindowShowState* show_state) const { in GetSavedWindowPlacement()
129 widget, window_name, bounds, show_state); in GetSavedWindowPlacement()
Dwidget_delegate.h103 ui::WindowShowState show_state);
109 ui::WindowShowState* show_state) const;
Dwidget_hwnd_utils.cc38 if (params.show_state == ui::SHOW_STATE_MAXIMIZED) in CalculateWindowStylesFromInitParams()
40 if (params.show_state == ui::SHOW_STATE_MINIMIZED) in CalculateWindowStylesFromInitParams()
Dwidget.cc126 show_state(ui::SHOW_STATE_DEFAULT), in InitParams()
153 show_state(ui::SHOW_STATE_DEFAULT), in InitParams()
392 if (params.show_state == ui::SHOW_STATE_MAXIMIZED) in Init()
394 else if (params.show_state == ui::SHOW_STATE_MINIMIZED) in Init()
1348 ui::WindowShowState show_state = ui::SHOW_STATE_NORMAL; in SaveWindowPlacement() local
1350 native_widget_->GetWindowPlacement(&bounds, &show_state); in SaveWindowPlacement()
1351 widget_delegate_->SaveWindowPlacement(bounds, show_state); in SaveWindowPlacement()
1396 ui::WindowShowState* show_state) { in GetSavedWindowPlacement() argument
1405 if (widget_delegate_->GetSavedWindowPlacement(this, bounds, show_state)) { in GetSavedWindowPlacement()
/external/chromium_org/ui/app_list/views/
Dapps_container_view.cc92 void AppsContainerView::SetShowState(ShowState show_state) { in SetShowState() argument
93 if (show_state_ == show_state) in SetShowState()
96 show_state_ = show_state; in SetShowState()
Dcontents_view.cc87 void ContentsView::SetShowState(ShowState show_state) { in SetShowState() argument
88 if (show_state_ == show_state) in SetShowState()
91 show_state_ = show_state; in SetShowState()
/external/chromium_org/ui/views/test/
Dtest_views_delegate.cc35 ui::WindowShowState show_state) { in SaveWindowPlacement() argument
42 ui:: WindowShowState* show_state) const { in GetSavedWindowPlacement()
Dtest_views_delegate.h34 ui::WindowShowState show_state) OVERRIDE;
39 ui::WindowShowState* show_state) const OVERRIDE;
/external/chromium_org/chrome/browser/ui/views/
Dchrome_views_delegate.cc75 ui::WindowShowState show_state) { in SaveWindowPlacement() argument
88 show_state == ui::SHOW_STATE_MAXIMIZED); in SaveWindowPlacement()
101 ui::WindowShowState* show_state) const { in GetSavedWindowPlacement()
120 *show_state = maximized ? ui::SHOW_STATE_MAXIMIZED : ui::SHOW_STATE_NORMAL; in GetSavedWindowPlacement()
Dchrome_views_delegate.h23 ui::WindowShowState show_state) OVERRIDE;
28 ui::WindowShowState* show_state) const OVERRIDE;
/external/chromium_org/ui/views/
Dviews_delegate.h67 ui::WindowShowState show_state) = 0;
75 ui::WindowShowState* show_state) const = 0;
/external/chromium_org/ash/wm/
Dwindow_positioner_unittest.cc82 ui::WindowShowState* show_state) const OVERRIDE { in GetSavedWindowPlacement()
84 *show_state = ui::SHOW_STATE_NORMAL; in GetSavedWindowPlacement()
Dwindow_state.cc28 bool WindowState::IsMaximizedOrFullscreenState(ui::WindowShowState show_state) { in IsMaximizedOrFullscreenState() argument
29 return show_state == ui::SHOW_STATE_FULLSCREEN || in IsMaximizedOrFullscreenState()
30 show_state == ui::SHOW_STATE_MAXIMIZED; in IsMaximizedOrFullscreenState()
/external/chromium_org/chrome/browser/extensions/api/tabs/
Dtabs_api.cc488 ui::WindowShowState show_state = ui::SHOW_STATE_DEFAULT; in RunImpl() local
493 &show_state); in RunImpl()
649 ui::WindowShowState show_state = ui::SHOW_STATE_DEFAULT; // No change. in RunImpl() local
652 show_state = ui::SHOW_STATE_NORMAL; in RunImpl()
655 show_state = ui::SHOW_STATE_MINIMIZED; in RunImpl()
658 show_state = ui::SHOW_STATE_MAXIMIZED; in RunImpl()
661 show_state = ui::SHOW_STATE_FULLSCREEN; in RunImpl()
670 if (show_state != ui::SHOW_STATE_FULLSCREEN && in RunImpl()
671 show_state != ui::SHOW_STATE_DEFAULT) in RunImpl()
674 switch (show_state) { in RunImpl()
[all …]
/external/chromium_org/ui/views/widget/desktop_aura/
Ddesktop_root_window_host.h81 virtual void ShowWindowWithState(ui::WindowShowState show_state) = 0;
90 ui::WindowShowState* show_state) const = 0;
/external/chromium_org/chrome/browser/sessions/
Dsession_service.cc112 int32 show_state; member
245 ui::WindowShowState show_state) { in SetWindowBounds() argument
249 ScheduleCommand(CreateSetWindowBoundsCommand(window_id, bounds, show_state)); in SetWindowBounds()
733 ui::WindowShowState show_state) { in CreateSetWindowBoundsCommand() argument
740 payload.show_state = AdjustShowState(show_state); in CreateSetWindowBoundsCommand()
1046 GetWindow(payload.window_id, windows)->show_state = in CreateTabsAndWindows()
1063 ui::WindowShowState show_state = ui::SHOW_STATE_NORMAL; in CreateTabsAndWindows() local
1064 if (payload.show_state > ui::SHOW_STATE_DEFAULT && in CreateTabsAndWindows()
1065 payload.show_state < ui::SHOW_STATE_END && in CreateTabsAndWindows()
1066 payload.show_state != ui::SHOW_STATE_INACTIVE) { in CreateTabsAndWindows()
[all …]

123