Home
last modified time | relevance | path

Searched refs:kWindowTilePixels (Results 1 – 6 of 6) sorted by relevance

/external/chromium/chrome/browser/ui/
Dwindow_sizer_unittest.cc40 static int kWindowTilePixels = WindowSizer::kWindowTilePixels; variable
188 EXPECT_EQ(gfx::Rect(kWindowTilePixels, kWindowTilePixels, in TEST()
189 1024 - kWindowTilePixels * 2, in TEST()
190 768 - kWindowTilePixels * 2), in TEST()
201 EXPECT_EQ(gfx::Rect(kWindowTilePixels, kWindowTilePixels, in TEST()
202 1024 - kWindowTilePixels * 2, in TEST()
204 kWindowTilePixels * 2)), in TEST()
215 EXPECT_EQ(gfx::Rect(kWindowTilePixels, kWindowTilePixels, in TEST()
216 taskbar_right_work_area.width() - kWindowTilePixels*2, in TEST()
217 768 - kWindowTilePixels * 2), in TEST()
[all …]
Dwindow_sizer.cc179 bounds->Offset(kWindowTilePixels, kWindowTilePixels); in GetLastWindowBounds()
205 int default_width = std::min(work_area.width() - 2 * kWindowTilePixels, 1050); in GetDefaultWindowBounds()
206 int default_height = work_area.height() - 2 * kWindowTilePixels; in GetDefaultWindowBounds()
224 1.5 * kWindowTilePixels); in GetDefaultWindowBounds()
226 default_bounds->SetRect(kWindowTilePixels + work_area.x(), in GetDefaultWindowBounds()
227 kWindowTilePixels + work_area.y(), in GetDefaultWindowBounds()
Dwindow_sizer_linux.cc18 const int WindowSizer::kWindowTilePixels = 10; member in WindowSizer
121 std::min(x + kWindowTilePixels, monitor_bounds.right() - size.width()), in GetDefaultPopupOrigin()
122 std::min(y + kWindowTilePixels, in GetDefaultPopupOrigin()
Dwindow_sizer_win.cc13 const int WindowSizer::kWindowTilePixels = 10; member in WindowSizer
96 std::min(browser.left + kWindowTilePixels, area.right-size.width()), in GetDefaultPopupOrigin()
97 std::min(browser.top + kWindowTilePixels, area.bottom-size.height()) in GetDefaultPopupOrigin()
Dwindow_sizer_mac.mm14 const int WindowSizer::kWindowTilePixels = 22;
132 std::min(NSMinX(window_frame) + kWindowTilePixels,
134 std::max(NSMaxY(window_frame) - kWindowTilePixels,
Dwindow_sizer.h133 static const int kWindowTilePixels; variable