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

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

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/view_messages.h ('k') | content/common/webplugin_geometry.cc » ('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) 2013 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 #ifndef CONTENT_COMMON_WEBPLUGIN_GEOMETRY_H_
6 #define CONTENT_COMMON_WEBPLUGIN_GEOMETRY_H_
7
8 #include <vector>
9
10 #include "ui/gfx/geometry/rect.h"
11 #include "ui/gfx/native_widget_types.h"
12
13 namespace content {
14
15 // Describes the new location for a plugin window.
16 struct WebPluginGeometry {
17 WebPluginGeometry();
18 WebPluginGeometry(const WebPluginGeometry& other);
19 ~WebPluginGeometry();
20
21 bool Equals(const WebPluginGeometry& rhs) const;
22
23 gfx::Rect window_rect;
24 // Clip rect (include) and cutouts (excludes), relative to
25 // window_rect origin.
26 gfx::Rect clip_rect;
27 std::vector<gfx::Rect> cutout_rects;
28 bool rects_valid;
29 bool visible;
30 };
31
32 } // namespace content
33
34 #endif // CONTENT_COMMON_WEBPLUGIN_GEOMETRY_H_
OLDNEW
« no previous file with comments | « content/common/view_messages.h ('k') | content/common/webplugin_geometry.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698