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

Side by Side Diff: cc/playback/display_item_list_settings.cc

Issue 2646623002: cc: Remove all blimp code from cc. (Closed)
Patch Set: test build Created 3 years, 11 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
« no previous file with comments | « cc/playback/display_item_list_settings.h ('k') | cc/playback/display_item_list_unittest.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 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 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/playback/display_item_list_settings.h" 5 #include "cc/playback/display_item_list_settings.h"
6 #include "cc/proto/display_item.pb.h"
7 6
8 namespace cc { 7 namespace cc {
9 8
10 DisplayItemListSettings::DisplayItemListSettings() 9 DisplayItemListSettings::DisplayItemListSettings()
11 : use_cached_picture(false) {} 10 : use_cached_picture(false) {}
12 11
13 DisplayItemListSettings::DisplayItemListSettings(
14 const proto::DisplayItemListSettings& proto)
15 : use_cached_picture(proto.use_cached_picture()) {}
16
17 DisplayItemListSettings::~DisplayItemListSettings() { 12 DisplayItemListSettings::~DisplayItemListSettings() {
18 } 13 }
19 14
20 void DisplayItemListSettings::ToProtobuf(
21 proto::DisplayItemListSettings* proto) const {
22 proto->set_use_cached_picture(use_cached_picture);
23 }
24
25 } // namespace cc 15 } // namespace cc
OLDNEW
« no previous file with comments | « cc/playback/display_item_list_settings.h ('k') | cc/playback/display_item_list_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698