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

Side by Side Diff: ui/android/delegated_frame_host_android.h

Issue 2661543002: Rename LocalFrameId to LocalSurfaceId (Closed)
Patch Set: c Created 3 years, 10 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 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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 UI_ANDROID_DELEGATED_FRAME_HOST_ANDROID_H_ 5 #ifndef UI_ANDROID_DELEGATED_FRAME_HOST_ANDROID_H_
6 #define UI_ANDROID_DELEGATED_FRAME_HOST_ANDROID_H_ 6 #define UI_ANDROID_DELEGATED_FRAME_HOST_ANDROID_H_
7 7
8 #include "base/macros.h" 8 #include "base/macros.h"
9 #include "base/memory/ref_counted.h" 9 #include "base/memory/ref_counted.h"
10 #include "cc/output/copy_output_request.h" 10 #include "cc/output/copy_output_request.h"
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after
86 std::unique_ptr<cc::SurfaceIdAllocator> surface_id_allocator_; 86 std::unique_ptr<cc::SurfaceIdAllocator> surface_id_allocator_;
87 cc::FrameSinkId registered_parent_frame_sink_id_; 87 cc::FrameSinkId registered_parent_frame_sink_id_;
88 Client* client_; 88 Client* client_;
89 89
90 std::unique_ptr<cc::SurfaceFactory> surface_factory_; 90 std::unique_ptr<cc::SurfaceFactory> surface_factory_;
91 91
92 struct FrameData { 92 struct FrameData {
93 FrameData(); 93 FrameData();
94 ~FrameData(); 94 ~FrameData();
95 95
96 cc::LocalFrameId local_frame_id; 96 cc::LocalSurfaceId local_surface_id;
97 gfx::Size surface_size; 97 gfx::Size surface_size;
98 float top_controls_height; 98 float top_controls_height;
99 float top_controls_shown_ratio; 99 float top_controls_shown_ratio;
100 float bottom_controls_height; 100 float bottom_controls_height;
101 float bottom_controls_shown_ratio; 101 float bottom_controls_shown_ratio;
102 cc::Selection<gfx::SelectionBound> viewport_selection; 102 cc::Selection<gfx::SelectionBound> viewport_selection;
103 bool has_transparent_background; 103 bool has_transparent_background;
104 }; 104 };
105 std::unique_ptr<FrameData> current_frame_; 105 std::unique_ptr<FrameData> current_frame_;
106 106
107 scoped_refptr<cc::SurfaceLayer> content_layer_; 107 scoped_refptr<cc::SurfaceLayer> content_layer_;
108 108
109 scoped_refptr<cc::Layer> background_layer_; 109 scoped_refptr<cc::Layer> background_layer_;
110 110
111 gfx::Size container_size_in_dip_; 111 gfx::Size container_size_in_dip_;
112 112
113 DISALLOW_COPY_AND_ASSIGN(DelegatedFrameHostAndroid); 113 DISALLOW_COPY_AND_ASSIGN(DelegatedFrameHostAndroid);
114 }; 114 };
115 115
116 } // namespace ui 116 } // namespace ui
117 117
118 #endif // UI_ANDROID_DELEGATED_FRAME_HOST_ANDROID_H_ 118 #endif // UI_ANDROID_DELEGATED_FRAME_HOST_ANDROID_H_
OLDNEW
« no previous file with comments | « third_party/WebKit/public/blink_typemaps.gni ('k') | ui/android/delegated_frame_host_android.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698