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

Side by Side Diff: ash/sysui/stub_context_factory.h

Issue 2170053002: Set BrowserCompositorOutputSurface's vsync parameters on mac (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 5 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 ASH_SYSUI_STUB_CONTEXT_FACTORY_H_ 5 #ifndef ASH_SYSUI_STUB_CONTEXT_FACTORY_H_
6 #define ASH_SYSUI_STUB_CONTEXT_FACTORY_H_ 6 #define ASH_SYSUI_STUB_CONTEXT_FACTORY_H_
7 7
8 #include <memory> 8 #include <memory>
9 9
10 #include "base/macros.h" 10 #include "base/macros.h"
(...skipping 27 matching lines...) Expand all
38 gpu::GpuMemoryBufferManager* GetGpuMemoryBufferManager() override; 38 gpu::GpuMemoryBufferManager* GetGpuMemoryBufferManager() override;
39 cc::TaskGraphRunner* GetTaskGraphRunner() override; 39 cc::TaskGraphRunner* GetTaskGraphRunner() override;
40 std::unique_ptr<cc::SurfaceIdAllocator> CreateSurfaceIdAllocator() override; 40 std::unique_ptr<cc::SurfaceIdAllocator> CreateSurfaceIdAllocator() override;
41 cc::SurfaceManager* GetSurfaceManager() override; 41 cc::SurfaceManager* GetSurfaceManager() override;
42 void ResizeDisplay(ui::Compositor* compositor, 42 void ResizeDisplay(ui::Compositor* compositor,
43 const gfx::Size& size) override; 43 const gfx::Size& size) override;
44 void SetDisplayColorSpace(ui::Compositor* compositor, 44 void SetDisplayColorSpace(ui::Compositor* compositor,
45 const gfx::ColorSpace& color_space) override; 45 const gfx::ColorSpace& color_space) override;
46 void SetAuthoritativeVSyncInterval(ui::Compositor* compositor, 46 void SetAuthoritativeVSyncInterval(ui::Compositor* compositor,
47 base::TimeDelta interval) override {} 47 base::TimeDelta interval) override {}
48 void SetDisplayVSyncParameters(ui::Compositor* compositor,
49 base::TimeTicks timebase,
50 base::TimeDelta interval) override {}
48 void SetOutputIsSecure(ui::Compositor* compositor, bool secure) override {} 51 void SetOutputIsSecure(ui::Compositor* compositor, bool secure) override {}
49 void AddObserver(ui::ContextFactoryObserver* observer) override {} 52 void AddObserver(ui::ContextFactoryObserver* observer) override {}
50 void RemoveObserver(ui::ContextFactoryObserver* observer) override {} 53 void RemoveObserver(ui::ContextFactoryObserver* observer) override {}
51 54
52 uint32_t next_surface_id_namespace_; 55 uint32_t next_surface_id_namespace_;
53 std::unique_ptr<cc::SingleThreadTaskGraphRunner> task_graph_runner_; 56 std::unique_ptr<cc::SingleThreadTaskGraphRunner> task_graph_runner_;
54 57
55 DISALLOW_COPY_AND_ASSIGN(StubContextFactory); 58 DISALLOW_COPY_AND_ASSIGN(StubContextFactory);
56 }; 59 };
57 60
58 } // namespace sysui 61 } // namespace sysui
59 } // namespace ash 62 } // namespace ash
60 63
61 #endif // ASH_SYSUI_STUB_CONTEXT_FACTORY_H_ 64 #endif // ASH_SYSUI_STUB_CONTEXT_FACTORY_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698