Searched refs:kWindowTilePixels (Results 1 – 6 of 6) sorted by relevance
/external/chromium/chrome/browser/ui/ |
D | window_sizer_unittest.cc | 40 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 …]
|
D | window_sizer.cc | 179 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()
|
D | window_sizer_linux.cc | 18 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()
|
D | window_sizer_win.cc | 13 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()
|
D | window_sizer_mac.mm | 14 const int WindowSizer::kWindowTilePixels = 22; 132 std::min(NSMinX(window_frame) + kWindowTilePixels, 134 std::max(NSMaxY(window_frame) - kWindowTilePixels,
|
D | window_sizer.h | 133 static const int kWindowTilePixels; variable
|