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

Side by Side Diff: ui/compositor/compositor.h

Issue 900063002: Fixes for two different HUD issues related to win32k lockdown (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: i am a plumber Created 5 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 (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 UI_COMPOSITOR_COMPOSITOR_H_ 5 #ifndef UI_COMPOSITOR_COMPOSITOR_H_
6 #define UI_COMPOSITOR_COMPOSITOR_H_ 6 #define UI_COMPOSITOR_COMPOSITOR_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/containers/hash_tables.h" 10 #include "base/containers/hash_tables.h"
(...skipping 242 matching lines...) Expand 10 before | Expand all | Expand 10 after
253 float page_scale, 253 float page_scale,
254 float top_controls_delta) override {} 254 float top_controls_delta) override {}
255 void RequestNewOutputSurface() override; 255 void RequestNewOutputSurface() override;
256 void DidInitializeOutputSurface() override; 256 void DidInitializeOutputSurface() override;
257 void DidFailToInitializeOutputSurface() override; 257 void DidFailToInitializeOutputSurface() override;
258 void WillCommit() override {} 258 void WillCommit() override {}
259 void DidCommit() override; 259 void DidCommit() override;
260 void DidCommitAndDrawFrame() override; 260 void DidCommitAndDrawFrame() override;
261 void DidCompleteSwapBuffers() override; 261 void DidCompleteSwapBuffers() override;
262 void DidCompletePageScaleAnimation() override {} 262 void DidCompletePageScaleAnimation() override {}
263 SkTypeface* GetHudTypeface() override;
263 264
264 // cc::LayerTreeHostSingleThreadClient implementation. 265 // cc::LayerTreeHostSingleThreadClient implementation.
265 void DidPostSwapBuffers() override; 266 void DidPostSwapBuffers() override;
266 void DidAbortSwapBuffers() override; 267 void DidAbortSwapBuffers() override;
267 268
268 bool IsLocked() { return compositor_lock_ != NULL; } 269 bool IsLocked() { return compositor_lock_ != NULL; }
269 270
270 const cc::LayerTreeDebugState& GetLayerTreeDebugState() const; 271 const cc::LayerTreeDebugState& GetLayerTreeDebugState() const;
271 void SetLayerTreeDebugState(const cc::LayerTreeDebugState& debug_state); 272 void SetLayerTreeDebugState(const cc::LayerTreeDebugState& debug_state);
272 const cc::RendererSettings& GetRendererSettings() const; 273 const cc::RendererSettings& GetRendererSettings() const;
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
330 LayerAnimatorCollection layer_animator_collection_; 331 LayerAnimatorCollection layer_animator_collection_;
331 332
332 base::WeakPtrFactory<Compositor> weak_ptr_factory_; 333 base::WeakPtrFactory<Compositor> weak_ptr_factory_;
333 334
334 DISALLOW_COPY_AND_ASSIGN(Compositor); 335 DISALLOW_COPY_AND_ASSIGN(Compositor);
335 }; 336 };
336 337
337 } // namespace ui 338 } // namespace ui
338 339
339 #endif // UI_COMPOSITOR_COMPOSITOR_H_ 340 #endif // UI_COMPOSITOR_COMPOSITOR_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698