Home
last modified time | relevance | path

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

/external/chromium_org/ui/gfx/
Dcolor_profile_win.cc15 HDC screen_dc = GetDC(NULL); in ReadColorProfile() local
19 BOOL res = GetICMProfile(screen_dc, &path_len, path); in ReadColorProfile()
20 ReleaseDC(NULL, screen_dc); in ReadColorProfile()
Dplatform_font_win.cc241 base::win::ScopedGetDC screen_dc(NULL); in CreateHFontRef() local
242 base::win::ScopedSelectObject scoped_font(screen_dc, font); in CreateHFontRef()
243 gfx::ScopedSetMapMode mode(screen_dc, MM_TEXT); in CreateHFontRef()
244 GetTextMetrics(screen_dc, &font_metrics); in CreateHFontRef()
301 base::win::ScopedGetDC screen_dc(NULL); in GetDluBaseX() local
302 base::win::ScopedSelectObject font(screen_dc, hfont_); in GetDluBaseX()
303 gfx::ScopedSetMapMode mode(screen_dc, MM_TEXT); in GetDluBaseX()
308 GetTextExtentPoint32(screen_dc, in GetDluBaseX()
/external/chromium_org/sandbox/win/sandbox_poc/pocdll/
Dspyware.cc54 HDC screen_dc = ::GetDC(NULL); in TestSpyScreen() local
55 COLORREF pixel_color = ::GetPixel(screen_dc, 0, 0); in TestSpyScreen()
59 if (::GetPixel(screen_dc, x, y) != pixel_color) { in TestSpyScreen()
/external/chromium_org/ui/gfx/win/
Ddpi.cc75 base::win::ScopedGetDC screen_dc(NULL); in GetDPI() local
79 dpi_x = GetDeviceCaps(screen_dc, LOGPIXELSX); in GetDPI()
80 dpi_y = GetDeviceCaps(screen_dc, LOGPIXELSY); in GetDPI()
/external/chromium_org/content/browser/renderer_host/
Dbacking_store_win.cc58 HDC screen_dc = ::GetDC(NULL); in BackingStoreWin() local
59 color_depth_ = ::GetDeviceCaps(screen_dc, BITSPIXEL); in BackingStoreWin()
65 hdc_ = CreateCompatibleDC(screen_dc); in BackingStoreWin()
66 ReleaseDC(NULL, screen_dc); in BackingStoreWin()
/external/chromium_org/ui/base/dragdrop/
Ddrag_utils_win.cc43 base::win::ScopedGetDC screen_dc(NULL); in CreateHBITMAPFromSkBitmap() local
48 CreateDIBSection(screen_dc, reinterpret_cast<BITMAPINFO*>(&header), in CreateHBITMAPFromSkBitmap()