diff options
author | apatrick@chromium.org <apatrick@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-01-15 00:10:09 +0000 |
---|---|---|
committer | apatrick@chromium.org <apatrick@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-01-15 00:10:09 +0000 |
commit | 8e14284ed88d453f7ae280f033fffe7bcd6d8450 (patch) | |
tree | 3d1c5ef57ba393c3782f3095061a948b70f93f3e /webkit/glue/webplugin.cc | |
parent | 573ef318ab6f9116139419745d741765ff4bb910 (diff) | |
download | chromium_src-8e14284ed88d453f7ae280f033fffe7bcd6d8450.zip chromium_src-8e14284ed88d453f7ae280f033fffe7bcd6d8450.tar.gz chromium_src-8e14284ed88d453f7ae280f033fffe7bcd6d8450.tar.bz2 |
Set disabled style on GPU window and plugin intermediate window so mouse messages pass through to the browser window.
TEST=trybots
BUG=none
Review URL: http://codereview.chromium.org/549025
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@36311 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/glue/webplugin.cc')
-rw-r--r-- | webkit/glue/webplugin.cc | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/webkit/glue/webplugin.cc b/webkit/glue/webplugin.cc new file mode 100644 index 0000000..237e60c --- /dev/null +++ b/webkit/glue/webplugin.cc @@ -0,0 +1,23 @@ +// Copyright (c) 2010 The Chromium Authors. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. + +#include "webkit/glue/webplugin.h" + +namespace webkit_glue { + +WebPluginGeometry::WebPluginGeometry() + : window(gfx::kNullPluginWindow), + rects_valid(false), + visible(false) { +} + +bool WebPluginGeometry::Equals(const WebPluginGeometry& rhs) const { + return window == rhs.window && + window_rect == rhs.window_rect && + clip_rect == rhs.clip_rect && + cutout_rects == rhs.cutout_rects && + rects_valid == rhs.rects_valid && + visible == rhs.visible; +} +} // namespace webkit_glue |