Home | History | Annotate | Download | only in frame

Lines Matching refs:WINDOW

63 #include "chrome/browser/ui/views/window.h"
91 #include "views/window/dialog_delegate.h"
92 #include "views/window/window.h"
99 #include "views/window/window_win.h"
102 #include "views/window/hit_test.h"
103 #include "views/window/window_gtk.h"
116 // The name of a key to store on the window handle so that other code can
121 // How long do we wait before we consider a window hung (in ms).
125 // The amount of space we expect the window border to take up.
136 // Get a normal browser window of given |profile| to use as dialog parent
137 // if given |browser| is not one. Otherwise, returns browser window of
146 if (normal_browser && normal_browser->window())
147 return normal_browser->window()->GetNativeHandle();
150 return browser->window()->GetNativeHandle();
244 views::Window* window = GetWindow();
245 if (!window || (window->IsMaximized() || window->IsFullscreen()))
264 views::Window* window = GetWindow();
265 return (!window || window->IsMaximized() || window->IsFullscreen()) ?
282 // currently in a window.
283 views::Window* GetWindow() {
360 gfx::NativeWindow window) {
362 if (IsWindow(window)) {
364 ui::ViewProp::GetValue(window, kBrowserViewKey));
367 if (window) {
369 g_object_get_data(G_OBJECT(window), kBrowserViewKey));
409 // The background image starts tiling horizontally at the window left edge and
411 // be). We expect our parent's origin to be the window origin.
493 active_browser->window()->FlashFrame();
494 active_browser->window()->Activate();
542 // If the window is already visible, just activate it.
548 // Setting the focus doesn't work when the window is invisible, so any focus
551 // We really "should" restore the focus whenever the window becomes unhidden,
564 views::Window* window = frame_->GetWindow();
565 if (!window->IsVisible())
566 window->ShowInactive();
728 // On Linux changing fullscreen is async. Ask the window to change it's
941 views::Window* BrowserView::DoShowAboutChromeDialog() {
1017 // Default to using our window as the parent if the argument is not specified.
1147 views::Window* window = GetWidget()->GetWindow();
1148 if (window && event.os_event && !event.skip_in_browser) {
1150 static_cast<views::WindowGtk*>(window)->HandleKeyboardEvent(views_event);
1375 if (trs && trs->entries().front()->type == TabRestoreService::WINDOW)
1477 // We are a popup window. The value passed in |bounds| represents two
1479 // - the position of the window, in screen coordinates (outer position).
1482 // position of the resulting window.
1486 // window's client area as far as GetWindowBoundsForClientBounds is
1496 // When we are given x/y coordinates of 0 on a created popup window,
1497 // assume none were given by the window.open() command.
1507 // WindowSizer, and we don't want to trigger the Window's built-in "size to
1508 // default" handling because the browser window has no default preferred
1522 views::ClientView* BrowserView::CreateClientView(views::Window* window) {
1523 set_window(window);
1540 // window being repositioned.
1565 // the window below.
1578 // Empty TabStripModel, it's now safe to allow the Window to be closed.
1651 // browser window so AeroPeekManager can render a background-tab image in
1743 // Stow a pointer to this object onto the window handle so that we can get at
1747 // Stow a pointer to the browser's profile onto the window handle so that we
1752 // Start a hung plugin window detector for this browser object (as long as
1852 // ... or in the window icon area for popups and app windows.
2003 // Install devtools focus tracker when dev tools window is shown for the
2027 // Store split offset when hiding devtools window only.
2031 // Restore focus to the last focused view when hiding devtools window.
2095 // * Hiding the window until it's in the final position
2119 // has something to do with how we move the main window while it's hidden;
2120 // if we don't hide the main window below, we don't get this problem.
2144 // window-state-change event), so we have to update commands here.
2163 // Undo our anti-jankiness hacks and force the window to relayout now that
2233 // If it's a regular browser window with tabs, we don't add any more items,
2419 // We only restore focus if our window is visible, to avoid invoking blur
2463 return browser::CreateFindBar(static_cast<BrowserView*>(browser->window()));