blob: 800f79d590ee897bab39ad707ce569d48f7d20e0 [file] [log] [blame]
[email protected]4e143892012-03-19 05:20:091// Copyright (c) 2012 The Chromium Authors. All rights reserved.
[email protected]8e142842010-01-15 00:10:092// Use of this source code is governed by a BSD-style license that can be
3// found in the LICENSE file.
4
[email protected]29e2fb42013-07-19 01:13:475#include "content/common/webplugin_geometry.h"
[email protected]8e142842010-01-15 00:10:096
[email protected]29e2fb42013-07-19 01:13:477namespace content {
[email protected]8e142842010-01-15 00:10:098
9WebPluginGeometry::WebPluginGeometry()
10 : window(gfx::kNullPluginWindow),
11 rects_valid(false),
12 visible(false) {
13}
14
vmpstr33895d992016-02-24 20:55:2115WebPluginGeometry::WebPluginGeometry(const WebPluginGeometry& other) = default;
16
[email protected]d4799a32010-09-28 22:54:5817WebPluginGeometry::~WebPluginGeometry() {
18}
19
[email protected]8e142842010-01-15 00:10:0920bool WebPluginGeometry::Equals(const WebPluginGeometry& rhs) const {
21 return window == rhs.window &&
22 window_rect == rhs.window_rect &&
23 clip_rect == rhs.clip_rect &&
24 cutout_rects == rhs.cutout_rects &&
25 rects_valid == rhs.rects_valid &&
26 visible == rhs.visible;
27}
[email protected]7cf40912010-12-09 18:25:0328
[email protected]29e2fb42013-07-19 01:13:4729} // namespace content