Searched defs:scroll_offset (Results 1 - 21 of 21) sorted by relevance

/external/chromium_org/chrome/browser/renderer_host/
H A Dchrome_render_widget_host_view_mac_delegate_browsertest.cc92 const int scroll_offset = GetScrollTop(); local
93 ASSERT_NE(0, scroll_offset);
101 ASSERT_EQ(scroll_offset, GetScrollTop());
110 const int scroll_offset = GetScrollTop(); local
111 ASSERT_NE(0, scroll_offset);
128 ASSERT_EQ(scroll_offset, GetScrollTop());
/external/chromium/webkit/glue/
H A Dwebaccessibility.cc381 const gfx::Size& scroll_offset = document.frame()->scrollOffset(); local
382 attributes[ATTR_DOC_SCROLLX] = base::IntToString16(scroll_offset.width());
383 attributes[ATTR_DOC_SCROLLY] = base::IntToString16(scroll_offset.height());
/external/chromium_org/cc/test/
H A Danimation_test_common.h78 virtual void OnScrollOffsetAnimated(gfx::Vector2dF scroll_offset) OVERRIDE;
85 gfx::Vector2dF scroll_offset() { return scroll_offset_; } function in class:cc::FakeLayerAnimationValueObserver
109 void set_scroll_offset(gfx::Vector2dF scroll_offset) { argument
110 scroll_offset_ = scroll_offset;
H A Danimation_test_common.cc203 gfx::Vector2dF scroll_offset) {
204 scroll_offset_ = scroll_offset;
202 OnScrollOffsetAnimated( gfx::Vector2dF scroll_offset) argument
/external/chromium_org/chrome/browser/ui/views/frame/
H A Dbrowser_root_view.cc129 int scroll_offset = abs(event.y_offset()) > abs(event.x_offset()) ? local
134 if (scroll_offset < 0 && model->active_index() + 1 < model->count()) {
141 if (scroll_offset > 0 && model->active_index() > 0) {
/external/chromium_org/content/common/
H A Dpage_state_serialization.h50 gfx::Point scroll_offset; member in struct:content::ExplodedFrameState
/external/chromium_org/content/renderer/accessibility/
H A Daccessibility_node_serializer.cc377 const gfx::Size& scroll_offset = document.frame()->scrollOffset(); local
378 dst->AddIntAttribute(dst->ATTR_SCROLL_X, scroll_offset.width());
379 dst->AddIntAttribute(dst->ATTR_SCROLL_Y, scroll_offset.height());
/external/chromium_org/cc/animation/
H A Dlayer_animation_controller.cc717 const gfx::Vector2dF scroll_offset = local
719 NotifyObserversScrollOffsetAnimated(scroll_offset);
771 gfx::Vector2dF scroll_offset) {
774 OnScrollOffsetAnimated(scroll_offset));
770 NotifyObserversScrollOffsetAnimated( gfx::Vector2dF scroll_offset) argument
/external/chromium_org/android_webview/browser/
H A Din_process_view_renderer.cc841 void InProcessViewRenderer::ScrollTo(gfx::Vector2d scroll_offset) { argument
849 scroll_offset_dip.set_x((scroll_offset.x() * max_scroll_offset_dip_.x()) /
853 scroll_offset_dip.set_y((scroll_offset.y() * max_scroll_offset_dip_.y()) /
897 gfx::Vector2d scroll_offset; local
901 scroll_offset.set_x((scroll_offset_dip.x() * max_offset.x()) /
906 scroll_offset.set_y((scroll_offset_dip.y() * max_offset.y()) /
910 DCHECK(0 <= scroll_offset.x());
911 DCHECK(0 <= scroll_offset.y());
912 DCHECK(scroll_offset.x() <= max_offset.x());
913 DCHECK(scroll_offset
[all...]
/external/chromium_org/cc/layers/
H A Dlayer.h269 void SetScrollOffset(gfx::Vector2d scroll_offset);
270 gfx::Vector2d scroll_offset() const { return scroll_offset_; } function in class:cc::Layer
271 void SetScrollOffsetFromImplSide(gfx::Vector2d scroll_offset);
318 return scroll_offset() + ScrollDelta();
557 virtual void OnScrollOffsetAnimated(gfx::Vector2dF scroll_offset) OVERRIDE;
H A Dlayer.cc681 void Layer::SetScrollOffset(gfx::Vector2d scroll_offset) { argument
683 if (scroll_offset_ == scroll_offset)
685 scroll_offset_ = scroll_offset;
689 void Layer::SetScrollOffsetFromImplSide(gfx::Vector2d scroll_offset) { argument
694 if (scroll_offset_ == scroll_offset)
696 scroll_offset_ = scroll_offset;
1084 void Layer::OnScrollOffsetAnimated(gfx::Vector2dF scroll_offset) { argument
H A Dlayer_impl.cc702 void LayerImpl::OnScrollOffsetAnimated(gfx::Vector2dF scroll_offset) { argument
709 SetScrollDelta(scroll_offset - scroll_offset_);
1052 void LayerImpl::SetScrollOffset(gfx::Vector2d scroll_offset) { argument
1053 SetScrollOffsetAndDelta(scroll_offset, ScrollDelta());
1056 void LayerImpl::SetScrollOffsetAndDelta(gfx::Vector2d scroll_offset, argument
1060 if (scroll_offset_ != scroll_offset) {
1062 scroll_offset_ = scroll_offset;
H A Dlayer_impl.h87 virtual void OnScrollOffsetAnimated(gfx::Vector2dF scroll_offset) OVERRIDE;
382 void SetScrollOffset(gfx::Vector2d scroll_offset);
383 void SetScrollOffsetAndDelta(gfx::Vector2d scroll_offset,
385 gfx::Vector2d scroll_offset() const { return scroll_offset_; } function in class:cc::LayerImpl
/external/chromium_org/cc/trees/
H A Dlayer_tree_host_common.cc1505 gfx::Vector2dF scroll_offset = GetEffectiveTotalScrollOffset(layer); local
1506 gfx::PointF position = layer->position() - scroll_offset;
/external/chromium_org/content/browser/renderer_host/
H A Drender_widget_host_view_android.cc325 const gfx::Vector2d& scroll_offset,
324 MovePluginWindows( const gfx::Vector2d& scroll_offset, const std::vector<WebPluginGeometry>& moves) argument
H A Drender_widget_host_view_gtk.cc754 const gfx::Vector2d& scroll_offset,
753 MovePluginWindows( const gfx::Vector2d& scroll_offset, const std::vector<WebPluginGeometry>& moves) argument
H A Drender_widget_host_view_guest.cc272 const gfx::Vector2d& scroll_offset,
274 platform_view_->MovePluginWindows(scroll_offset, moves);
271 MovePluginWindows( const gfx::Vector2d& scroll_offset, const std::vector<WebPluginGeometry>& moves) argument
H A Drender_widget_host_view_aura.cc798 const gfx::Vector2d& scroll_offset,
811 gfx::Rect view_port(scroll_offset.x(), scroll_offset.y(), view_bounds.width(),
817 moves[i].window_rect.OffsetFromOrigin() + scroll_offset);
797 MovePluginWindows( const gfx::Vector2d& scroll_offset, const std::vector<WebPluginGeometry>& plugin_window_moves) argument
H A Drender_widget_host_view_win.cc561 const gfx::Vector2d& scroll_offset,
560 MovePluginWindows( const gfx::Vector2d& scroll_offset, const std::vector<WebPluginGeometry>& plugin_window_moves) argument
/external/chromium_org/content/browser/android/
H A Dcontent_view_core_impl.cc393 const gfx::Vector2dF& scroll_offset,
416 scroll_offset.x(),
417 scroll_offset.y(),
392 UpdateFrameInfo( const gfx::Vector2dF& scroll_offset, float page_scale_factor, const gfx::Vector2dF& page_scale_factor_limits, const gfx::SizeF& content_size, const gfx::SizeF& viewport_size, const gfx::Vector2dF& controls_offset, const gfx::Vector2dF& content_offset, float overdraw_bottom_height) argument
/external/chromium_org/content/renderer/
H A Drender_view_impl.cc5487 WebSize scroll_offset = webview()->mainFrame()->scrollOffset(); local
5488 return gfx::Vector2d(scroll_offset.width, scroll_offset.height);

Completed in 545 milliseconds