Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(158)

Side by Side Diff: ui/compositor/test/compositor_test_api.cc

Issue 775143003: cc: Implement unified BeginFrame on aura (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: add unittest Created 5 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
1 // Copyright 2015 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.
4
5 #include "ui/compositor/test/compositor_test_api.h"
6
7 #include "cc/output/begin_frame_args.h"
8 #include "ui/compositor/compositor.h"
9
10 namespace ui {
11
12 CompositorTestAPI::CompositorTestAPI(Compositor* compositor)
13 : compositor_(compositor) {
14 }
15
16 CompositorTestAPI::~CompositorTestAPI() {
17 }
18
19 cc::BeginFrameArgs CompositorTestAPI::missed_begin_frame_args() {
20 return compositor_->missed_begin_frame_args_;
21 }
22
23 } // namespace ui
OLDNEW
« ui/compositor/compositor_unittest.cc ('K') | « ui/compositor/test/compositor_test_api.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698