OLD | NEW |
(Empty) | |
| 1 // Copyright (c) 2010 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. |
| 4 |
| 5 #include "webkit/glue/webplugin.h" |
| 6 |
| 7 namespace webkit_glue { |
| 8 |
| 9 WebPluginGeometry::WebPluginGeometry() |
| 10 : window(gfx::kNullPluginWindow), |
| 11 rects_valid(false), |
| 12 visible(false) { |
| 13 } |
| 14 |
| 15 bool WebPluginGeometry::Equals(const WebPluginGeometry& rhs) const { |
| 16 return window == rhs.window && |
| 17 window_rect == rhs.window_rect && |
| 18 clip_rect == rhs.clip_rect && |
| 19 cutout_rects == rhs.cutout_rects && |
| 20 rects_valid == rhs.rects_valid && |
| 21 visible == rhs.visible; |
| 22 } |
| 23 } // namespace webkit_glue |
OLD | NEW |