Remove unused parameter.
[chromium-blink-merge.git] / ui / ozone / demo / software_renderer.h
blob710bc110edb483bf784507dcd75549e67473fe80
1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #ifndef UI_OZONE_DEMO_SOFTWARE_RENDERER_H_
6 #define UI_OZONE_DEMO_SOFTWARE_RENDERER_H_
8 #include "base/macros.h"
9 #include "base/memory/scoped_ptr.h"
10 #include "ui/ozone/demo/renderer_base.h"
12 namespace ui {
14 class SurfaceOzoneCanvas;
16 class SoftwareRenderer : public RendererBase {
17 public:
18 SoftwareRenderer(gfx::AcceleratedWidget widget, const gfx::Size& size);
19 ~SoftwareRenderer() override;
21 // Renderer:
22 bool Initialize() override;
23 void RenderFrame() override;
25 private:
26 scoped_ptr<SurfaceOzoneCanvas> software_surface_;
28 DISALLOW_COPY_AND_ASSIGN(SoftwareRenderer);
31 } // namespace ui
33 #endif // UI_OZONE_DEMO_SOFTWARE_RENDERER_H_