OLD | NEW |
1 // Copyright 2011 The Chromium Authors. All rights reserved. | 1 // Copyright 2011 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "cc/trees/single_thread_proxy.h" | 5 #include "cc/trees/single_thread_proxy.h" |
6 | 6 |
7 #include "base/auto_reset.h" | 7 #include "base/auto_reset.h" |
8 #include "base/debug/trace_event.h" | 8 #include "base/debug/trace_event.h" |
9 #include "cc/output/context_provider.h" | 9 #include "cc/output/context_provider.h" |
10 #include "cc/output/output_surface.h" | 10 #include "cc/output/output_surface.h" |
(...skipping 474 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
485 } | 485 } |
486 | 486 |
487 bool SingleThreadProxy::CommitPendingForTesting() { return false; } | 487 bool SingleThreadProxy::CommitPendingForTesting() { return false; } |
488 | 488 |
489 skia::RefPtr<SkPicture> SingleThreadProxy::CapturePicture() { | 489 skia::RefPtr<SkPicture> SingleThreadProxy::CapturePicture() { |
490 // Impl-side painting only. | 490 // Impl-side painting only. |
491 NOTREACHED(); | 491 NOTREACHED(); |
492 return skia::RefPtr<SkPicture>(); | 492 return skia::RefPtr<SkPicture>(); |
493 } | 493 } |
494 | 494 |
| 495 void SingleThreadProxy::UIResourceLostOnImplThread(UIResourceId uid) { |
| 496 layer_tree_host_->UIResourceLost(uid); |
| 497 } |
| 498 |
495 } // namespace cc | 499 } // namespace cc |
OLD | NEW |