Pin Chrome's shortcut to the Win10 Start menu on install and OS upgrade.
[chromium-blink-merge.git] / content / common / webplugin_geometry.cc
blobff290d200010ddeb251b55144abce9a8a93caf9b
1 // Copyright (c) 2012 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.
5 #include "content/common/webplugin_geometry.h"
7 namespace content {
9 WebPluginGeometry::WebPluginGeometry()
10 : window(gfx::kNullPluginWindow),
11 rects_valid(false),
12 visible(false) {
15 WebPluginGeometry::~WebPluginGeometry() {
18 bool WebPluginGeometry::Equals(const WebPluginGeometry& rhs) const {
19 return window == rhs.window &&
20 window_rect == rhs.window_rect &&
21 clip_rect == rhs.clip_rect &&
22 cutout_rects == rhs.cutout_rects &&
23 rects_valid == rhs.rects_valid &&
24 visible == rhs.visible;
27 } // namespace content