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

Side by Side Diff: content/browser/renderer_host/compositor_impl_android.h

Issue 1391893003: NOT FOR REVIEW: Aura on Android (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 2 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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 CONTENT_BROWSER_RENDERER_HOST_COMPOSITOR_IMPL_ANDROID_H_ 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_COMPOSITOR_IMPL_ANDROID_H_
6 #define CONTENT_BROWSER_RENDERER_HOST_COMPOSITOR_IMPL_ANDROID_H_ 6 #define CONTENT_BROWSER_RENDERER_HOST_COMPOSITOR_IMPL_ANDROID_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "base/cancelable_callback.h" 9 #include "base/cancelable_callback.h"
10 #include "base/compiler_specific.h" 10 #include "base/compiler_specific.h"
(...skipping 153 matching lines...) Expand 10 before | Expand all | Expand 10 after
164 164
165 gfx::Size size_; 165 gfx::Size size_;
166 bool has_transparent_background_; 166 bool has_transparent_background_;
167 float device_scale_factor_; 167 float device_scale_factor_;
168 168
169 ANativeWindow* window_; 169 ANativeWindow* window_;
170 int surface_id_; 170 int surface_id_;
171 171
172 CompositorClient* client_; 172 CompositorClient* client_;
173 173
174 gfx::NativeWindow root_window_; 174 ui::WindowAndroid* root_window_;
175 175
176 // Used locally to track whether a call to LTH::Composite() did result in 176 // Used locally to track whether a call to LTH::Composite() did result in
177 // a posted SwapBuffers(). 177 // a posted SwapBuffers().
178 bool did_post_swapbuffers_; 178 bool did_post_swapbuffers_;
179 179
180 // Used locally to inhibit ScheduleComposite() during Layout(). 180 // Used locally to inhibit ScheduleComposite() during Layout().
181 bool ignore_schedule_composite_; 181 bool ignore_schedule_composite_;
182 182
183 // Whether we need to composite in general because of any invalidation or 183 // Whether we need to composite in general because of any invalidation or
184 // explicit request. 184 // explicit request.
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
216 base::ObserverList<VSyncObserver, true> observer_list_; 216 base::ObserverList<VSyncObserver, true> observer_list_;
217 217
218 base::WeakPtrFactory<CompositorImpl> weak_factory_; 218 base::WeakPtrFactory<CompositorImpl> weak_factory_;
219 219
220 DISALLOW_COPY_AND_ASSIGN(CompositorImpl); 220 DISALLOW_COPY_AND_ASSIGN(CompositorImpl);
221 }; 221 };
222 222
223 } // namespace content 223 } // namespace content
224 224
225 #endif // CONTENT_BROWSER_RENDERER_HOST_COMPOSITOR_IMPL_ANDROID_H_ 225 #endif // CONTENT_BROWSER_RENDERER_HOST_COMPOSITOR_IMPL_ANDROID_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698