/external/chromium_org/ui/views/bubble/ |
D | bubble_delegate.cc | 171 if (close_on_deactivate() && widget == GetWidget() && !active) in OnWidgetActivationChanged() 172 GetWidget()->Close(); in OnWidgetActivationChanged() 181 GetWidget()->Close(); in OnWidgetBoundsChanged() 208 GetWidget()->Show(); in StartFade() 210 GetWidget()->Close(); in StartFade() 217 GetWidget()->SetOpacity(original_opacity_); in StartFade() 218 GetWidget()->Show(); in StartFade() 229 GetWidget()->SetOpacity(original_opacity_); in ResetFade() 253 GetWidget()->Close(); in AcceleratorPressed() 267 GetWidget()->Close(); in AnimationEnded() [all …]
|
/external/chromium_org/ui/views/focus/ |
D | focus_manager_test.cc | 27 return GetWidget()->GetFocusManager(); in GetFocusManager() 53 GetWidget()->Close(); in TearDown() 67 Widget* FocusManagerTest::GetWidget() { in GetWidget() function in views::FocusManagerTest 68 return contents_view_->GetWidget(); in GetWidget() 71 const Widget* FocusManagerTest::GetWidget() const { in GetWidget() function in views::FocusManagerTest 72 return contents_view_->GetWidget(); in GetWidget() 105 SendMessage(GetWidget()->GetNativeWindow(), WM_ACTIVATE, WA_ACTIVE, NULL); in SimulateActivateWindow() 109 SendMessage(GetWidget()->GetNativeWindow(), WM_ACTIVATE, WA_INACTIVE, NULL); in SimulateDeactivateWindow() 113 PostMessage(GetWidget()->GetNativeView(), WM_KEYDOWN, key_code, 0); in PostKeyDown() 117 PostMessage(GetWidget()->GetNativeView(), WM_KEYUP, key_code, 0); in PostKeyUp()
|
/external/chromium_org/ui/views/widget/ |
D | native_widget_win.cc | 128 return GetWidget()->ShouldUseNativeFrame() ? in CreateNonClientFrameView() 129 new NativeFrameView(GetWidget()) : NULL; in CreateNonClientFrameView() 140 Widget* NativeWidgetWin::GetWidget() { in GetWidget() function in views::NativeWidgetWin 144 const Widget* NativeWidgetWin::GetWidget() const { in GetWidget() function in views::NativeWidgetWin 158 return native_widget ? native_widget->GetWidget() : NULL; in GetTopLevelWidget() 383 GetWidget()->GetRootView()->SchedulePaint(); in SetOpacity() 504 return !GetWidget()->ShouldUseNativeFrame(); in IsUsingCustomFrame() 508 GetWidget()->GetRootView()->SchedulePaint(); in SchedulePaint() 520 return GetWidget()->widget_delegate()->CanResize(); in CanResize() 524 return GetWidget()->widget_delegate()->CanMaximize(); in CanMaximize() [all …]
|
D | native_widget_unittest.cc | 22 native_widget_->GetWidget()->CloseNow(); in ~ScopedTestWidget() 65 EXPECT_TRUE(widget->GetWidget()->GetNativeView() != NULL); in TEST_F() 72 widget->GetWidget()->GetNativeView())); in TEST_F() 80 widget->GetWidget()->GetNativeView())); in TEST_F() 89 toplevel_widget->GetWidget()->SetContentsView(child_host); in TEST_F() 93 child_host->Attach(child_widget->GetWidget()->GetNativeView()); in TEST_F() 97 child_widget->GetWidget()->GetNativeView())); in TEST_F()
|
D | widget_delegate.cc | 81 const Widget* widget = GetWidget(); in ShouldHandleSystemCommands() 117 GetWidget(), window_name, bounds, show_state); in SaveWindowPlacement() 191 Widget* WidgetDelegateView::GetWidget() { in GetWidget() function in views::WidgetDelegateView 192 return View::GetWidget(); in GetWidget() 195 const Widget* WidgetDelegateView::GetWidget() const { in GetWidget() function in views::WidgetDelegateView 196 return View::GetWidget(); in GetWidget()
|
D | native_widget_aura.cc | 171 DCHECK(GetWidget()->GetRootView()); in InitNativeWidget() 173 tooltip_manager_.reset(new views::TooltipManagerAura(GetWidget())); in InitNativeWidget() 175 drop_helper_.reset(new DropHelper(GetWidget()->GetRootView())); in InitNativeWidget() 184 GetWidget()->widget_delegate()->CanMaximize()); in InitNativeWidget() 186 GetWidget()->widget_delegate()->CanResize()); in InitNativeWidget() 189 GetWidget()->GetRootView())); in InitNativeWidget() 204 GetWidget()->ThemeChanged(); in FrameTypeChanged() 205 GetWidget()->GetRootView()->SchedulePaint(); in FrameTypeChanged() 208 Widget* NativeWidgetAura::GetWidget() { in GetWidget() function in views::NativeWidgetAura 212 const Widget* NativeWidgetAura::GetWidget() const { in GetWidget() function in views::NativeWidgetAura [all …]
|
/external/chromium_org/ash/ |
D | focus_cycler_unittest.cc | 54 virtual views::Widget* GetWidget() OVERRIDE { in GetWidget() function in ash::test::__anonec3b52740111::PanedWidgetDelegate 57 virtual const views::Widget* GetWidget() const OVERRIDE { in GetWidget() function in ash::test::__anonec3b52740111::PanedWidgetDelegate 82 GetStatusAreaWidgetDelegate(tray_->GetWidget())-> in TearDown() 106 if (!tray_->GetWidget()) in CreateTray() 108 focus_cycler_->AddWidget(tray()->GetWidget()); in CreateTray() 109 GetStatusAreaWidgetDelegate(tray_->GetWidget())->SetFocusCyclerForTesting( in CreateTray() 157 EXPECT_TRUE(tray()->GetWidget()->IsActive()); in TEST_F() 184 EXPECT_TRUE(tray()->GetWidget()->IsActive()); in TEST_F() 207 EXPECT_TRUE(tray()->GetWidget()->IsActive()); in TEST_F() 215 EXPECT_TRUE(tray()->GetWidget()->IsActive()); in TEST_F() [all …]
|
/external/chromium_org/ui/views/controls/webview/ |
D | web_dialog_view.cc | 91 if (GetWidget()) in AcceleratorPressed() 92 GetWidget()->Close(); in AcceleratorPressed() 98 if (details.is_add && GetWidget()) in ViewHierarchyChanged() 174 views::Widget* WebDialogView::GetWidget() { in GetWidget() function in views::WebDialogView 175 return View::GetWidget(); in GetWidget() 178 const views::Widget* WebDialogView::GetWidget() const { in GetWidget() function in views::WebDialogView 179 return View::GetWidget(); in GetWidget() 236 if (GetWidget()) in OnDialogClosed() 237 GetWidget()->Close(); in OnDialogClosed() 248 if (GetWidget()) in OnDialogCloseFromWebUI() [all …]
|
/external/chromium_org/chrome/browser/ui/views/ |
D | javascript_app_modal_dialog_views.cc | 54 GetWidget()->Show(); in ShowAppModalDialog() 58 GetWidget()->Show(); in ActivateAppModalDialog() 59 GetWidget()->Activate(); in ActivateAppModalDialog() 63 GetWidget()->Close(); in CloseAppModalDialog() 115 views::Widget* JavaScriptAppModalDialogViews::GetWidget() { in GetWidget() function in JavaScriptAppModalDialogViews 116 return message_box_view_->GetWidget(); in GetWidget() 119 const views::Widget* JavaScriptAppModalDialogViews::GetWidget() const { in GetWidget() function in JavaScriptAppModalDialogViews 120 return message_box_view_->GetWidget(); in GetWidget()
|
D | web_dialog_view_browsertest.cc | 113 view->GetWidget()->Show(); in IN_PROC_BROWSER_TEST_F() 118 gfx::Rect bounds = view->GetWidget()->GetClientAreaBoundsInScreen(); in IN_PROC_BROWSER_TEST_F() 129 actual_bounds = view->GetWidget()->GetClientAreaBoundsInScreen(); in IN_PROC_BROWSER_TEST_F() 145 actual_bounds = view->GetWidget()->GetClientAreaBoundsInScreen(); in IN_PROC_BROWSER_TEST_F() 156 gfx::Size min_size = view->GetWidget()->GetMinimumSize(); in IN_PROC_BROWSER_TEST_F() 161 actual_bounds = view->GetWidget()->GetClientAreaBoundsInScreen(); in IN_PROC_BROWSER_TEST_F() 177 actual_bounds = view->GetWidget()->GetClientAreaBoundsInScreen(); in IN_PROC_BROWSER_TEST_F()
|
D | user_data_dir_dialog_view.cc | 60 GetAncestor(message_box_view_->GetWidget()->GetNativeView(), GA_ROOT); in Accept() 79 views::Widget* UserDataDirDialogView::GetWidget() { in GetWidget() function in UserDataDirDialogView 80 return message_box_view_->GetWidget(); in GetWidget() 83 const views::Widget* UserDataDirDialogView::GetWidget() const { in GetWidget() function in UserDataDirDialogView 84 return message_box_view_->GetWidget(); in GetWidget()
|
D | pdf_password_dialog.cc | 43 virtual views::Widget* GetWidget() OVERRIDE; 44 virtual const views::Widget* GetWidget() const OVERRIDE; 140 views::Widget* PDFPasswordDialogViews::GetWidget() { in GetWidget() function in __anon71f6144e0111::PDFPasswordDialogViews 141 return message_box_view_->GetWidget(); in GetWidget() 144 const views::Widget* PDFPasswordDialogViews::GetWidget() const { in GetWidget() function in __anon71f6144e0111::PDFPasswordDialogViews 145 return message_box_view_->GetWidget(); in GetWidget()
|
/external/chromium_org/ash/shelf/ |
D | overflow_bubble.cc | 43 RootWindowController::ForWindow(anchor->GetWidget()->GetNativeView())-> in Show() 44 GetSystemTray()->InitializeBubbleAnimations(bubble_->GetWidget()); in Show() 45 bubble_->GetWidget()->AddObserver(this); in Show() 46 bubble_->GetWidget()->Show(); in Show() 54 bubble_->GetWidget()->RemoveObserver(this); in Hide() 55 bubble_->GetWidget()->Close(); in Hide() 95 DCHECK(widget == bubble_->GetWidget()); in OnWidgetDestroying()
|
/external/chromium_org/ui/views/widget/desktop_aura/ |
D | desktop_root_window_host_win.cc | 131 GetWidget()->widget_delegate(), in Init() 379 return GetWidget()->ShouldUseNativeFrame() ? in CreateNonClientFrameView() 380 new NativeFrameView(GetWidget()) : NULL; in CreateNonClientFrameView() 599 return !GetWidget()->ShouldUseNativeFrame(); in IsUsingCustomFrame() 603 GetWidget()->GetRootView()->SchedulePaint(); in SchedulePaint() 615 return GetWidget()->widget_delegate()->CanResize(); in CanResize() 619 return GetWidget()->widget_delegate()->CanMaximize(); in CanMaximize() 629 const Widget* widget = GetWidget()->GetTopLevelWidget(); in WidgetSizeIsClientSize() 634 return GetWidget()->is_top_level(); in CanSaveFocus() 638 GetWidget()->GetFocusManager()->StoreFocusedView(true); in SaveFocusOnDeactivate() [all …]
|
/external/chromium_org/ash/system/tray/ |
D | system_tray_unittest.cc | 143 ASSERT_TRUE(tray->GetWidget()); in TEST_F() 156 ASSERT_TRUE(tray->GetWidget()); in TEST_F() 174 ASSERT_TRUE(tray->GetWidget()); in TEST_F() 196 ASSERT_TRUE(tray->GetWidget()); in TEST_F() 234 ASSERT_TRUE(tray->GetWidget()); in TEST_F() 246 ASSERT_TRUE(tray->GetWidget()); in TEST_F() 252 gfx::Size initial_size = tray->GetWidget()->GetWindowBoundsInScreen().size(); in TEST_F() 257 gfx::Size new_size = tray->GetWidget()->GetWindowBoundsInScreen().size(); in TEST_F() 266 tray->GetWidget()->GetWindowBoundsInScreen().size().ToString()); in TEST_F() 270 tray->GetWidget()->GetWindowBoundsInScreen().size().ToString()); in TEST_F() [all …]
|
/external/chromium_org/chrome/browser/ui/views/app_list/linux/ |
D | app_list_linux.cc | 56 view_->GetWidget()->Show(); in Show() 58 view_->GetWidget()->GetTopLevelWidget()->UpdateWindowIcon(); in Show() 61 view_->GetWidget()->Activate(); in Show() 65 view_->GetWidget()->Hide(); in Hide() 71 gfx::Screen::GetScreenFor(view_->GetWidget()->GetNativeView()); in MoveNearCursor() 85 return view_->GetWidget()->IsVisible(); in IsVisible() 97 return view_->GetWidget()->GetNativeWindow(); in GetWindow()
|
/external/chromium_org/chrome/browser/ui/views/app_list/win/ |
D | app_list_win.cc | 83 view_->GetWidget()->Show(); in Show() 85 view_->GetWidget()->GetTopLevelWidget()->UpdateWindowIcon(); in Show() 88 view_->GetWidget()->Activate(); in Show() 92 view_->GetWidget()->Hide(); in Hide() 99 gfx::Screen::GetScreenFor(view_->GetWidget()->GetNativeView()); in MoveNearCursor() 110 return view_->GetWidget()->IsVisible(); in IsVisible() 122 return view_->GetWidget()->GetNativeWindow(); in GetWindow()
|
/external/chromium_org/ash/wm/ |
D | app_list_controller.cc | 134 if (view_ && view_->GetWidget()) in ~AppListController() 135 view_->GetWidget()->CloseNow(); in ~AppListController() 159 view_->GetWidget()->Deactivate(); in SetVisible() 182 GetWidget()), in SetVisible() 209 return view_ && view_->GetWidget()->IsVisible(); in IsVisible() 213 return is_visible_ && view_ ? view_->GetWidget()->GetNativeWindow() : NULL; in GetWindow() 230 views::Widget* widget = view_->GetWidget(); in SetView() 244 views::Widget* widget = view_->GetWidget(); in ResetView() 258 views::Widget* widget = view_->GetWidget(); in ScheduleAnimation() 301 aura::Window* window = view_->GetWidget()->GetNativeView(); in ProcessLocatedEvent() [all …]
|
/external/chromium_org/ui/views/ |
D | accessible_pane_view_unittest.cc | 90 test_view->GetWidget()->GetFocusManager()->GetFocusedView()); in TEST_F() 95 test_view->GetWidget()->GetFocusManager()->GetFocusedView()); in TEST_F() 97 test_view->GetWidget()->GetFocusManager()->GetFocusedView()); in TEST_F() 136 test_view_bar->GetWidget()->GetFocusManager()->GetFocusedView()); in TEST_F() 168 test_view->GetWidget()->GetFocusManager()->GetFocusedView()); in TEST_F() 173 test_view->GetWidget()->GetFocusManager()->GetFocusedView()); in TEST_F() 175 test_view->GetWidget()->GetFocusManager()->GetFocusedView()); in TEST_F() 204 test_view->GetWidget()->GetFocusManager()->GetFocusedView()); in TEST_F() 208 test_view->GetWidget()->GetFocusManager()->GetFocusedView()); in TEST_F() 212 test_view->GetWidget()->GetFocusManager()->GetFocusedView()); in TEST_F() [all …]
|
/external/chromium_org/ash/system/ |
D | status_area_widget_delegate.cc | 50 views::Widget* StatusAreaWidgetDelegate::GetWidget() { in GetWidget() function in ash::internal::StatusAreaWidgetDelegate 51 return View::GetWidget(); in GetWidget() 54 const views::Widget* StatusAreaWidgetDelegate::GetWidget() const { in GetWidget() function in ash::internal::StatusAreaWidgetDelegate 55 return View::GetWidget(); in GetWidget() 70 return focus_cycler->widget_activating() == GetWidget(); in CanActivate() 153 if (GetWidget()) in UpdateWidgetSize() 154 GetWidget()->SetSize(GetPreferredSize()); in UpdateWidgetSize()
|
/external/chromium_org/chrome/browser/ui/views/frame/ |
D | browser_desktop_root_window_host_win.cc | 138 if (!GetWidget()->ShouldUseNativeFrame() || in GetClientAreaInsets() 146 if (GetWidget()->IsFullscreen()) in GetClientAreaInsets() 216 if (window_pos->flags & SWP_SHOWWINDOW && GetWidget()->non_client_view()) { in PostHandleMSG() 217 GetWidget()->non_client_view()->Layout(); in PostHandleMSG() 218 GetWidget()->non_client_view()->SchedulePaint(); in PostHandleMSG() 253 return !GetWidget()->GetThemeProvider()->ShouldUseNativeFrame(); in IsUsingCustomFrame() 264 GetWidget()->GetThemeProvider()); in ShouldUseNativeFrame() 284 if (!GetWidget()->client_view() || !browser_view_->IsBrowserTypeNormal() || in UpdateDWMFrame() 298 if (GetWidget()->ShouldUseNativeFrame()) { in GetDWMFrameMargins() 302 if (!IsMaximized() && !GetWidget()->IsFullscreen()) { in GetDWMFrameMargins()
|
/external/chromium_org/ui/message_center/views/ |
D | toast_contents_view.cc | 118 if (!GetWidget()) in SetBoundsInstantly() 120 GetWidget()->SetBounds(new_bounds); in SetBoundsInstantly() 128 if (!GetWidget()) in SetBoundsWithAnimation() 135 animated_bounds_start_ = GetWidget()->GetWindowBoundsInScreen(); in SetBoundsWithAnimation() 154 GetWidget()->SetOpacity(0); in StartFadeIn() 155 GetWidget()->Show(); in StartFadeIn() 173 if (is_closing_ && closing_animation_ == animation && GetWidget()) { in OnBoundsAnimationEndedOrCancelled() 174 views::Widget* widget = GetWidget(); in OnBoundsAnimationEndedOrCancelled() 201 GetWidget()->SetBounds(current); in AnimationProgressed() 205 GetWidget()->SetOpacity(opacity); in AnimationProgressed() [all …]
|
/external/chromium_org/chrome/browser/ui/views/extensions/ |
D | extension_popup.cc | 121 GetWidget()->Close(); in Observe() 141 GetWidget()->Close(); in OnDevToolsStateChanged() 160 aura::Window* bubble_window = GetWidget()->GetNativeWindow(); in OnWidgetDestroying() 174 views::Widget* this_widget = GetWidget(); in OnWidgetActivationChanged() 188 aura::Window* this_window = GetWidget()->GetNativeWindow(); in OnWindowActivated() 196 GetWidget()->Close(); in OnWindowActivated() 204 GetWidget()->Close(); in ActiveTabChanged() 220 gfx::NativeView native_view = popup->GetWidget()->GetNativeView(); in ShowPopup() 235 aura::Window* bubble_window = popup->GetWidget()->GetNativeWindow(); in ShowPopup() 245 GetWidget()->Show(); in ShowBubble()
|
/external/chromium/chrome/browser/ui/views/tab_contents/ |
D | tab_contents_view_views.cc | 82 GetWidget()->SetContentsView(new views::View()); in CreateViewForWidget() 91 return GetWidget()->GetNativeView(); in GetNativeView() 104 *out = GetWidget()->GetClientAreaScreenBounds(); in GetContainerBounds() 127 GetWidget()->SetContentsView(sad_tab_); in OnTabCrashed() 133 GetWidget()->SetSize(size); in SizeContents() 155 GetWidget()->GetFocusManager()->FocusNativeView(rwhv ? rwhv->GetNativeView() in Focus() 226 *out = GetWidget()->GetWindowScreenBounds(); in GetViewBounds() 250 views::Widget* TabContentsViewViews::GetWidget() { in GetWidget() function in TabContentsViewViews 251 return native_tab_contents_view_->AsNativeWidget()->GetWidget(); in GetWidget() 254 const views::Widget* TabContentsViewViews::GetWidget() const { in GetWidget() function in TabContentsViewViews [all …]
|
/external/chromium_org/chrome/browser/ui/views/autofill/ |
D | autofill_popup_view_views.cc | 60 if (GetWidget()) { in Hide() 65 GetWidget()->Close(); in Hide() 132 GetWidget()->ReleaseCapture(); in OnMousePressed() 141 gfx::NativeView native_view = GetWidget()->GetNativeView(); in OnMousePressed() 161 if (controller_->hide_on_outside_click() && GetWidget()) in OnMouseReleased() 162 GetWidget()->SetCapture(this); in OnMouseReleased() 207 if (!GetWidget()) { in Show() 229 GetWidget()->Show(); in Show() 232 GetWidget()->SetCapture(this); in Show() 240 GetWidget()->SetBounds(controller_->popup_bounds()); in UpdateBoundsAndRedrawPopup()
|