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

Side by Side Diff: webkit/plugins/npapi/webplugin.cc

Issue 6012002: Move the NPAPI files from webkit/glue/plugins to webkit/plugins/npapi and put... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 10 years 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 | Annotate | Revision Log
« no previous file with comments | « webkit/plugins/npapi/webplugin.h ('k') | webkit/plugins/npapi/webplugin_2d_device_delegate.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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/plugins/npapi/webplugin.h"
6 6
7 namespace webkit_glue { 7 namespace webkit {
8 namespace npapi {
8 9
9 WebPluginGeometry::WebPluginGeometry() 10 WebPluginGeometry::WebPluginGeometry()
10 : window(gfx::kNullPluginWindow), 11 : window(gfx::kNullPluginWindow),
11 rects_valid(false), 12 rects_valid(false),
12 visible(false) { 13 visible(false) {
13 } 14 }
14 15
15 WebPluginGeometry::~WebPluginGeometry() { 16 WebPluginGeometry::~WebPluginGeometry() {
16 } 17 }
17 18
18 bool WebPluginGeometry::Equals(const WebPluginGeometry& rhs) const { 19 bool WebPluginGeometry::Equals(const WebPluginGeometry& rhs) const {
19 return window == rhs.window && 20 return window == rhs.window &&
20 window_rect == rhs.window_rect && 21 window_rect == rhs.window_rect &&
21 clip_rect == rhs.clip_rect && 22 clip_rect == rhs.clip_rect &&
22 cutout_rects == rhs.cutout_rects && 23 cutout_rects == rhs.cutout_rects &&
23 rects_valid == rhs.rects_valid && 24 rects_valid == rhs.rects_valid &&
24 visible == rhs.visible; 25 visible == rhs.visible;
25 } 26 }
26 27
27 WebPluginDelegate* WebPlugin::delegate() { 28 WebPluginDelegate* WebPlugin::delegate() {
28 return NULL; 29 return NULL;
29 } 30 }
30 31
31 } // namespace webkit_glue 32 } // namespace npapi
33 } // namespace webkit
OLDNEW
« no previous file with comments | « webkit/plugins/npapi/webplugin.h ('k') | webkit/plugins/npapi/webplugin_2d_device_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698