mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-06-05 21:39:12 +02:00
- Support runtime configuration of renderer-related preferences (issue #1501).
- Persist modified user preferences including per-host zoom settings when a cache_path value is specified and persist_user_preferences is set to true via CefSettings or CefRequestContextSettings. - Avoid the need to duplicate files from chrome/ by having CefBrowserContext extend Chrome's Profile class.
This commit is contained in:
@@ -692,11 +692,13 @@ class OSRTestHandler : public RoutingTestHandler,
|
||||
// first pixel of border
|
||||
#if defined(OS_MACOSX)
|
||||
EXPECT_EQ(0xff5d99d6, *(reinterpret_cast<const uint32*>(buffer)));
|
||||
#else
|
||||
#elif defined(OS_LINUX) || defined(OS_WIN)
|
||||
if (scale_factor_ == 1.0f)
|
||||
EXPECT_EQ(0xffd69c2b, *(reinterpret_cast<const uint32*>(buffer)));
|
||||
EXPECT_EQ(0xff6497ea, *(reinterpret_cast<const uint32*>(buffer)));
|
||||
else if (scale_factor_ == 2.0f)
|
||||
EXPECT_EQ(0xffe59700, *(reinterpret_cast<const uint32*>(buffer)));
|
||||
EXPECT_EQ(0xff4d90fe, *(reinterpret_cast<const uint32*>(buffer)));
|
||||
#else
|
||||
#error "Unsupported platform"
|
||||
#endif
|
||||
EXPECT_EQ(expanded_select_rect.width, width);
|
||||
EXPECT_EQ(expanded_select_rect.height, height);
|
||||
|
Reference in New Issue
Block a user