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

Side by Side Diff: cc/trees/proxy_common.h

Issue 1946403003: Add fixed raster scale use counter histograms. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: review+fixup Created 4 years, 7 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
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_TREES_PROXY_COMMON_H_ 5 #ifndef CC_TREES_PROXY_COMMON_H_
6 #define CC_TREES_PROXY_COMMON_H_ 6 #define CC_TREES_PROXY_COMMON_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 9
10 #include "base/callback_forward.h" 10 #include "base/callback_forward.h"
(...skipping 14 matching lines...) Expand all
25 struct CC_EXPORT BeginMainFrameAndCommitState { 25 struct CC_EXPORT BeginMainFrameAndCommitState {
26 BeginMainFrameAndCommitState(); 26 BeginMainFrameAndCommitState();
27 ~BeginMainFrameAndCommitState(); 27 ~BeginMainFrameAndCommitState();
28 28
29 unsigned int begin_frame_id; 29 unsigned int begin_frame_id;
30 BeginFrameArgs begin_frame_args; 30 BeginFrameArgs begin_frame_args;
31 std::unique_ptr<BeginFrameCallbackList> begin_frame_callbacks; 31 std::unique_ptr<BeginFrameCallbackList> begin_frame_callbacks;
32 std::unique_ptr<ScrollAndScaleSet> scroll_info; 32 std::unique_ptr<ScrollAndScaleSet> scroll_info;
33 size_t memory_allocation_limit_bytes; 33 size_t memory_allocation_limit_bytes;
34 bool evicted_ui_resources; 34 bool evicted_ui_resources;
35 bool has_fixed_raster_scale_blurry_content;
36 bool has_fixed_raster_scale_potential_performance_regression;
35 37
36 void ToProtobuf(proto::BeginMainFrameAndCommitState* proto) const; 38 void ToProtobuf(proto::BeginMainFrameAndCommitState* proto) const;
37 void FromProtobuf(const proto::BeginMainFrameAndCommitState& proto); 39 void FromProtobuf(const proto::BeginMainFrameAndCommitState& proto);
38 }; 40 };
39 41
40 } // namespace cc 42 } // namespace cc
41 43
42 #endif // CC_TREES_PROXY_COMMON_H_ 44 #endif // CC_TREES_PROXY_COMMON_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698