| Index: chromecast/ui/gfx/screen_cast.h
|
| diff --git a/mojo/aura/screen_mojo.h b/chromecast/ui/gfx/screen_cast.h
|
| similarity index 68%
|
| copy from mojo/aura/screen_mojo.h
|
| copy to chromecast/ui/gfx/screen_cast.h
|
| index ad50c1cee71166f6628fb0b70841e84a7bc57000..e9b32f47ea173537b2d70e71a5d5ed320fc7a2b4 100644
|
| --- a/mojo/aura/screen_mojo.h
|
| +++ b/chromecast/ui/gfx/screen_cast.h
|
| @@ -1,9 +1,9 @@
|
| -// Copyright (c) 2014 The Chromium Authors. All rights reserved.
|
| +// 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 MOJO_AURA_SCREEN_MOJO_H_
|
| -#define MOJO_AURA_SCREEN_MOJO_H_
|
| +#ifndef CHROMECAST_UI_GFX_SCREEN_CAST_H_
|
| +#define CHROMECAST_UI_GFX_SCREEN_CAST_H_
|
|
|
| #include "base/compiler_specific.h"
|
| #include "ui/gfx/display.h"
|
| @@ -11,18 +11,16 @@
|
|
|
| namespace gfx {
|
| class Rect;
|
| -class Transform;
|
| -}
|
| +} // namespace gfx
|
|
|
| -namespace mojo {
|
| +namespace chromecast {
|
|
|
| -// A minimal implementation of gfx::Screen for mojo.
|
| -class ScreenMojo : public gfx::Screen {
|
| +// A minimal implementation of gfx::Screen for chromecast.
|
| +class ScreenCast : public gfx::Screen {
|
| public:
|
| - static ScreenMojo* Create();
|
| - virtual ~ScreenMojo();
|
| + static ScreenCast* Create(const gfx::Size& size);
|
| + virtual ~ScreenCast();
|
|
|
| - protected:
|
| // gfx::Screen overrides:
|
| virtual bool IsDIPEnabled() OVERRIDE;
|
| virtual gfx::Point GetCursorScreenPoint() OVERRIDE;
|
| @@ -42,13 +40,13 @@ class ScreenMojo : public gfx::Screen {
|
| virtual void RemoveObserver(gfx::DisplayObserver* observer) OVERRIDE;
|
|
|
| private:
|
| - explicit ScreenMojo(const gfx::Rect& screen_bounds);
|
| + explicit ScreenCast(const gfx::Rect& screen_bounds);
|
|
|
| gfx::Display display_;
|
|
|
| - DISALLOW_COPY_AND_ASSIGN(ScreenMojo);
|
| + DISALLOW_COPY_AND_ASSIGN(ScreenCast);
|
| };
|
|
|
| -} // namespace mojo
|
| +} // namespace chromecast
|
|
|
| -#endif // MOJO_AURA_SCREEN_MOJO_H_
|
| +#endif // CHROMECAST_UI_GFX_SCREEN_CAST_H_
|
|
|