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

Unified Diff: ash/sysui/stub_context_factory.h

Issue 2339633002: mash: Port KeyboardUIMus to mojo:ash; remove sysui. (Closed)
Patch Set: Add mash NOTIMPLEMENTED() in AccessibilityManager::UpdateVirtualKeyboardFromPref() Created 4 years, 3 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ash/sysui/shell_delegate_mus.cc ('k') | ash/sysui/stub_context_factory.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/sysui/stub_context_factory.h
diff --git a/ash/sysui/stub_context_factory.h b/ash/sysui/stub_context_factory.h
deleted file mode 100644
index e168604ff42ebd618775016abb3ea0dcd81e3ff8..0000000000000000000000000000000000000000
--- a/ash/sysui/stub_context_factory.h
+++ /dev/null
@@ -1,64 +0,0 @@
-// Copyright 2016 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef ASH_SYSUI_STUB_CONTEXT_FACTORY_H_
-#define ASH_SYSUI_STUB_CONTEXT_FACTORY_H_
-
-#include <memory>
-
-#include "base/macros.h"
-#include "ui/compositor/compositor.h"
-
-namespace cc {
-class SingleThreadTaskGraphRunner;
-}
-
-namespace ash {
-namespace sysui {
-
-class StubContextFactory : public ui::ContextFactory {
- public:
- StubContextFactory();
- ~StubContextFactory() override;
-
- private:
- // ui::ContextFactory implementation.
- void CreateOutputSurface(base::WeakPtr<ui::Compositor> compositor) override;
- std::unique_ptr<ui::Reflector> CreateReflector(
- ui::Compositor* mirrored_compositor,
- ui::Layer* mirroring_layer) override;
- void RemoveReflector(ui::Reflector* reflector) override;
- scoped_refptr<cc::ContextProvider> SharedMainThreadContextProvider() override;
- void RemoveCompositor(ui::Compositor* compositor) override;
- bool DoesCreateTestContexts() override;
- uint32_t GetImageTextureTarget(gfx::BufferFormat format,
- gfx::BufferUsage usage) override;
- cc::SharedBitmapManager* GetSharedBitmapManager() override;
- gpu::GpuMemoryBufferManager* GetGpuMemoryBufferManager() override;
- cc::TaskGraphRunner* GetTaskGraphRunner() override;
- uint32_t AllocateSurfaceClientId() override;
- cc::SurfaceManager* GetSurfaceManager() override;
- void ResizeDisplay(ui::Compositor* compositor,
- const gfx::Size& size) override;
- void SetDisplayColorSpace(ui::Compositor* compositor,
- const gfx::ColorSpace& color_space) override;
- void SetAuthoritativeVSyncInterval(ui::Compositor* compositor,
- base::TimeDelta interval) override {}
- void SetDisplayVSyncParameters(ui::Compositor* compositor,
- base::TimeTicks timebase,
- base::TimeDelta interval) override {}
- void SetOutputIsSecure(ui::Compositor* compositor, bool secure) override {}
- void AddObserver(ui::ContextFactoryObserver* observer) override {}
- void RemoveObserver(ui::ContextFactoryObserver* observer) override {}
-
- uint32_t next_surface_id_namespace_;
- std::unique_ptr<cc::SingleThreadTaskGraphRunner> task_graph_runner_;
-
- DISALLOW_COPY_AND_ASSIGN(StubContextFactory);
-};
-
-} // namespace sysui
-} // namespace ash
-
-#endif // ASH_SYSUI_STUB_CONTEXT_FACTORY_H_
« no previous file with comments | « ash/sysui/shell_delegate_mus.cc ('k') | ash/sysui/stub_context_factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698