[Autofill] Remove hide_called_ from AutofillPopupView
[chromium-blink-merge.git] / cc / test / fake_content_layer_impl.cc
blob5f72668822f3f25a71d6fcd09e8724aff3096037
1 // Copyright 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #include "cc/test/fake_content_layer_impl.h"
7 namespace cc {
9 FakeContentLayerImpl::FakeContentLayerImpl(LayerTreeImpl* tree_impl, int id)
10 : TiledLayerImpl(tree_impl, id),
11 lost_output_surface_count_(0) {
14 FakeContentLayerImpl::~FakeContentLayerImpl() {}
16 scoped_ptr<LayerImpl> FakeContentLayerImpl::CreateLayerImpl(
17 LayerTreeImpl* tree_impl) {
18 return FakeContentLayerImpl::Create(tree_impl, id()).PassAs<LayerImpl>();
21 bool FakeContentLayerImpl::HaveResourceForTileAt(int i, int j) {
22 return HasResourceIdForTileAt(i, j);
25 void FakeContentLayerImpl::DidLoseOutputSurface() {
26 TiledLayerImpl::DidLoseOutputSurface();
27 ++lost_output_surface_count_;
30 } // namespace cc