Searched refs:window_bounds (Results 1 - 25 of 34) sorted by relevance

12

/external/chromium/chrome/browser/ui/
H A Dwindow_sizer_unittest.cc183 gfx::Rect window_bounds; local
186 false, gfx::Rect(), DEFAULT, &window_bounds, &maximized);
191 window_bounds); local
195 gfx::Rect window_bounds; local
198 gfx::Rect(), false, gfx::Rect(), DEFAULT, &window_bounds,
205 window_bounds); local
209 gfx::Rect window_bounds; local
212 gfx::Rect(), false, gfx::Rect(), DEFAULT, &window_bounds,
218 window_bounds); local
222 gfx::Rect window_bounds; local
233 window_bounds); local
237 gfx::Rect window_bounds; local
247 window_bounds); local
251 gfx::Rect window_bounds; local
259 window_bounds); local
263 gfx::Rect window_bounds; local
271 window_bounds); local
275 gfx::Rect window_bounds; local
283 window_bounds); local
287 gfx::Rect window_bounds; local
295 window_bounds); local
303 gfx::Rect window_bounds; local
315 gfx::Rect window_bounds; local
329 gfx::Rect window_bounds; local
345 gfx::Rect window_bounds; local
362 gfx::Rect window_bounds; local
373 gfx::Rect window_bounds; local
384 gfx::Rect window_bounds; local
396 gfx::Rect window_bounds; local
410 gfx::Rect window_bounds; local
424 gfx::Rect window_bounds; local
438 gfx::Rect window_bounds; local
448 gfx::Rect window_bounds; local
457 window_bounds); local
465 gfx::Rect window_bounds; local
487 gfx::Rect window_bounds; local
495 kWindowTilePixels * 2, 500, 400), window_bounds); local
499 gfx::Rect window_bounds; local
512 gfx::Rect window_bounds; local
525 gfx::Rect window_bounds; local
540 gfx::Rect window_bounds; local
550 gfx::Rect window_bounds; local
560 gfx::Rect window_bounds; local
570 gfx::Rect window_bounds; local
580 gfx::Rect window_bounds; local
591 gfx::Rect window_bounds; local
602 gfx::Rect window_bounds; local
613 gfx::Rect window_bounds; local
624 gfx::Rect window_bounds; local
634 gfx::Rect window_bounds; local
644 gfx::Rect window_bounds; local
654 gfx::Rect window_bounds; local
664 gfx::Rect window_bounds; local
674 gfx::Rect window_bounds; local
684 gfx::Rect window_bounds; local
694 gfx::Rect window_bounds; local
704 gfx::Rect window_bounds; local
716 gfx::Rect window_bounds; local
731 gfx::Rect window_bounds; local
743 gfx::Rect window_bounds; local
755 gfx::Rect window_bounds; local
766 gfx::Rect window_bounds; local
778 gfx::Rect window_bounds; local
795 gfx::Rect window_bounds; local
806 gfx::Rect window_bounds; local
818 gfx::Rect window_bounds; local
831 gfx::Rect window_bounds; local
842 gfx::Rect window_bounds; local
855 gfx::Rect window_bounds; local
866 gfx::Rect window_bounds; local
876 gfx::Rect window_bounds; local
888 gfx::Rect window_bounds; local
900 gfx::Rect window_bounds; local
912 gfx::Rect window_bounds; local
923 gfx::Rect window_bounds; local
933 gfx::Rect window_bounds; local
943 gfx::Rect window_bounds; local
953 gfx::Rect window_bounds; local
963 gfx::Rect window_bounds; local
973 gfx::Rect window_bounds; local
983 gfx::Rect window_bounds; local
993 gfx::Rect window_bounds; local
[all...]
H A Dbrowser_navigator.h116 gfx::Rect window_bounds; member in struct:browser::NavigateParams
H A Dwindow_sizer.h119 // |window_bounds| is calculated by calling GetLastActiveWindowState(). To
125 gfx::Rect* window_bounds,
/external/chromium/chrome/browser/ui/views/bubble/
H A Dborder_contents_unittest.cc39 gfx::Rect window_bounds; local
46 &contents_bounds, &window_bounds);
53 EXPECT_GT(window_bounds.x(), 100);
54 EXPECT_GT(window_bounds.y(), 100 + 50 - 10); // -10 to roughly compensate for
63 &contents_bounds, &window_bounds);
69 EXPECT_GT(window_bounds.x(), 100);
70 EXPECT_GT(window_bounds.y(), 100 + 50 - 10); // -10 to roughly compensate for
79 &contents_bounds, &window_bounds);
85 EXPECT_GT(window_bounds.x(), 100);
86 EXPECT_GT(window_bounds
194 gfx::Rect window_bounds; local
217 gfx::Rect window_bounds; local
[all...]
H A Dborder_contents.cc35 gfx::Rect* window_bounds) {
48 *window_bounds =
57 window_bounds);
62 window_bounds);
68 *contents_bounds = gfx::Rect(gfx::Point(), window_bounds->size());
87 gfx::Rect* window_bounds) {
91 if (ComputeOffScreenInsets(monitor_bounds, *window_bounds,
101 *window_bounds = bubble_border_->GetBounds(position_relative_to,
105 if (ComputeOffScreenInsets(monitor_bounds, *window_bounds,
111 *window_bounds
29 SizeAndGetBounds( const gfx::Rect& position_relative_to, BubbleBorder::ArrowLocation arrow_location, bool allow_bubble_offscreen, const gfx::Size& contents_size, gfx::Rect* contents_bounds, gfx::Rect* window_bounds) argument
81 MirrorArrowIfOffScreen( bool vertical, const gfx::Rect& position_relative_to, const gfx::Rect& monitor_bounds, const gfx::Size& local_contents_size, BubbleBorder::ArrowLocation* arrow_location, gfx::Rect* window_bounds) argument
118 ComputeOffScreenInsets(const gfx::Rect& monitor_bounds, const gfx::Rect& window_bounds, gfx::Insets* offscreen_insets) argument
[all...]
H A Dborder_widget_win.cc33 gfx::Rect window_bounds; local
36 &window_bounds);
37 SetBounds(window_bounds);
40 contents_bounds.Offset(window_bounds.origin());
H A Dborder_contents.h37 gfx::Rect* window_bounds); // Returned in screen coordinates
56 // is true, horizontally otherwise, if |window_bounds| don't fit in
63 gfx::Rect* window_bounds);
65 // Computes how much |window_bounds| is off-screen of the monitor bounds
67 // Returns false if |window_bounds| is actually contained in |monitor_bounds|,
70 const gfx::Rect& window_bounds,
H A Dbubble.cc225 gfx::Rect window_bounds; local
229 window_bounds = border_->SizeAndGetBounds(position_relative_to,
247 &contents_bounds, &window_bounds);
254 gfx::Rect(gfx::Point(), window_bounds.size()));
257 SetBounds(window_bounds);
284 gfx::Rect window_bounds; local
288 window_bounds = border_->SizeAndGetBounds(position_relative_to_,
295 &contents_bounds, &window_bounds);
299 gfx::Rect(gfx::Point(), window_bounds.size()));
302 SetBounds(window_bounds);
[all...]
/external/chromium/chrome/browser/ui/tabs/
H A Ddock_info.cc127 gfx::Rect window_bounds;
128 if (window_ && !GetWindowBounds(&window_bounds))
138 new_window_bounds->SetRect(monitor_bounds_.x(), window_bounds.y(),
139 half_m_width, window_bounds.height());
144 window_bounds.y(), half_m_width,
145 window_bounds.height());
149 new_window_bounds->SetRect(window_bounds.x(), monitor_bounds_.y(),
150 window_bounds.width(), half_m_height);
154 new_window_bounds->SetRect(window_bounds.x(),
156 window_bounds
[all...]
/external/chromium/chrome/browser/ui/views/
H A Dpinned_contents_info_bubble.cc15 gfx::Rect* window_bounds) {
28 contents_size, contents_bounds, window_bounds);
31 window_bounds->Offset(0, -(kTopMargin + 1));
9 SizeAndGetBounds( const gfx::Rect& position_relative_to, BubbleBorder::ArrowLocation arrow_location, bool allow_bubble_offscreen, const gfx::Size& contents_size, gfx::Rect* contents_bounds, gfx::Rect* window_bounds) argument
H A Dbrowser_bubble.cc134 void BrowserBubble::SetAbsoluteBounds(const gfx::Rect& window_bounds) { argument
136 gfx::Point relative_origin = window_bounds.origin();
140 window_bounds.width(), window_bounds.height());
H A Dbrowser_bubble_gtk.cc154 gfx::Rect window_bounds; local
158 &contents_bounds, &window_bounds); local
160 border_contents->SetBoundsRect(gfx::Rect(gfx::Point(), window_bounds.size()));
163 SetAbsoluteBounds(window_bounds);
H A Dbrowser_bubble_win.cc153 gfx::Rect window_bounds; local
154 window_bounds = border_widget->SizeAndGetBounds(GetAbsoluteRelativeTo(),
157 SetAbsoluteBounds(window_bounds);
H A Dpinned_contents_info_bubble.h27 gfx::Rect* window_bounds); // Returned in screen coordinates
H A Dbrowser_bubble.h106 void SetAbsoluteBounds(const gfx::Rect& window_bounds);
H A Dhung_renderer_view.cc426 gfx::Rect window_bounds = window()->GetBounds(); local
429 (contents_bounds.width() - window_bounds.width()) / 2;
431 return gfx::Rect(window_x, window_y, window_bounds.width(),
432 window_bounds.height());
/external/chromium/chrome/browser/
H A Dplugin_carbon_interpose_mac.cc137 Rect window_bounds; local
138 GetWindowBounds(plugin_window, kWindowContentRgn, &window_bounds);
139 if (PtInRect(point, &window_bounds)) {
/external/chromium/chrome/browser/chromeos/
H A Dnative_dialog_window.cc147 gfx::Rect window_bounds = window()->GetBounds(); local
148 window_bounds.set_width(window_size.width());
149 window_bounds.set_height(window_size.height());
150 window()->SetWindowBounds(window_bounds, NULL);
/external/chromium/chrome/browser/tabs/
H A Dtab_strip_model_delegate.h46 // be added to it. Its size and position are reflected in |window_bounds|.
52 const gfx::Rect& window_bounds,
H A Ddefault_tab_handler.cc49 const gfx::Rect& window_bounds,
53 window_bounds,
47 CreateNewStripWithContents( TabContentsWrapper* detached_contents, const gfx::Rect& window_bounds, const DockInfo& dock_info, bool maximize) argument
H A Ddefault_tab_handler.h32 const gfx::Rect& window_bounds,
/external/chromium/chrome/browser/ui/webui/
H A Dhtml_dialog_tab_contents_delegate.cc72 params.window_bounds = initial_pos;
/external/qemu/distrib/sdl-1.2.15/src/video/bwindow/
H A DSDL_sysevents.cc399 int32 width = info->window_bounds.right -
400 info->window_bounds.left;
401 int32 height = info->window_bounds.bottom -
402 info->window_bounds.top;
/external/chromium/chrome/browser/sessions/
H A Dsession_service_unittest.cc33 SessionServiceTest() : window_bounds(0, 1, 2, 3), sync_save_count_(0){}
50 service()->SetWindowBounds(window_id, window_bounds, false);
130 const gfx::Rect window_bounds; member in class:SessionServiceTest
160 ASSERT_TRUE(window_bounds == windows[0]->bounds);
387 service()->SetWindowBounds(window2_id, window_bounds, false);
430 service()->SetWindowBounds(window2_id, window_bounds, false);
469 service()->SetWindowBounds(window2_id, window_bounds, false);
/external/chromium/chrome/browser/extensions/
H A Dextension_tabs_module.cc398 gfx::Rect window_bounds; local
406 GetCurrentBrowser(), &window_bounds, local
414 popup_bounds = window_bounds; // Use window size as default for popups
427 window_bounds.set_x(bounds_val);
434 window_bounds.set_y(bounds_val);
441 window_bounds.set_width(bounds_val);
448 window_bounds.set_height(bounds_val);
505 new_window->window()->SetBounds(window_bounds);

Completed in 4363 milliseconds

12