// If the device height is overridden, do not include the horizontal scrollbar into the innerHeight (since it is absent on the real device).
bool includeScrollbars = !InspectorInstrumentation::shouldApplyScreenHeightOverride(m_frame);
-
-#if ENABLE(TIZEN_DLOG_SUPPORT)
- int result = view->mapFromLayoutToCSSUnits(static_cast<int>(view->visibleContentRect(includeScrollbars).height()));
- TIZEN_LOGI(" [%d]", result);
- return result;
-#else
return view->mapFromLayoutToCSSUnits(static_cast<int>(view->visibleContentRect(includeScrollbars).height()));
-#endif
}
int DOMWindow::innerWidth() const
// If the device width is overridden, do not include the vertical scrollbar into the innerWidth (since it is absent on the real device).
bool includeScrollbars = !InspectorInstrumentation::shouldApplyScreenWidthOverride(m_frame);
-#if ENABLE(TIZEN_DLOG_SUPPORT)
- int result = view->mapFromLayoutToCSSUnits(static_cast<int>(view->visibleContentRect(includeScrollbars).width()));
- TIZEN_LOGI(" [%d]", result);
- return result;
-#else
return view->mapFromLayoutToCSSUnits(static_cast<int>(view->visibleContentRect(includeScrollbars).width()));
-#endif
}
int DOMWindow::screenX() const
IntPoint newPoint = point;
newPoint.scale(scaleFactor(), scaleFactor());
#if ENABLE(TIZEN_WEBKIT2_BEFORE_PAGE_RENDERED_SCROLL_POSITION)
-#if ENABLE(TIZEN_DLOG_SUPPORT)
- TIZEN_LOGI("scroll position: [%d, %d], [%s]", newPoint.x(), newPoint.y(), m_pageDidRendered ? "Rendered" : "Before rendered");
-#endif
if (!m_pageDidRendered)
m_scrollPositionBeforePageRendered = newPoint;
else