/external/chromium_org/ui/views/controls/scrollbar/ |
D | scrollbar_unittest.cc | 51 NativeScrollBarTest() : widget_(NULL), scrollbar_(NULL) {} in NativeScrollBarTest() 57 ASSERT_FALSE(scrollbar_); in SetUp() 70 scrollbar_ = in SetUp() 72 scrollbar_->SetBounds(0, 0, 100, 100); in SetUp() 73 scrollbar_->Update(100, 200, 0); in SetUp() 75 track_size_ = scrollbar_->GetTrackBounds().width(); in SetUp() 90 BaseScrollBar* scrollbar_; member in views::NativeScrollBarTest 110 EXPECT_EQ(scrollbar_->GetPosition(), 0); in TEST_F() 111 EXPECT_EQ(scrollbar_->GetMaxPosition(), 100); in TEST_F() 112 EXPECT_EQ(scrollbar_->GetMinPosition(), 0); in TEST_F() [all …]
|
/external/chromium_org/cc/blink/ |
D | scrollbar_impl.cc | 19 : scrollbar_(scrollbar.Pass()), in ScrollbarImpl() 28 if (scrollbar_->orientation() == WebScrollbar::Horizontal) in Orientation() 34 return scrollbar_->isLeftSideVerticalScrollbar(); in IsLeftSideVerticalScrollbar() 38 return geometry_->hasThumb(scrollbar_.get()); in HasThumb() 42 return scrollbar_->isOverlay(); in IsOverlay() 46 return scrollbar_->location(); in Location() 50 gfx::Rect thumb_rect = geometry_->thumbRect(scrollbar_.get()); in ThumbThickness() 51 if (scrollbar_->orientation() == WebScrollbar::Horizontal) in ThumbThickness() 57 gfx::Rect thumb_rect = geometry_->thumbRect(scrollbar_.get()); in ThumbLength() 58 if (scrollbar_->orientation() == WebScrollbar::Horizontal) in ThumbLength() [all …]
|
D | scrollbar_impl.h | 41 scoped_ptr<blink::WebScrollbar> scrollbar_;
|
/external/chromium_org/cc/layers/ |
D | painted_scrollbar_layer.cc | 26 tree_impl, id(), scrollbar_->Orientation()).PassAs<LayerImpl>(); in CreateLayerImpl() 38 : scrollbar_(scrollbar.Pass()), in PaintedScrollbarLayer() 41 thumb_thickness_(scrollbar_->ThumbThickness()), in PaintedScrollbarLayer() 42 thumb_length_(scrollbar_->ThumbLength()), in PaintedScrollbarLayer() 43 is_overlay_(scrollbar_->IsOverlay()), in PaintedScrollbarLayer() 44 has_thumb_(scrollbar_->HasThumb()) { in PaintedScrollbarLayer() 45 if (!scrollbar_->IsOverlay()) in PaintedScrollbarLayer() 72 return scrollbar_->IsOverlay(); in OpacityCanAnimateOnImplThread() 76 return scrollbar_->Orientation(); in orientation() 183 gfx::Size(scrollbar_->ThumbLength(), scrollbar_->ThumbThickness()); in OriginThumbRect() [all …]
|
D | painted_scrollbar_layer.h | 81 scoped_ptr<Scrollbar> scrollbar_; variable
|
/external/chromium_org/content/renderer/pepper/ |
D | ppb_scrollbar_impl.cc | 54 scrollbar_.reset(WebPluginScrollbar::createForPlugin( in Init() 62 void PPB_Scrollbar_Impl::InstanceWasDeleted() { scrollbar_.reset(); } in InstanceWasDeleted() 68 bool PPB_Scrollbar_Impl::IsOverlay() { return scrollbar_->isOverlay(); } in IsOverlay() 70 uint32_t PPB_Scrollbar_Impl::GetValue() { return scrollbar_->value(); } in GetValue() 73 if (scrollbar_) in SetValue() 74 scrollbar_->setValue(value); in SetValue() 78 if (scrollbar_) in SetDocumentSize() 79 scrollbar_->setDocumentSize(size); in SetDocumentSize() 84 if (!scrollbar_) in SetTickMarks() 99 if (!scrollbar_) in ScrollBy() [all …]
|
D | ppb_scrollbar_impl.h | 66 scoped_ptr<blink::WebPluginScrollbar> scrollbar_; variable
|
/external/chromium_org/ppapi/tests/ |
D | test_scrollbar.cc | 20 scrollbar_(instance, true), in TestScrollbar() 36 scrollbar_.SetLocation(location); in TestHandleEvent() 38 scrollbar_.SetDocumentSize(10000); in TestHandleEvent() 48 scrollbar_.HandleEvent(input_event); in TestHandleEvent() 60 if (scrollbar == scrollbar_) in ScrollbarValueChanged()
|
D | test_scrollbar.h | 32 pp::Scrollbar_Dev scrollbar_; variable
|
/external/chromium_org/chrome/browser/resources/net_internals/ |
D | timeline_graph_view.js | 59 this.scrollbar_ = new HorizontalScrollbarView(scrollbarId, 63 superClass.call(this, null, new DivView(divId), this.scrollbar_); 162 return this.scrollbar_.getPosition() == this.scrollbar_.getRange(); 177 if (this.scrollbar_.getPosition() > scrollbarRange) 180 this.scrollbar_.setRange(scrollbarRange); 182 this.scrollbar_.setPosition(scrollbarRange); 222 var newPosition = this.scrollbar_.getPosition() + Math.round(delta); 226 } else if (newPosition > this.scrollbar_.getRange()) { 227 newPosition = this.scrollbar_.getRange(); 230 if (this.scrollbar_.getPosition() == newPosition) [all …]
|
/external/chromium_org/content/browser/resources/media/ |
D | timeline_graph_view.js | 36 this.scrollbar_ = {position_: 0, range_: 0}; property in TimelineGraphView.TimelineGraphView 75 return this.scrollbar_.position_ == this.scrollbar_.range_; 90 if (this.scrollbar_.position_ > scrollbarRange) 93 this.scrollbar_.range_ = scrollbarRange; 95 this.scrollbar_.position_ = scrollbarRange; 184 var position = this.scrollbar_.position_; 187 if (this.scrollbar_.range_ == 0)
|
/external/chromium_org/chrome/browser/resources/ntp4/ |
D | tile_page.js | 413 this.scrollbar_ = this.ownerDocument.createElement('div'); 414 this.scrollbar_.className = 'tile-page-scrollbar'; 415 this.scrollbar_.hidden = true; 416 this.appendChild(this.scrollbar_); 499 return this.scrollbar_.hidden ? 0 : 13; 1184 this.scrollbar_.hidden = true; 1187 this.scrollbar_.hidden = false; 1195 this.scrollbar_.style.top = thumbTop + 'px'; 1196 this.scrollbar_.style.height = thumbHeight + 'px';
|
/external/chromium_org/cc/trees/ |
D | layer_tree_host_unittest.cc | 397 scrollbar_ = FakePaintedScrollbarLayer::Create( in SetupTree() 399 scrollbar_->SetPosition(gfx::Point(0, 10)); in SetupTree() 400 scrollbar_->SetBounds(gfx::Size(10, 10)); in SetupTree() 402 root_layer_->AddChild(scrollbar_); in SetupTree() 431 scrollbar_->content_bounds().ToString()); in AfterTest() 437 scoped_refptr<FakePaintedScrollbarLayer> scrollbar_; member in cc::__anon83dbcd050111::LayerTreeHostTestNoExtraCommitFromScrollbarInvalidate 1163 scrollbar_ = FakePaintedScrollbarLayer::Create( in SetupTree() 1165 scrollbar_->SetPosition(gfx::Point(0, 10)); in SetupTree() 1166 scrollbar_->SetBounds(gfx::Size(10, 10)); in SetupTree() 1168 layer_->AddChild(scrollbar_); in SetupTree() [all …]
|