| Index: ui/ozone/platform/caca/caca_connection.h
|
| diff --git a/ui/ozone/platform/caca/caca_connection.h b/ui/ozone/platform/caca/caca_connection.h
|
| deleted file mode 100644
|
| index 052985e7266d25820ed9e1d681ec60a4e3de6c8f..0000000000000000000000000000000000000000
|
| --- a/ui/ozone/platform/caca/caca_connection.h
|
| +++ /dev/null
|
| @@ -1,51 +0,0 @@
|
| -// Copyright 2014 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 UI_OZONE_PLATFORM_CACA_CACA_CONNECTION_H_
|
| -#define UI_OZONE_PLATFORM_CACA_CACA_CONNECTION_H_
|
| -
|
| -#include <caca.h>
|
| -
|
| -#include "base/macros.h"
|
| -#include "ui/gfx/geometry/size.h"
|
| -#include "ui/ozone/platform/caca/scoped_caca_types.h"
|
| -
|
| -namespace ui {
|
| -
|
| -// Basic initialization of Libcaca. This needs to be shared between SFO and EFO
|
| -// since both need the |display_| to draw and process events respectively.
|
| -// Note, |canvas_| needs to be here since it is needed for creating a
|
| -// |display_|.
|
| -class CacaConnection {
|
| - public:
|
| - CacaConnection();
|
| - ~CacaConnection();
|
| -
|
| - bool Initialize();
|
| -
|
| - // This is the Caca canvas size.
|
| - gfx::Size physical_size() const { return physical_size_; }
|
| - gfx::Size bitmap_size() const { return bitmap_size_; }
|
| - caca_display_t* display() const { return display_.get(); }
|
| -
|
| - private:
|
| - // Sync sizes with libcaca.
|
| - void UpdateDisplaySize();
|
| -
|
| - ScopedCacaCanvas canvas_;
|
| - ScopedCacaDisplay display_;
|
| -
|
| - // Size of the console in characters. This can be changed by setting
|
| - // CACA_GEOMETRY environment variable.
|
| - gfx::Size physical_size_;
|
| -
|
| - // Size of the backing buffer we draw into. Size in pixels.
|
| - gfx::Size bitmap_size_;
|
| -
|
| - DISALLOW_COPY_AND_ASSIGN(CacaConnection);
|
| -};
|
| -
|
| -} // namespace ui
|
| -
|
| -#endif // UI_OZONE_PLATFORM_CACA_CACA_CONNECTION_H_
|
|
|