diff options
author | oshima@chromium.org <oshima@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-04-07 00:33:04 +0000 |
---|---|---|
committer | oshima@chromium.org <oshima@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-04-07 00:33:04 +0000 |
commit | 328ce55f74ce4316a4fbb1286be14bf603e841e6 (patch) | |
tree | dda8a6ff77f9828dad816d6b02a21e65605f9f1f /ui/gfx/rect.h | |
parent | 9d7a49d744c7431eded94842d9bab9f7eae7c7b6 (diff) | |
download | chromium_src-328ce55f74ce4316a4fbb1286be14bf603e841e6.zip chromium_src-328ce55f74ce4316a4fbb1286be14bf603e841e6.tar.gz chromium_src-328ce55f74ce4316a4fbb1286be14bf603e841e6.tar.bz2 |
Remove WAYLAND port
Also removed skia/ext/canvas_paint_x.h which is not in use.
BUG=none
TEST=none
Review URL: https://chromiumcodereview.appspot.com/10009024
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@131219 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ui/gfx/rect.h')
-rw-r--r-- | ui/gfx/rect.h | 15 |
1 files changed, 1 insertions, 14 deletions
diff --git a/ui/gfx/rect.h b/ui/gfx/rect.h index 1136471..4343825 100644 --- a/ui/gfx/rect.h +++ b/ui/gfx/rect.h @@ -1,4 +1,4 @@ -// Copyright (c) 2011 The Chromium Authors. All rights reserved. +// Copyright (c) 2012 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. @@ -24,10 +24,6 @@ typedef struct tagRECT RECT; typedef struct _GdkRectangle GdkRectangle; #endif -#if defined(USE_WAYLAND) -typedef struct _cairo_rectangle_int cairo_rectangle_int_t; -#endif - namespace gfx { class Insets; @@ -44,9 +40,6 @@ class UI_EXPORT Rect { #elif defined(TOOLKIT_GTK) explicit Rect(const GdkRectangle& r); #endif -#if defined(USE_WAYLAND) - explicit Rect(const cairo_rectangle_int_t& r); -#endif explicit Rect(const gfx::Size& size); Rect(const gfx::Point& origin, const gfx::Size& size); @@ -59,9 +52,6 @@ class UI_EXPORT Rect { #elif defined(TOOLKIT_GTK) Rect& operator=(const GdkRectangle& r); #endif -#if defined(USE_WAYLAND) - Rect& operator=(const cairo_rectangle_int_t& r); -#endif int x() const { return origin_.x(); } void set_x(int x) { origin_.set_x(x); } @@ -129,9 +119,6 @@ class UI_EXPORT Rect { // Construct an equivalent CoreGraphics object. CGRect ToCGRect() const; #endif -#if defined(USE_WAYLAND) - cairo_rectangle_int_t ToCairoRectangle() const; -#endif // Returns true if the point identified by point_x and point_y falls inside // this rectangle. The point (x, y) is inside the rectangle, but the |