Home
last modified time | relevance | path

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

123

/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 …]
Dstatus_bubble_mac.mm102 window_(nil), function
113 DCHECK(window_);
117 [[[window_ animationForKey:kFadeAnimationKey] delegate] invalidate];
119 [window_ release];
120 window_ = nil;
131 NSRect frame = [window_ frame];
137 [window_ setFrame:frame display:NO];
148 NSFont* font = [[window_ contentView] font];
206 [[window_ contentView] setContent:*main];
208 [[window_ contentView] setContent:*backup];
[all …]
Dchrome_event_processing_window_unittest.mm38 window_ = [[ChromeEventProcessingWindow alloc]
44 [window_ orderFront:nil];
46 [window_ orderBack:nil];
51 [window_ close];
55 ChromeEventProcessingWindow* window_;
81 [window_ setDelegate:delegate];
82 [window_ performKeyEquivalent:event];
85 [window_ setDelegate:nil];
98 [window_ setDelegate:delegate];
99 [window_ performKeyEquivalent:event];
[all …]
Dchrome_browser_window_unittest.mm21 window_ = [[ChromeBrowserWindow alloc]
27 [window_ orderFront:nil];
29 [window_ orderBack:nil];
34 [window_ close];
38 ChromeBrowserWindow* window_;
44 [window_ display];
Dwindow_size_autosaver.mm31 window_ = window;
40 object:window_];
45 object:window_];
58 NSRect frame = [window_ frame];
59 if ([window_ styleMask] & NSResizableWindowMask) {
78 if ([window_ styleMask] & NSResizableWindowMask) {
95 [window_ setFrame:NSMakeRect(x1, y1, x2 - x1, y2 - y1) display:YES];
98 [window_ cascadeTopLeftFromPoint:NSZeroPoint];
106 NSPoint upperLeft = NSMakePoint(x, y + NSHeight([window_ frame]));
107 [window_ cascadeTopLeftFromPoint:upperLeft];
/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 …]
Dbrowser_window_gtk.cc310 window_ = GTK_WINDOW(gtk_window_new(GTK_WINDOW_TOPLEVEL)); in Init()
311 g_object_set_qdata(G_OBJECT(window_), GetBrowserWindowQuarkKey(), this); in Init()
312 gtk_widget_add_events(GTK_WIDGET(window_), GDK_BUTTON_PRESS_MASK | in Init()
318 gtk_window_set_has_resize_grip_sym(GTK_WINDOW(window_), FALSE); in Init()
322 gtk_window_group_add_window(gtk_window_group_new(), window_); in Init()
323 g_object_unref(gtk_window_get_group(window_)); in Init()
336 gtk_window_set_wmclass(window_, in Init()
343 gtk_window_set_wmclass(window_, in Init()
348 gtk_window_set_role(window_, wmclassname.c_str()); in Init()
415 GTK_WIDGET(window_), 0, 0, &left_x, in DrawContentShadow()
[all …]
Dgtk_expanded_container_unittest.cc12 : window_(gtk_window_new(GTK_WINDOW_TOPLEVEL)), in GtkExpandedContainerTest()
14 gtk_window_set_default_size(GTK_WINDOW(window_), 200, 200); in GtkExpandedContainerTest()
15 gtk_container_add(GTK_CONTAINER(window_), expanded_); in GtkExpandedContainerTest()
18 gtk_widget_destroy(window_); in ~GtkExpandedContainerTest()
48 GtkWidget* window_; member in GtkExpandedContainerTest
76 gtk_widget_show_all(window_); in TEST_F()
109 gtk_widget_show_all(window_); in TEST_F()
135 gtk_widget_show_all(window_); in TEST_F()
150 gtk_widget_show_all(window_); in TEST_F()
Dssl_client_certificate_selector.cc93 ConstrainedWindow* window_; member in __anone84a14720111::SSLClientCertificateSelector
106 window_(NULL) { in SSLClientCertificateSelector()
197 DCHECK(!window_); in Show()
198 window_ = parent_->CreateConstrainedDialog(this); in Show()
203 DCHECK(window_); in OnCertSelectedByNotification()
204 window_->CloseConstrainedWindow(); in OnCertSelectedByNotification()
332 DCHECK(window_); in Unlocked()
333 window_->CloseConstrainedWindow(); in Unlocked()
358 DCHECK(window_); in OnCancelClicked()
359 window_->CloseConstrainedWindow(); in OnCancelClicked()
Dconstrained_html_delegate_gtk.cc53 window_ = window; in set_window()
63 ConstrainedWindow* window_; member in ConstrainedHtmlDelegateGtk
73 window_(NULL) { in ConstrainedHtmlDelegateGtk()
103 window_->CloseConstrainedWindow(); in OnDialogClose()
Dgtk_chrome_shrinkable_hbox_unittest.cc21 : window_(gtk_window_new(GTK_WINDOW_TOPLEVEL)), in GtkChromeShrinkableHBoxTest()
24 gtk_window_set_default_size(GTK_WINDOW(window_), 200, 200); in GtkChromeShrinkableHBoxTest()
25 gtk_container_add(GTK_CONTAINER(window_), box_); in GtkChromeShrinkableHBoxTest()
30 gtk_widget_destroy(window_); in ~GtkChromeShrinkableHBoxTest()
130 gtk_widget_show_all(window_); in Test()
184 GtkWidget* window_; member in GtkChromeShrinkableHBoxTest
/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/chrome/browser/autocomplete/
Dautocomplete_popup_view_gtk.cc278 window_(gtk_window_new(GTK_WINDOW_POPUP)), in AutocompletePopupViewGtk()
284 GTK_WIDGET_UNSET_FLAGS(window_, GTK_CAN_FOCUS); in AutocompletePopupViewGtk()
287 gtk_window_set_resizable(GTK_WINDOW(window_), FALSE); in AutocompletePopupViewGtk()
288 gtk_widget_set_app_paintable(window_, TRUE); in AutocompletePopupViewGtk()
290 gtk_widget_set_double_buffered(window_, TRUE); in AutocompletePopupViewGtk()
295 layout_ = gtk_widget_create_pango_layout(window_, NULL); in AutocompletePopupViewGtk()
301 gtk_widget_add_events(window_, GDK_BUTTON_MOTION_MASK | in AutocompletePopupViewGtk()
305 g_signal_connect(window_, "motion-notify-event", in AutocompletePopupViewGtk()
307 g_signal_connect(window_, "button-press-event", in AutocompletePopupViewGtk()
309 g_signal_connect(window_, "button-release-event", in AutocompletePopupViewGtk()
[all …]
/external/chromium/chrome/browser/
Drepost_form_warning_controller.cc13 window_(NULL) { in RepostFormWarningController()
26 window_ = NULL; in ~RepostFormWarningController()
33 window_ = tab_contents_->CreateConstrainedDialog(window_delegate); in Show()
69 if (window_) { in CloseDialog()
70 window_->CloseConstrainedWindow(); in CloseDialog()
Dfullscreen_linux.cc59 WindowManagerWindowFinder() : window_(None) { } in WindowManagerWindowFinder()
61 XID window() const { return window_; } in window()
66 window_ = window; in ShouldStopIterating()
73 XID window_; member in __anond103f6000111::WindowManagerWindowFinder
Dprocess_singleton_win.cc45 : window_(NULL), locked_(false), foreground_window_(NULL) { in ProcessSingleton()
80 if (window_) { in ~ProcessSingleton()
81 DestroyWindow(window_); in ~ProcessSingleton()
175 if (window_) in Create()
194 window_ = CreateWindow(chrome::kMessageWindowClass, in Create()
197 ui::CheckWindowCreated(window_); in Create()
198 ui::SetWindowUserData(window_, this); in Create()
/external/chromium/chrome/browser/ui/views/status_icons/
Dstatus_tray_win.cc34 window_ = CreateWindow(chrome::kStatusTrayWindowClass, in StatusTrayWin()
36 ui::CheckWindowCreated(window_); in StatusTrayWin()
37 ui::SetWindowUserData(window_, this); in StatusTrayWin()
89 if (window_) in ~StatusTrayWin()
90 DestroyWindow(window_); in ~StatusTrayWin()
95 return new StatusIconWin(next_icon_id_++, window_, kStatusIconMessage); in CreatePlatformStatusIcon()
/external/chromium/chrome/browser/ui/tabs/
Ddock_info.h62 DockInfo() : type_(NONE), window_(NULL), in_enable_area_(false) {} in DockInfo()
130 void set_window(gfx::NativeWindow window) { window_ = window; } in set_window()
131 gfx::NativeWindow window() const { return window_; } in window()
162 return type_ == other.type_ && window_ == other.window_ && in equals()
180 gfx::NativeWindow window_; variable
/external/chromium/chrome/browser/renderer_host/
Dgtk_key_bindings_handler_unittest.cc29 : window_(gtk_window_new(GTK_WINDOW_TOPLEVEL)), in GtkKeyBindingsHandlerTest()
39 gtk_container_add(GTK_CONTAINER(window_), fixed); in GtkKeyBindingsHandlerTest()
41 gtk_widget_show(window_); in GtkKeyBindingsHandlerTest()
44 gtk_widget_destroy(window_); in ~GtkKeyBindingsHandlerTest()
50 gdk_keymap_get_for_display(gtk_widget_get_display(window_)); in NewNativeWebKeyboardEvent()
87 GtkWidget* window_; member in GtkKeyBindingsHandlerTest
/external/chromium/chrome/browser/ui/views/
Dconstrained_html_delegate_win.cc61 window_ = window; in set_window()
70 ConstrainedWindow* window_; member in ConstrainedHtmlDelegateWin
79 window_(NULL) { in ConstrainedHtmlDelegateWin()
99 window_->CloseConstrainedWindow(); in OnDialogClose()
Dconstrained_html_delegate_gtk.cc57 window_ = window; in set_window()
67 ConstrainedWindow* window_; member in ConstrainedHtmlDelegateGtk
78 window_(NULL) { in ConstrainedHtmlDelegateGtk()
110 window_->CloseConstrainedWindow(); in OnDialogClose()
/external/chromium/chrome/browser/ui/
Dinput_window_dialog_win.cc45 views::Window* window_; member in WinInputWindowDialog
210 window_ = views::Window::CreateChromeWindow(parent, gfx::Rect(), in WinInputWindowDialog()
212 window_->client_view()->AsDialogClientView()->UpdateDialogButtons(); in WinInputWindowDialog()
219 window_->Show(); in Show()
223 window_->CloseWindow(); in Close()
Dbrowser.cc206 window_(NULL), in Browser()
407 DCHECK(!window_); in InitBrowserWindow()
409 window_ = CreateBrowserWindow(); in InitBrowserWindow()
450 window_->GetLocationBar()->ShowFirstRunBubble(bubble_type); in InitBrowserWindow()
1051 window_->ToolbarSizeChanged(is_animating); in BookmarkBarSizeChanged()
1081 window_->Activate(); in AddRestoredTab()
1089 new_tab->view()->SizeContents(window_->GetRestoredBounds().size()); in AddRestoredTab()
1237 hide_ui_for_fullscreen = check_fullscreen && window_ && in SupportsWindowFeatureImpl()
1238 window_->IsFullscreen(); in SupportsWindowFeatureImpl()
1337 LocationBar* location_bar = window_->GetLocationBar(); in OpenCurrentURL()
[all …]
/external/chromium/chrome/browser/ui/cocoa/bookmarks/
Dbookmark_bar_folder_window_unittest.mm15 scoped_nsobject<BookmarkBarFolderWindow> window_;
16 window_.reset([[BookmarkBarFolderWindow alloc]
21 EXPECT_EQ(NSBorderlessWindowMask, [window_ styleMask]);

123