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

Side by Side Diff: content/common/webplugin_geometry.cc

Issue 1862513003: Remove NPAPI from browser and utility (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 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 unified diff | Download patch
« no previous file with comments | « content/common/webplugin_geometry.h ('k') | content/content_browser.gypi » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
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.
4
5 #include "content/common/webplugin_geometry.h"
6
7 namespace content {
8
9 WebPluginGeometry::WebPluginGeometry()
10 : rects_valid(false),
11 visible(false) {
12 }
13
14 WebPluginGeometry::WebPluginGeometry(const WebPluginGeometry& other) = default;
15
16 WebPluginGeometry::~WebPluginGeometry() {
17 }
18
19 bool WebPluginGeometry::Equals(const WebPluginGeometry& rhs) const {
20 return 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;
25 }
26
27 } // namespace content
OLDNEW
« no previous file with comments | « content/common/webplugin_geometry.h ('k') | content/content_browser.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698