Home
last modified time | relevance | path

Searched refs:window_ (Results 1 – 25 of 353) sorted by relevance

12345678910>>...15

/external/chromium_org/ui/views/widget/
Dnative_widget_aura.cc74 window_(new aura::Window(this)), in NativeWidgetAura()
81 aura::client::SetFocusChangeObserver(window_, this); in NativeWidgetAura()
82 aura::client::SetActivationChangeObserver(window_, this); in NativeWidgetAura()
115 RegisterNativeWidgetForWindow(this, window_); in InitNativeWidget()
116 window_->SetType(GetAuraWindowTypeForWidgetType(params.type)); in InitNativeWidget()
117 window_->SetProperty(aura::client::kShowStateKey, params.show_state); in InitNativeWidget()
119 aura::client::SetHideOnDeactivate(window_, true); in InitNativeWidget()
120 window_->SetTransparent( in InitNativeWidget()
122 window_->Init(params.layer_type); in InitNativeWidget()
124 window_->Show(); in InitNativeWidget()
[all …]
/external/chromium_org/ash/wm/workspace/
Dworkspace_window_resizer_unittest.cc121 window_.reset(new aura::Window(&delegate_)); in SetUp()
122 window_->SetType(aura::client::WINDOW_TYPE_NORMAL); in SetUp()
123 window_->Init(ui::LAYER_NOT_DRAWN); in SetUp()
124 ParentWindowInPrimaryRootWindow(window_.get()); in SetUp()
125 window_->set_id(1); in SetUp()
147 window_.reset(); in TearDown()
163 if (*i == window_ || *i == window2_ || *i == window3_) { in WindowOrderAsString()
232 scoped_ptr<aura::Window> window_; member in ash::internal::WorkspaceWindowResizerTest
263 window_->SetBounds(gfx::Rect(0, 300, 400, 300)); in TEST_F()
269 window_.get(), gfx::Point(), HTRIGHT, in TEST_F()
[all …]
/external/chromium_org/ui/oak/
Doak_aura_window_display.cc79 OakAuraWindowDisplay::OakAuraWindowDisplay() : observer_(NULL), window_(NULL) { in OakAuraWindowDisplay()
89 window_ = window; in SetValue()
101 if (!window_) in GetText()
107 return PropertyWithInteger("Id: ", window_->id()); in GetText()
109 return PropertyWithVoidStar("Delegate: ", window_->delegate()); in GetText()
111 return PropertyWithWindowType(window_->type()); in GetText()
113 return ASCIIToUTF16("Name: " + window_->name()); in GetText()
115 return ASCIIToUTF16("Title: ") + window_->title(); in GetText()
117 return PropertyWithBool("Transparent: ", window_->transparent()); in GetText()
119 return PropertyWithVoidStar("Layer: ", window_->layer()); in GetText()
[all …]
/external/chromium_org/ash/wm/
Dwindow_state.cc34 : window_(window), in WindowState()
49 window_->AddObserver(this); in WindowState()
75 return window_->GetProperty(aura::client::kShowStateKey); in GetShowState()
95 ui::WindowShowState state = window_->GetProperty(aura::client::kShowStateKey); in IsNormalShowState()
100 return IsActiveWindow(window_); in IsActive()
104 return window_->parent() && in IsDocked()
105 window_->parent()->id() == internal::kShellWindowId_DockedContainer; in IsDocked()
114 return window_->GetProperty(aura::client::kCanMaximizeKey); in CanMaximize()
119 internal::RootWindowController::ForWindow(window_); in CanMinimize()
124 if (lockscreen->Contains(window_)) in CanMinimize()
[all …]
Ddrag_window_resizer_unittest.cc56 window_.reset(new aura::Window(&delegate_)); in SetUp()
57 window_->SetType(aura::client::WINDOW_TYPE_NORMAL); in SetUp()
58 window_->Init(ui::LAYER_NOT_DRAWN); in SetUp()
59 ParentWindowInPrimaryRootWindow(window_.get()); in SetUp()
60 window_->set_id(1); in SetUp()
97 window_.reset(); in TearDown()
147 scoped_ptr<aura::Window> window_; member in ash::internal::DragWindowResizerTest
169 window_->SetBoundsInScreen(gfx::Rect(0, 0, 50, 60), in TEST_F()
171 EXPECT_EQ(root_windows[0], window_->GetRootWindow()); in TEST_F()
175 window_.get(), gfx::Point(), HTCAPTION)); in TEST_F()
[all …]
/external/chromium_org/chrome/browser/ui/gtk/apps/
Dnative_app_window_gtk.cc46 window_(NULL), in NativeAppWindowGtk()
58 window_ = GTK_WINDOW(gtk_window_new(GTK_WINDOW_TOPLEVEL)); in NativeAppWindowGtk()
62 gtk_container_add(GTK_CONTAINER(window_), native_view); in NativeAppWindowGtk()
65 gtk_window_move(window_, params.bounds.x(), params.bounds.y()); in NativeAppWindowGtk()
71 gtk_window_util::BoundsMatchMonitorSize(window_, params.bounds)) { in NativeAppWindowGtk()
74 gtk_window_set_default_size(window_, params.bounds.width(), win_height); in NativeAppWindowGtk()
80 gtk_widget_set_size_request(GTK_WIDGET(window_), in NativeAppWindowGtk()
82 gtk_window_set_resizable(window_, FALSE); in NativeAppWindowGtk()
89 gtk_window_get_position(window_, &x, &y); in NativeAppWindowGtk()
94 gtk_window_set_decorated(window_, false); in NativeAppWindowGtk()
[all …]
/external/chromium_org/chrome/browser/ui/cocoa/
Dbrowser_window_cocoa_unittest.mm125 window_([OCMockObject mockForClass:[NSWindow class]]) {
145 id window_;
149 [[[window_ stub] andReturn:controller_] delegate];
150 [[[controller_ stub] andReturn:window_] window];
151 [[[controller_ stub] andReturnValue:ValueYES()] windowShouldClose:window_];
152 [[window_ expect] orderOut:nil];
153 [[window_ expect] close];
156 EXPECT_OCMOCK_VERIFY(window_);
160 [[[window_ stub] andReturn:controller_] delegate];
161 [[[controller_ stub] andReturn:window_] window];
[all …]
Dframed_browser_window_unittest.mm23 window_ = [[FramedBrowserWindow alloc]
27 [window_ orderFront:nil];
29 [window_ orderBack:nil];
34 [window_ close];
40 [window_ display];
42 NSView* frameView = [window_ contentView];
64 FramedBrowserWindow* window_;
70 [window_ display];
79 [window_ setTitle:@""];
80 [window_ display];
[all …]
Dwindow_size_autosaver_unittest.mm24 window_ =
39 [window_ close];
44 NSWindow* window_;
58 [window_ close];
59 window_ =
71 NSRect frame = [window_ frame];
74 [[WindowSizeAutosaver alloc] initWithWindow:window_
77 EXPECT_EQ(NSMinX(frame), NSMinX([window_ frame]));
78 EXPECT_EQ(NSMinY(frame), NSMinY([window_ frame]));
79 EXPECT_EQ(NSWidth(frame), NSWidth([window_ frame]));
[all …]
/external/chromium_org/chrome_frame/turndown_prompt/
Dturndown_prompt_content.cc19 if (window_ != NULL && window_->IsWindow()) { in ~TurndownPromptContent()
21 window_->DestroyWindow(); in ~TurndownPromptContent()
22 window_.reset(); in ~TurndownPromptContent()
27 DCHECK(window_ == NULL); in InstallInFrame()
31 window_ = TurndownPromptWindow::CreateInstance( in InstallInFrame()
35 return window_ != NULL; in InstallInFrame()
39 if (window_ != NULL && window_->IsWindow()) { in SetDimensions()
40 window_->SetWindowPos(HWND_TOP, &dimensions, in SetDimensions()
93 DCHECK(window_ != NULL && window_->IsWindow()); in GetDesiredSize()
95 if (window_ == NULL || !window_->IsWindow()) { in GetDesiredSize()
[all …]
/external/chromium_org/third_party/libjingle/source/talk/media/devices/
Dgtkvideorenderer.cc51 : window_(NULL), in GtkVideoRenderer()
61 if (window_) { in ~GtkVideoRenderer()
63 gtk_widget_destroy(window_); in ~GtkVideoRenderer()
75 if ((!window_ && !Initialize(width, height)) || IsClosed()) { in SetSize()
119 window_ = gtk_window_new(GTK_WINDOW_TOPLEVEL); in Initialize()
121 if (!window_ || !draw_area_) { in Initialize()
125 gtk_window_set_position(GTK_WINDOW(window_), GTK_WIN_POS_CENTER); in Initialize()
126 gtk_window_set_title(GTK_WINDOW(window_), "Video Renderer"); in Initialize()
127 gtk_window_set_resizable(GTK_WINDOW(window_), FALSE); in Initialize()
129 gtk_container_add(GTK_CONTAINER(window_), draw_area_); in Initialize()
[all …]
/external/chromium/chrome/browser/ui/cocoa/
Dwindow_size_autosaver_unittest.mm23 window_ =
33 [window_ close];
39 NSWindow* window_;
53 [window_ close];
54 window_ =
66 NSRect frame = [window_ frame];
69 initWithWindow:window_
72 EXPECT_EQ(NSMinX(frame), NSMinX([window_ frame]));
73 EXPECT_EQ(NSMinY(frame), NSMinY([window_ frame]));
74 EXPECT_EQ(NSWidth(frame), NSWidth([window_ frame]));
[all …]
Dframed_browser_window_unittest.mm26 window_ = [[FramedBrowserWindow alloc]
32 [window_ orderFront:nil];
34 [window_ orderBack:nil];
39 [window_ close];
45 [window_ display];
47 NSView* frameView = [window_ contentView];
61 FramedBrowserWindow* window_;
67 [window_ display];
76 [window_ setTitle:@""];
77 [window_ display];
[all …]
/external/chromium_org/chrome/browser/ui/gtk/panels/
Dpanel_stack_window_gtk.cc22 window_(NULL), in PanelStackWindowGtk()
33 if (!window_) in Close()
35 gtk_widget_destroy(GTK_WIDGET(window_)); in Close()
36 window_ = NULL; in Close()
133 gtk_window_iconify(window_); in Minimize()
141 gtk_window_set_urgency_hint(window_, draw_attention); in DrawSystemAttention()
164 if (!window_ || panels_.empty()) in ActiveWindowChanged()
169 if (gtk_widget_get_window(GTK_WIDGET(window_)) == active_window) { in ActiveWindowChanged()
213 if (window_) in EnsureWindowCreated()
220 window_ = GTK_WINDOW(gtk_window_new(GTK_WINDOW_TOPLEVEL)); in EnsureWindowCreated()
[all …]
Dpanel_gtk.cc221 window_(NULL), in PanelGtk()
237 window_ = GTK_WINDOW(gtk_window_new(GTK_WINDOW_TOPLEVEL)); in Init()
238 g_object_set_qdata(G_OBJECT(window_), GetPanelWindowQuarkKey(), this); in Init()
239 gtk_widget_add_events(GTK_WIDGET(window_), GDK_BUTTON_PRESS_MASK | in Init()
241 gtk_window_set_decorated(window_, false); in Init()
244 gtk_window_util::DisableResizeGrip(window_); in Init()
248 gtk_window_group_add_window(gtk_window_group_new(), window_); in Init()
249 g_object_unref(gtk_window_get_group(window_)); in Init()
256 window_, GTK_WIDGET(window_), &hints, GDK_HINT_MIN_SIZE); in Init()
259 g_signal_connect(window_, "delete-event", in Init()
[all …]
/external/chromium/chrome/browser/ui/gtk/
Dinfo_bubble_gtk.cc66 window_(NULL), in InfoBubbleGtk()
100 DCHECK(!window_); in Init()
110 window_ = gtk_window_new(grab_input ? GTK_WINDOW_POPUP : GTK_WINDOW_TOPLEVEL); in Init()
112 gtk_widget_set_app_paintable(window_, TRUE); in Init()
114 gtk_window_set_resizable(GTK_WINDOW(window_), FALSE); in Init()
132 gtk_window_add_accel_group(GTK_WINDOW(window_), accel_group_); in Init()
140 gtk_container_add(GTK_CONTAINER(window_), alignment); in Init()
145 gtk_widget_realize(window_); in Init()
150 gtk_widget_add_events(window_, GDK_BUTTON_PRESS_MASK); in Init()
152 signals_.Connect(window_, "expose-event", G_CALLBACK(OnExposeThunk), this); in Init()
[all …]
/external/chromium_org/chrome/browser/ui/views/panels/
Dpanel_stack_view.cc51 views::Widget* window_; // Weak pointer, own us. member in __anon3c1dfa240111::PanelStackWindow
59 : window_(NULL), in PanelStackWindow()
61 window_ = new views::Widget; in PanelStackWindow()
66 window_->Init(params); in PanelStackWindow()
67 window_->set_frame_type(views::Widget::FRAME_TYPE_FORCE_CUSTOM); in PanelStackWindow()
68 window_->set_focus_on_creation(false); in PanelStackWindow()
69 window_->AddObserver(this); in PanelStackWindow()
70 window_->ShowInactive(); in PanelStackWindow()
94 return window_; in GetWidget()
98 return window_; in GetWidget()
[all …]
/external/chromium_org/chrome/browser/ui/views/apps/
Dnative_app_window_views.cc246 window_(NULL), in NativeAppWindowViews()
260 window_ = new views::Widget; in Init()
270 window_->GetFocusManager(), in Init()
275 window_->AddObserver(this); in Init()
316 OnBeforeWidgetInit(&init_params, window_); in InitializeDefaultWindow()
317 window_->Init(init_params); in InitializeDefaultWindow()
323 window_->CenterWindow(adjusted_bounds.size()); in InitializeDefaultWindow()
325 window_->SetBounds(adjusted_bounds); in InitializeDefaultWindow()
390 return views::HWNDForWidget(window_->GetTopLevelWidget()); in GetNativeAppWindowHWND()
425 window_->Init(params); in InitializePanelWindow()
[all …]
/external/chromium_org/content/child/npapi/
Dwebplugin_delegate_impl_gtk.cc51 memset(&window_, 0, sizeof(window_)); in WebPluginDelegateImpl()
77 if (window_.ws_info) { in ~WebPluginDelegateImpl()
79 delete static_cast<NPSetWindowCallbackStruct*>(window_.ws_info); in ~WebPluginDelegateImpl()
138 window_.window = reinterpret_cast<void*>(windowed_handle_); in WindowedCreatePlugin()
140 if (!window_.ws_info) in WindowedCreatePlugin()
141 window_.ws_info = new NPSetWindowCallbackStruct; in WindowedCreatePlugin()
143 static_cast<NPSetWindowCallbackStruct*>(window_.ws_info); in WindowedCreatePlugin()
199 window_.clipRect.top = clip_rect_.y(); in WindowedSetWindow()
200 window_.clipRect.left = clip_rect_.x(); in WindowedSetWindow()
201 window_.clipRect.bottom = clip_rect_.y() + clip_rect_.height(); in WindowedSetWindow()
[all …]
/external/chromium_org/ash/test/
Dtest_shelf_item_delegate.cc14 : window_(window) { in TestShelfItemDelegate()
21 if (window_) { in ItemSelected()
22 if (window_->type() == aura::client::WINDOW_TYPE_PANEL) in ItemSelected()
23 wm::MoveWindowToEventRoot(window_, event); in ItemSelected()
24 window_->Show(); in ItemSelected()
25 wm::ActivateWindow(window_); in ItemSelected()
31 return window_ ? window_->title() : base::string16(); in GetTitle()
Dtest_activation_delegate.cc19 : window_(NULL), in TestActivationDelegate()
28 : window_(NULL), in TestActivationDelegate()
37 window_ = window; in SetWindow()
49 DCHECK(window_ == gained_active || window_ == lost_active); in OnWindowActivated()
50 if (window_ == gained_active) { in OnWindowActivated()
52 } else if (window_ == lost_active) { in OnWindowActivated()
54 window_was_active_ = wm::IsActiveWindow(window_); in OnWindowActivated()
/external/chromium_org/ash/display/
Dscreen_position_controller_unittest.cc56 window_.reset(new aura::Window(&window_delegate_)); in SetUp()
57 window_->SetType(aura::client::WINDOW_TYPE_NORMAL); in SetUp()
58 window_->Init(ui::LAYER_NOT_DRAWN); in SetUp()
59 ParentWindowInPrimaryRootWindow(window_.get()); in SetUp()
60 window_->set_id(1); in SetUp()
64 window_.reset(); in TearDown()
73 window_->GetRootWindow(), &point); in ConvertHostPointToScreen()
78 scoped_ptr<aura::Window> window_; member in ash::test::__anon3c470cef0111::ScreenPositionControllerTest
102 window_->SetBoundsInScreen( in TEST_F()
140 window_->SetBoundsInScreen( in TEST_F()
[all …]
/external/chromium_org/chrome/browser/ui/gtk/autofill/
Dautofill_popup_view_gtk.cc41 window_(gtk_window_new(GTK_WINDOW_POPUP)) { in AutofillPopupViewGtk()
42 gtk_window_set_resizable(GTK_WINDOW(window_), FALSE); in AutofillPopupViewGtk()
43 gtk_widget_set_app_paintable(window_, TRUE); in AutofillPopupViewGtk()
44 gtk_widget_set_double_buffered(window_, TRUE); in AutofillPopupViewGtk()
47 gtk_widget_add_events(window_, GDK_BUTTON_MOTION_MASK | in AutofillPopupViewGtk()
56 g_signal_connect(window_, "expose-event", in AutofillPopupViewGtk()
58 g_signal_connect(window_, "leave-notify-event", in AutofillPopupViewGtk()
60 g_signal_connect(window_, "motion-notify-event", in AutofillPopupViewGtk()
62 g_signal_connect(window_, "button-release-event", in AutofillPopupViewGtk()
66 layout_ = gtk_widget_create_pango_layout(window_, NULL); in AutofillPopupViewGtk()
[all …]
/external/chromium/chrome/browser/speech/
Dspeech_input_bubble_mac.mm32 scoped_nsobject<SpeechInputWindowController> window_;
46 if (window_.get())
47 [window_.get() close];
51 if (window_.get())
52 [window_.get() setImage:gfx::SkBitmapToNSImage(icon_image())];
56 if (window_.get()) {
57 [window_.get() show];
74 window_.reset([[SpeechInputWindowController alloc]
80 [window_.get() show];
84 if (!window_.get())
[all …]
/external/chromium_org/content/browser/renderer_host/
Drender_widget_host_view_aura.cc387 aura::Window* root_window = rwhva_->window_->GetRootWindow(); in EventFilterForPopupExit()
393 aura::Window* root_window = rwhva_->window_->GetRootWindow(); in ~EventFilterForPopupExit()
418 if (target != window_ && in ApplyEventFilterForPopupExit()
420 target != popup_parent_host_view_->window_)) { in ApplyEventFilterForPopupExit()
436 view_->window_->AddObserver(this); in WindowObserver()
440 view_->window_->RemoveObserver(this); in ~WindowObserver()
445 if (window == view_->window_) in OnWindowAddedToRootWindow()
450 if (window == view_->window_) in OnWindowRemovingFromRootWindow()
465 window_(new aura::Window(this)), in RenderWidgetHostViewAura()
492 aura::client::SetTooltipText(window_, &tooltip_); in RenderWidgetHostViewAura()
[all …]

12345678910>>...15