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

Unified Diff: ui/gfx/screen_wayland.cc

Issue 10009024: Remove WAYLAND port (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: sync Created 8 years, 8 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 | « ui/gfx/rect.cc ('k') | ui/gfx/surface/accelerated_surface_wayland.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gfx/screen_wayland.cc
diff --git a/ui/gfx/screen_wayland.cc b/ui/gfx/screen_wayland.cc
deleted file mode 100644
index 037cc89d957d366c3174de312f1eb2a32c9a74e2..0000000000000000000000000000000000000000
--- a/ui/gfx/screen_wayland.cc
+++ /dev/null
@@ -1,57 +0,0 @@
-// Copyright (c) 2011 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.
-
-#include "ui/gfx/screen.h"
-
-#include "base/logging.h"
-#include "ui/gfx/gl/gl_surface_egl.h"
-#include "ui/wayland/wayland_display.h"
-#include "ui/wayland/wayland_screen.h"
-
-namespace gfx {
-
-// static
-gfx::Point Screen::GetCursorScreenPoint() {
- NOTIMPLEMENTED();
- return gfx::Point();
-}
-
-gfx::Rect static GetPrimaryMonitorBounds() {
- ui::WaylandDisplay* display = ui::WaylandDisplay::GetDisplay(
- gfx::GLSurfaceEGL::GetNativeDisplay());
- std::list<ui::WaylandScreen*> screens = display->GetScreenList();
-
- return screens.empty() ? gfx::Rect() : screens.front()->GetAllocation();
-}
-
-// static
-gfx::Rect Screen::GetMonitorWorkAreaNearestWindow(gfx::NativeView view) {
- // TODO(dnicoara): use |view|.
- return GetPrimaryMonitorBounds();
-}
-
-// static
-gfx::Rect Screen::GetMonitorAreaNearestWindow(gfx::NativeView view) {
- NOTIMPLEMENTED();
- return gfx::Rect();
-}
-
-// static
-gfx::Rect Screen::GetMonitorWorkAreaNearestPoint(const gfx::Point& point) {
- return GetMonitorAreaNearestPoint(point);
-}
-
-// static
-gfx::Rect Screen::GetMonitorAreaNearestPoint(const gfx::Point& point) {
- NOTIMPLEMENTED();
- return gfx::Rect();
-}
-
-gfx::NativeWindow Screen::GetWindowAtCursorScreenPoint() {
- NOTIMPLEMENTED();
- return NULL;
-}
-
-} // namespace gfx
-
« no previous file with comments | « ui/gfx/rect.cc ('k') | ui/gfx/surface/accelerated_surface_wayland.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698