OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 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 | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "webkit/glue/plugins/webplugin.h" | 5 #include "webkit/glue/plugins/webplugin.h" |
6 | 6 |
7 namespace webkit_glue { | 7 namespace webkit_glue { |
8 | 8 |
9 WebPluginGeometry::WebPluginGeometry() | 9 WebPluginGeometry::WebPluginGeometry() |
10 : window(gfx::kNullPluginWindow), | 10 : window(gfx::kNullPluginWindow), |
11 rects_valid(false), | 11 rects_valid(false), |
12 visible(false) { | 12 visible(false) { |
13 } | 13 } |
14 | 14 |
15 WebPluginGeometry::~WebPluginGeometry() { | 15 WebPluginGeometry::~WebPluginGeometry() { |
16 } | 16 } |
17 | 17 |
18 bool WebPluginGeometry::Equals(const WebPluginGeometry& rhs) const { | 18 bool WebPluginGeometry::Equals(const WebPluginGeometry& rhs) const { |
19 return window == rhs.window && | 19 return window == rhs.window && |
20 window_rect == rhs.window_rect && | 20 window_rect == rhs.window_rect && |
21 clip_rect == rhs.clip_rect && | 21 clip_rect == rhs.clip_rect && |
22 cutout_rects == rhs.cutout_rects && | 22 cutout_rects == rhs.cutout_rects && |
23 rects_valid == rhs.rects_valid && | 23 rects_valid == rhs.rects_valid && |
24 visible == rhs.visible; | 24 visible == rhs.visible; |
25 } | 25 } |
| 26 |
| 27 WebPluginDelegate* WebPlugin::delegate() { |
| 28 return NULL; |
| 29 } |
| 30 |
26 } // namespace webkit_glue | 31 } // namespace webkit_glue |
OLD | NEW |