Home
last modified time | relevance | path

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

12

/external/chromium_org/ui/views/widget/
Dwindow_reorderer_unittest.cc60 View* contents_view = new View(); in TEST_F() local
61 parent->SetContentsView(contents_view); in TEST_F()
69 contents_view->AddChildView(v); in TEST_F()
85 contents_view->AddChildView(host_view2); in TEST_F()
93 contents_view->AddChildViewAt(host_view1, 0); in TEST_F()
100 contents_view->ReorderChildView(host_view1, -1); in TEST_F()
105 contents_view->ReorderChildView(host_view2, -1); in TEST_F()
112 contents_view->ReorderChildView(v, -1); in TEST_F()
117 contents_view->ReorderChildView(host_view2, -1); in TEST_F()
138 View* contents_view = new View(); in TEST_F() local
[all …]
Dwidget_unittest.cc954 View* contents_view = new View; in TEST_F() local
955 contents_view->SetFocusable(true); in TEST_F()
965 widget.SetContentsView(contents_view); in TEST_F()
968 contents_view->RequestFocus(); in TEST_F()
969 EXPECT_TRUE(contents_view->HasFocus()); in TEST_F()
973 new BubbleDelegateView(contents_view, BubbleBorder::TOP_LEFT); in TEST_F()
979 EXPECT_FALSE(contents_view->HasFocus()); in TEST_F()
985 EXPECT_TRUE(contents_view->HasFocus()); in TEST_F()
1055 View* contents_view = new View; in TEST_F() local
1056 contents_view->SetFocusable(true); in TEST_F()
[all …]
Droot_view.cc89 void RootView::SetContentsView(View* contents_view) { in SetContentsView() argument
90 DCHECK(contents_view && GetWidget()->native_widget()) << in SetContentsView()
97 AddChildView(contents_view); in SetContentsView()
/external/chromium_org/ui/views/window/
Dclient_view.h32 ClientView(Widget* widget, View* contents_view);
74 View* contents_view() const { return contents_view_; } in contents_view() function
75 void set_contents_view(View* contents_view) { in set_contents_view() argument
76 contents_view_ = contents_view; in set_contents_view()
Ddialog_client_view.cc36 DialogClientView::DialogClientView(Widget* owner, View* contents_view) in DialogClientView() argument
37 : ClientView(owner, contents_view), in DialogClientView()
181 gfx::Size contents_size = contents_view()->GetPreferredSize(); in GetPreferredSize()
243 contents_view()->SetBounds(contents_bounds.x(), contents_bounds.y(), in Layout()
315 DialogClientView::DialogClientView(View* contents_view) in DialogClientView() argument
316 : ClientView(NULL, contents_view), in DialogClientView()
Dclient_view.cc22 ClientView::ClientView(Widget* widget, View* contents_view) in ClientView() argument
23 : contents_view_(contents_view) { in ClientView()
Ddialog_client_view.h34 DialogClientView(Widget* widget, View* contents_view);
72 DialogClientView(View* contents_view);
Ddialog_client_view_unittest.cc19 TestDialogClientView(View* contents_view, in TestDialogClientView() argument
21 : DialogClientView(contents_view), in TestDialogClientView()
28 View* GetContentsView() { return contents_view(); } in GetContentsView()
/external/chromium_org/ash/tooltips/
Dtooltip_controller_unittest.cc55 views::View* contents_view = new views::View; in AddViewToWidgetAndResize() local
56 widget->SetContentsView(contents_view); in AddViewToWidgetAndResize()
59 views::View* contents_view = widget->GetContentsView(); in AddViewToWidgetAndResize() local
60 contents_view->AddChildView(view); in AddViewToWidgetAndResize()
61 view->SetBounds(contents_view->width(), 0, 100, 100); in AddViewToWidgetAndResize()
62 gfx::Rect contents_view_bounds = contents_view->bounds(); in AddViewToWidgetAndResize()
64 contents_view->SetBoundsRect(contents_view_bounds); in AddViewToWidgetAndResize()
/external/chromium/chrome/browser/ui/views/
Dbrowser_bubble_gtk.cc110 views::View* contents_view = new views::View; in InitPopup() local
116 pop->SetContentsView(contents_view); in InitPopup()
119 contents_view->AddChildView(pop->border_contents()); in InitPopup()
120 contents_view->AddChildView(view_); in InitPopup()
/external/chromium/chrome/browser/ui/views/bubble/
Dbubble.cc213 views::View* contents_view = new views::View; in InitBubble() local
218 SetContentsView(contents_view); in InitBubble()
222 contents_view->AddChildView(contents); in InitBubble()
234 contents_view->SetLayoutManager(new views::FillLayout); in InitBubble()
237 contents_view->set_background( in InitBubble()
249 contents_view->AddChildViewAt(border_contents_, 0); in InitBubble()
/external/chromium_org/ui/message_center/views/
Dnotifier_settings_view.cc552 views::View* contents_view = new views::View(); in UpdateContentsView() local
553 contents_view->SetLayoutManager(new views::BoxLayout( in UpdateContentsView()
608 contents_view->AddChildView(contents_title_view); in UpdateContentsView()
631 contents_view->AddChildView(entry); in UpdateContentsView()
635 scroller_->SetContents(contents_view); in UpdateContentsView()
637 contents_view->SetBoundsRect(gfx::Rect(contents_view->GetPreferredSize())); in UpdateContentsView()
648 views::View* contents_view = scroller_->contents(); in Layout() local
650 int content_height = contents_view->GetHeightForWidth(content_width); in Layout()
653 content_height = contents_view->GetHeightForWidth(content_width); in Layout()
655 contents_view->SetBounds(0, 0, content_width, content_height); in Layout()
/external/chromium_org/ui/app_list/views/
Dsearch_box_view.h51 void set_contents_view(View* contents_view) { in set_contents_view() argument
52 contents_view_ = contents_view; in set_contents_view()
Dapp_list_main_view_unittest.cc59 return main_view_->contents_view()->apps_container_view()->apps_grid_view() in ViewModel()
Dapp_list_main_view.h61 ContentsView* contents_view() { return contents_view_; } in contents_view() function
/external/chromium_org/ash/wm/
Dsystem_modal_container_layout_manager.cc158 views::View* contents_view = new views::View(); in CreateModalBackground() local
160 contents_view->set_background( in CreateModalBackground()
162 modal_background_->SetContentsView(contents_view); in CreateModalBackground()
/external/chromium_org/ui/views/controls/menu/
Dmenu_host.cc42 View* contents_view, in InitMenuHost() argument
65 SetContentsView(contents_view); in InitMenuHost()
Dmenu_host.h35 View* contents_view,
/external/chromium_org/ash/display/
Dshared_display_edge_indicator.cc49 views::View* contents_view) { in CreateWidget() argument
62 widget->SetContentsView(contents_view); in CreateWidget()
/external/chromium_org/ash/drag_drop/
Ddrag_drop_interactive_uitest.cc74 views::Widget* CreateWidget(views::View* contents_view, in CreateWidget() argument
84 widget->SetContentsView(contents_view); in CreateWidget()
Ddrag_drop_controller_unittest.cc264 views::View* contents_view = new views::View; in AddViewToWidgetAndResize() local
265 widget->SetContentsView(contents_view); in AddViewToWidgetAndResize()
268 views::View* contents_view = widget->GetContentsView(); in AddViewToWidgetAndResize() local
269 contents_view->AddChildView(view); in AddViewToWidgetAndResize()
270 view->SetBounds(contents_view->width(), 0, 100, 100); in AddViewToWidgetAndResize()
271 gfx::Rect contents_view_bounds = contents_view->bounds(); in AddViewToWidgetAndResize()
273 contents_view->SetBoundsRect(contents_view_bounds); in AddViewToWidgetAndResize()
/external/chromium_org/ash/test/
Dapp_list_controller_test_api.cc22 return view()->app_list_main_view()->contents_view()-> in GetRootGridView()
/external/chromium_org/chrome/browser/ui/views/autofill/
Dnew_credit_card_bubble_views.cc117 views::View* contents_view = browser_view->GetContentsView(); in GetBubbleBounds() local
118 gfx::Rect web_contents_bounds = contents_view->GetBoundsInScreen(); in GetBubbleBounds()
/external/chromium_org/ui/views/controls/native/
Dnative_view_host_unittest.cc43 View* contents_view, in CreateChildForHost() argument
50 child->SetContentsView(contents_view); in CreateChildForHost()
/external/chromium_org/ui/app_list/
Dapp_list.gyp107 'views/contents_view.cc',
108 'views/contents_view.h',

12