Searched defs:show_state (Results 1 - 22 of 22) sorted by relevance

/external/chromium_org/ash/shell/
H A Dtoplevel_window.cc23 ui::WindowShowState show_state; member in struct:ash::shell::__anon1951::SavedState
70 ui::WindowShowState show_state) {
74 saved_state->show_state = show_state;
80 ui::WindowShowState* show_state) const {
84 *show_state = saved_state->show_state;
93 *show_state, local
95 show_state); local
69 SaveWindowPlacement(const gfx::Rect& bounds, ui::WindowShowState show_state) argument
/external/chromium_org/chrome/browser/sessions/
H A Dsession_types.h150 ui::WindowShowState show_state; member in struct:SessionWindow
H A Dsession_restore.cc606 (*i)->show_state,
841 if ((*i)->show_state != ui::SHOW_STATE_MINIMIZED)
861 ui::WindowShowState show_state = (*i)->show_state; local
863 show_state = ui::SHOW_STATE_NORMAL;
869 show_state,
1072 ui::WindowShowState show_state,
1085 params.initial_show_state = show_state;
1070 CreateRestoredBrowser(Browser::Type type, gfx::Rect bounds, ui::WindowShowState show_state, const std::string& app_name) argument
H A Dsession_service.cc113 int32 show_state; member in struct:__anon4663::WindowBoundsPayload3
291 ui::WindowShowState show_state) {
295 ScheduleCommand(CreateSetWindowBoundsCommand(window_id, bounds, show_state));
802 ui::WindowShowState show_state) {
809 payload.show_state = ShowStateToPersistedShowState(show_state);
1115 GetWindow(payload.window_id, windows)->show_state =
1131 GetWindow(payload.window_id, windows)->show_state =
1132 PersistedShowStateToShowState(payload.show_state);
289 SetWindowBounds(const SessionID& window_id, const gfx::Rect& bounds, ui::WindowShowState show_state) argument
799 CreateSetWindowBoundsCommand( const SessionID& window_id, const gfx::Rect& bounds, ui::WindowShowState show_state) argument
/external/chromium_org/chrome/browser/ui/
H A Dbrowser_window_state.cc117 ui::WindowShowState show_state) {
125 session_service->SetWindowBounds(browser->session_id(), bounds, show_state);
130 ui::WindowShowState* show_state) {
133 DCHECK(show_state);
139 show_state);
115 SaveWindowPlacement(const Browser* browser, const gfx::Rect& bounds, ui::WindowShowState show_state) argument
128 GetSavedWindowBoundsAndShowState(const Browser* browser, gfx::Rect* bounds, ui::WindowShowState* show_state) argument
/external/chromium_org/chrome/browser/ui/window_sizer/
H A Dwindow_sizer_ash_unittest.cc929 ui::WindowShowState show_state = ui::SHOW_STATE_DEFAULT; local
932 std::string(), specified_bounds, browser.get(), &bounds, &show_state); local
934 EXPECT_EQ(ui::SHOW_STATE_MAXIMIZED, show_state);
940 show_state = ui::SHOW_STATE_DEFAULT;
942 std::string(), specified_bounds, browser.get(), &bounds, &show_state); local
944 EXPECT_EQ(ui::SHOW_STATE_DEFAULT, show_state);
961 ui::WindowShowState show_state; local
967 &show_state); local
975 ui::WindowShowState show_state; local
981 &show_state); local
[all...]
H A Dwindow_sizer.cc48 ui::WindowShowState* show_state) const OVERRIDE {
50 DCHECK(show_state); variable
78 if (*show_state == ui::SHOW_STATE_DEFAULT && maximized)
79 *show_state = ui::SHOW_STATE_MAXIMIZED;
90 ui::WindowShowState* show_state) const OVERRIDE {
91 DCHECK(show_state); variable
125 if (*show_state == ui::SHOW_STATE_DEFAULT && window->IsMaximized())
126 *show_state = ui::SHOW_STATE_MAXIMIZED;
217 ui::WindowShowState* show_state) {
227 show_state);
212 GetBrowserWindowBoundsAndShowState( const std::string& app_name, const gfx::Rect& specified_bounds, const Browser* browser, gfx::Rect* window_bounds, ui::WindowShowState* show_state) argument
[all...]
H A Dwindow_sizer_common_unittest.cc143 ui::WindowShowState show_state,
147 persistent_show_state_ = show_state;
152 ui::WindowShowState show_state,
155 last_active_show_state_ = show_state;
162 ui::WindowShowState* show_state) const {
163 DCHECK(show_state);
166 if (*show_state == ui::SHOW_STATE_DEFAULT)
167 *show_state = persistent_show_state_;
173 ui::WindowShowState* show_state) const {
174 DCHECK(show_state);
141 SetPersistentState(const gfx::Rect& bounds, const gfx::Rect& work_area, ui::WindowShowState show_state, bool has_persistent_data) argument
151 SetLastActiveState(const gfx::Rect& bounds, ui::WindowShowState show_state, bool has_last_active_data) argument
[all...]
/external/chromium_org/ui/app_list/views/
H A Dapps_container_view.cc160 void AppsContainerView::SetShowState(ShowState show_state, argument
162 if (show_state_ == show_state)
165 show_state_ = show_state;
H A Dstart_page_view.cc161 void StartPageView::SetShowState(ShowState show_state) { argument
162 instant_container_->SetVisible(show_state == SHOW_START_PAGE);
163 results_view_->SetVisible(show_state == SHOW_SEARCH_RESULTS);
167 if (show_state == SHOW_START_PAGE && GetWidget() && GetWidget()->IsVisible())
170 if (show_state_ == show_state)
173 show_state_ = show_state;
179 if (show_state == SHOW_SEARCH_RESULTS)
/external/chromium_org/ui/views/
H A Dviews_delegate.cc23 ui::WindowShowState show_state) {
30 ui::WindowShowState* show_state) const {
20 SaveWindowPlacement(const Widget* widget, const std::string& window_name, const gfx::Rect& bounds, ui::WindowShowState show_state) argument
/external/chromium_org/chrome/browser/ui/views/
H A Dchrome_views_delegate.cc142 ui::WindowShowState show_state) {
155 show_state == ui::SHOW_STATE_MAXIMIZED);
168 ui::WindowShowState* show_state) const {
191 *show_state = maximized ? ui::SHOW_STATE_MAXIMIZED : ui::SHOW_STATE_NORMAL;
139 SaveWindowPlacement(const views::Widget* window, const std::string& window_name, const gfx::Rect& bounds, ui::WindowShowState show_state) argument
/external/chromium_org/ui/views/widget/
H A Dwidget_delegate.cc117 ui::WindowShowState show_state) {
123 GetWidget(), window_name, bounds, show_state);
129 ui::WindowShowState* show_state) const {
135 widget, window_name, bounds, show_state);
116 SaveWindowPlacement(const gfx::Rect& bounds, ui::WindowShowState show_state) argument
H A Dwidget.h224 ui::WindowShowState show_state; member in struct:views::Widget::InitParams
782 virtual bool SetInitialFocus(ui::WindowShowState show_state) OVERRIDE;
838 ui::WindowShowState* show_state);
H A Dnative_widget_aura.cc106 window_->SetProperty(aura::client::kShowStateKey, params.show_state);
347 ui::WindowShowState* show_state) const {
350 *show_state = window_ ? window_->GetProperty(aura::client::kShowStateKey) :
994 void NativeWidgetAura::SetInitialFocus(ui::WindowShowState show_state) { argument
996 if (!GetWidget()->SetInitialFocus(show_state))
H A Dwidget.cc116 show_state(ui::SHOW_STATE_DEFAULT),
140 show_state(ui::SHOW_STATE_DEFAULT),
372 if (params.show_state == ui::SHOW_STATE_MAXIMIZED)
374 else if (params.show_state == ui::SHOW_STATE_MINIMIZED)
1331 bool Widget::SetInitialFocus(ui::WindowShowState show_state) { argument
1333 if (!focus_on_creation_ || show_state == ui::SHOW_STATE_INACTIVE ||
1334 show_state == ui::SHOW_STATE_MINIMIZED) {
1428 ui::WindowShowState show_state = ui::SHOW_STATE_NORMAL;
1430 native_widget_->GetWindowPlacement(&bounds, &show_state);
1431 widget_delegate_->SaveWindowPlacement(bounds, show_state);
1480 GetSavedWindowPlacement(gfx::Rect* bounds, ui::WindowShowState* show_state) argument
[all...]
/external/chromium_org/components/native_app_window/
H A Dnative_app_window_views.cc238 ui::WindowShowState show_state) {
239 views::WidgetDelegate::SaveWindowPlacement(bounds, show_state);
237 SaveWindowPlacement(const gfx::Rect& bounds, ui::WindowShowState show_state) argument
/external/chromium_org/chrome/browser/extensions/api/tabs/
H A Dtabs_api.cc472 ui::WindowShowState show_state = ui::SHOW_STATE_DEFAULT; local
477 &show_state); local
624 ui::WindowShowState show_state = ui::SHOW_STATE_DEFAULT; // No change.
627 show_state = ui::SHOW_STATE_NORMAL;
630 show_state = ui::SHOW_STATE_MINIMIZED;
633 show_state = ui::SHOW_STATE_MAXIMIZED;
636 show_state = ui::SHOW_STATE_FULLSCREEN;
645 if (show_state != ui::SHOW_STATE_FULLSCREEN &&
646 show_state != ui::SHOW_STATE_DEFAULT)
649 switch (show_state) {
[all...]
/external/chromium_org/ui/views/widget/desktop_aura/
H A Ddesktop_window_tree_host_win.cc208 ui::WindowShowState show_state) {
209 message_handler_->ShowWindowWithState(show_state);
249 ui::WindowShowState* show_state) const {
250 message_handler_->GetWindowPlacement(bounds, show_state);
772 ui::WindowShowState show_state) {
773 return GetWidget()->SetInitialFocus(show_state);
207 ShowWindowWithState( ui::WindowShowState show_state) argument
771 HandleInitialFocus( ui::WindowShowState show_state) argument
H A Ddesktop_window_tree_host_x11.cc364 ui::WindowShowState show_state) {
366 MapWindow(show_state);
368 if (show_state == ui::SHOW_STATE_NORMAL ||
369 show_state == ui::SHOW_STATE_MAXIMIZED) {
373 native_widget_delegate_->AsWidget()->SetInitialFocus(show_state);
430 ui::WindowShowState* show_state) const {
434 *show_state = ui::SHOW_STATE_FULLSCREEN;
436 *show_state = ui::SHOW_STATE_MINIMIZED;
438 *show_state = ui::SHOW_STATE_MAXIMIZED;
440 *show_state
363 ShowWindowWithState( ui::WindowShowState show_state) argument
1562 MapWindow(ui::WindowShowState show_state) argument
[all...]
/external/chromium_org/chrome/browser/ui/views/frame/
H A Dbrowser_view.cc1609 ui::WindowShowState show_state) {
1615 WidgetDelegate::SaveWindowPlacement(bounds, show_state);
1616 chrome::SaveWindowPlacement(browser_.get(), bounds, show_state);
1623 ui::WindowShowState* show_state) const {
1624 chrome::GetSavedWindowBoundsAndShowState(browser_.get(), bounds, show_state);
1658 *show_state = ui::SHOW_STATE_NORMAL;
1608 SaveWindowPlacement(const gfx::Rect& bounds, ui::WindowShowState show_state) argument
/external/chromium_org/ui/views/win/
H A Dhwnd_message_handler.cc488 ui::WindowShowState* show_state) const {
518 if (show_state) {
520 *show_state = ui::SHOW_STATE_MAXIMIZED;
522 *show_state = ui::SHOW_STATE_MINIMIZED;
524 *show_state = ui::SHOW_STATE_NORMAL;
587 void HWNDMessageHandler::ShowWindowWithState(ui::WindowShowState show_state) { argument
590 switch (show_state) {
607 // show_state is set to SW_HIDE, so we need to correct that condition. We
608 // don't just change show_state to SW_SHOWNORMAL because MSDN says we must
625 if (!delegate_->HandleInitialFocus(show_state))
[all...]

Completed in 406 milliseconds