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

Side by Side Diff: webkit/glue/webplugin.h

Issue 118359: Don't call NPP_SetWindow before we have the plugin geometry. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 6 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 | Annotate | Revision Log
« no previous file with comments | « webkit/glue/plugins/webplugin_delegate_impl.cc ('k') | webkit/glue/webplugin_impl.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) 2006-2008 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2008 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 #ifndef WEBKIT_GLUE_WEBPLUGIN_H__ 5 #ifndef WEBKIT_GLUE_WEBPLUGIN_H__
6 #define WEBKIT_GLUE_WEBPLUGIN_H__ 6 #define WEBKIT_GLUE_WEBPLUGIN_H__
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 13 matching lines...) Expand all
24 struct NPObject; 24 struct NPObject;
25 25
26 // Describes the new location for a plugin window. 26 // Describes the new location for a plugin window.
27 struct WebPluginGeometry { 27 struct WebPluginGeometry {
28 gfx::NativeView window; 28 gfx::NativeView window;
29 gfx::Rect window_rect; 29 gfx::Rect window_rect;
30 // Clip rect (include) and cutouts (excludes), relative to 30 // Clip rect (include) and cutouts (excludes), relative to
31 // window_rect origin. 31 // window_rect origin.
32 gfx::Rect clip_rect; 32 gfx::Rect clip_rect;
33 std::vector<gfx::Rect> cutout_rects; 33 std::vector<gfx::Rect> cutout_rects;
34 bool rects_valid;
34 bool visible; 35 bool visible;
35 }; 36 };
36 37
37 38
38 enum RoutingStatus { 39 enum RoutingStatus {
39 ROUTED, 40 ROUTED,
40 NOT_ROUTED, 41 NOT_ROUTED,
41 INVALID_URL, 42 INVALID_URL,
42 GENERAL_FAILURE 43 GENERAL_FAILURE
43 }; 44 };
(...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after
140 bool* cancel) = 0; 141 bool* cancel) = 0;
141 virtual void DidReceiveData(const char* buffer, int length, 142 virtual void DidReceiveData(const char* buffer, int length,
142 int data_offset) = 0; 143 int data_offset) = 0;
143 virtual void DidFinishLoading() = 0; 144 virtual void DidFinishLoading() = 0;
144 virtual void DidFail() = 0; 145 virtual void DidFail() = 0;
145 virtual bool IsMultiByteResponseExpected() = 0; 146 virtual bool IsMultiByteResponseExpected() = 0;
146 }; 147 };
147 148
148 149
149 #endif // #ifndef WEBKIT_GLUE_WEBPLUGIN_H__ 150 #endif // #ifndef WEBKIT_GLUE_WEBPLUGIN_H__
OLDNEW
« no previous file with comments | « webkit/glue/plugins/webplugin_delegate_impl.cc ('k') | webkit/glue/webplugin_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698