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

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

Issue 1407793002: Add protobuf serialization to DisplayItemList (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@blimp_display2
Patch Set: Comments are hard Created 5 years, 1 month 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.cc ('k') | cc/playback/display_item_list_settings.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 #ifndef CC_PLAYBACK_DISPLAY_ITEM_LIST_SETTINGS_H_ 5 #ifndef CC_PLAYBACK_DISPLAY_ITEM_LIST_SETTINGS_H_
6 #define CC_PLAYBACK_DISPLAY_ITEM_LIST_SETTINGS_H_ 6 #define CC_PLAYBACK_DISPLAY_ITEM_LIST_SETTINGS_H_
7 7
8 #include <cstddef> 8 #include <cstddef>
9 9
10 #include "cc/base/cc_export.h" 10 #include "cc/base/cc_export.h"
11 11
12 namespace cc { 12 namespace cc {
13 13
14 namespace proto {
15 class DisplayItemListSettings;
16 }
17
14 class CC_EXPORT DisplayItemListSettings { 18 class CC_EXPORT DisplayItemListSettings {
15 public: 19 public:
16 DisplayItemListSettings(); 20 DisplayItemListSettings();
21 explicit DisplayItemListSettings(const proto::DisplayItemListSettings& proto);
17 ~DisplayItemListSettings(); 22 ~DisplayItemListSettings();
18 23
24 void ToProtobuf(proto::DisplayItemListSettings* proto) const;
25
19 // If set, a picture will be cached inside the DisplayItemList. 26 // If set, a picture will be cached inside the DisplayItemList.
20 bool use_cached_picture; 27 bool use_cached_picture;
21 }; 28 };
22 29
23 } // namespace cc 30 } // namespace cc
24 31
25 #endif // CC_PLAYBACK_DISPLAY_ITEM_LIST_SETTINGS_H_ 32 #endif // CC_PLAYBACK_DISPLAY_ITEM_LIST_SETTINGS_H_
OLDNEW
« no previous file with comments | « cc/playback/display_item_list.cc ('k') | cc/playback/display_item_list_settings.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698