Home
last modified time | relevance | path

Searched refs:HasCapture (Results 1 – 25 of 31) sorted by relevance

12

/external/chromium_org/ui/views/widget/
Dwidget_interactive_uitest.cc131 EXPECT_TRUE(widget_->HasCapture()); in OnMousePressed()
223 EXPECT_FALSE(toplevel->HasCapture()); in TEST_F()
225 EXPECT_TRUE(toplevel->HasCapture()); in TEST_F()
232 EXPECT_FALSE(toplevel->HasCapture()); in TEST_F()
237 EXPECT_TRUE(toplevel->HasCapture()); in TEST_F()
239 EXPECT_TRUE(toplevel->HasCapture()); in TEST_F()
241 EXPECT_FALSE(toplevel->HasCapture()); in TEST_F()
281 EXPECT_TRUE(toplevel->HasCapture()); in TEST_F()
287 EXPECT_FALSE(toplevel->HasCapture()); in TEST_F()
334 EXPECT_FALSE(first->HasCapture()); in TEST_F()
[all …]
Dwidget.cc931 if (!native_widget_->HasCapture()) in SetCapture()
936 if (native_widget_->HasCapture()) in ReleaseCapture()
940 bool Widget::HasCapture() { in HasCapture() function in views::Widget
941 return native_widget_->HasCapture(); in HasCapture()
1169 if (!native_widget_->HasCapture()) in OnMouseEvent()
1179 if (auto_release_capture_ && native_widget_->HasCapture()) in OnMouseEvent()
1188 if (native_widget_->HasCapture() && is_mouse_button_pressed_) { in OnMouseEvent()
Dnative_widget_aura_unittest.cc268 EXPECT_FALSE(widget->HasCapture()); in TEST_F()
302 EXPECT_TRUE(widget->HasCapture()); in TEST_F()
310 EXPECT_FALSE(widget->HasCapture()); in TEST_F()
Dtooltip_manager_aura.cc44 if (!source->HasCapture()) in UpdateTooltipManagerForCapture()
Dnative_widget_private.h133 virtual bool HasCapture() const = 0;
Dnative_widget_aura.h75 virtual bool HasCapture() const OVERRIDE;
Dnative_widget_win.h90 virtual bool HasCapture() const OVERRIDE;
Dnative_widget_win.cc210 bool NativeWidgetWin::HasCapture() const { in HasCapture() function in views::NativeWidgetWin
211 return message_handler_->HasCapture(); in HasCapture()
/external/chromium_org/ui/views/corewm/
Ddesktop_capture_controller_unittest.cc74 EXPECT_FALSE(w1->HasCapture()); in TEST_F()
79 EXPECT_TRUE(w2->HasCapture()); in TEST_F()
135 EXPECT_FALSE(widget1->GetNativeView()->HasCapture()); in TEST_F()
136 EXPECT_FALSE(widget2->GetNativeView()->HasCapture()); in TEST_F()
141 EXPECT_TRUE(widget1->GetNativeView()->HasCapture()); in TEST_F()
142 EXPECT_FALSE(widget2->GetNativeView()->HasCapture()); in TEST_F()
157 EXPECT_FALSE(widget1->GetNativeView()->HasCapture()); in TEST_F()
158 EXPECT_TRUE(widget2->GetNativeView()->HasCapture()); in TEST_F()
Dtooltip_controller.cc69 if (!event_target->HasCapture()) { in GetTooltipTarget()
/external/chromium_org/ui/views/test/
Dwidget_test.h44 virtual bool HasCapture() const OVERRIDE;
Dwidget_test.cc32 bool NativeWidgetCapture::HasCapture() const { in HasCapture() function in views::test::NativeWidgetCapture
/external/chromium_org/ui/views/controls/menu/
Dmenu_host.cc109 if (native_widget_private()->HasCapture()) in ReleaseMenuHostCapture()
/external/chromium_org/chrome/browser/ui/views/
Dconstrained_window_views.cc76 if (widget->HasCapture()) in UpdateModalDialogPosition()
/external/chromium_org/ui/views/widget/desktop_aura/
Ddesktop_root_window_host.h110 virtual bool HasCapture() const = 0;
Ddesktop_root_window_host_win.cc329 bool DesktopRootWindowHostWin::HasCapture() const { in HasCapture() function in views::DesktopRootWindowHostWin
330 return message_handler_->HasCapture(); in HasCapture()
867 if (target && target->HasCapture() && target != this) { in HandleTouchEvent()
Ddesktop_native_widget_aura.cc572 bool DesktopNativeWidgetAura::HasCapture() const { in HasCapture() function in views::DesktopNativeWidgetAura
573 return content_window_ && content_window_->HasCapture() && in HasCapture()
574 desktop_root_window_host_->HasCapture(); in HasCapture()
Ddesktop_root_window_host_x11.h106 virtual bool HasCapture() const OVERRIDE;
Ddesktop_root_window_host_win.h80 virtual bool HasCapture() const OVERRIDE;
Ddesktop_native_widget_aura.h110 virtual bool HasCapture() const OVERRIDE;
/external/chromium_org/ash/wm/
Dsystem_gesture_event_filter_unittest.cc252 EXPECT_TRUE(window1->HasCapture()); in TEST_P()
261 EXPECT_TRUE(window1->HasCapture()); in TEST_P()
275 EXPECT_TRUE(window2->HasCapture()); in TEST_P()
/external/chromium_org/ui/aura/
Dwindow.h338 bool HasCapture();
Dwindow_unittest.cc832 EXPECT_FALSE(window->HasCapture()); in TEST_F()
838 EXPECT_TRUE(window->HasCapture()); in TEST_F()
856 EXPECT_FALSE(window->HasCapture()); in TEST_F()
875 EXPECT_FALSE(window->HasCapture()); in TEST_F()
1085 EXPECT_FALSE(window->HasCapture()); in TEST_F()
1090 EXPECT_TRUE(window->HasCapture()); in TEST_F()
1116 EXPECT_FALSE(window->HasCapture()); in TEST_F()
1120 EXPECT_TRUE(window->HasCapture()); in TEST_F()
/external/chromium_org/ui/views/win/
Dhwnd_message_handler.h175 bool HasCapture() const;
Dhwnd_message_handler.cc786 DCHECK(!HasCapture()); in SetCapture()
791 if (HasCapture()) in ReleaseCapture()
795 bool HWNDMessageHandler::HasCapture() const { in HasCapture() function in views::HWNDMessageHandler
1659 if (event.type() == ui::ET_MOUSE_MOVED && !HasCapture()) { in OnMouseRange()

12