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

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

Issue 119344: Fix regression from my previous change. Looks like we need to call SetWindow... (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 | « no previous file | webkit/glue/webplugin_impl.cc » ('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_IMPL_H_ 5 #ifndef WEBKIT_GLUE_WEBPLUGIN_IMPL_H_
6 #define WEBKIT_GLUE_WEBPLUGIN_IMPL_H_ 6 #define WEBKIT_GLUE_WEBPLUGIN_IMPL_H_
7 7
8 #include <string> 8 #include <string>
9 #include <map> 9 #include <map>
10 #include <vector> 10 #include <vector>
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
59 // Widget methods: 59 // Widget methods:
60 virtual void setFrameRect(const WebCore::IntRect& rect); 60 virtual void setFrameRect(const WebCore::IntRect& rect);
61 virtual void paint(WebCore::GraphicsContext*, const WebCore::IntRect& rect); 61 virtual void paint(WebCore::GraphicsContext*, const WebCore::IntRect& rect);
62 virtual void invalidateRect(const WebCore::IntRect&); 62 virtual void invalidateRect(const WebCore::IntRect&);
63 virtual void setFocus(); 63 virtual void setFocus();
64 virtual void show(); 64 virtual void show();
65 virtual void hide(); 65 virtual void hide();
66 virtual void handleEvent(WebCore::Event* event); 66 virtual void handleEvent(WebCore::Event* event);
67 virtual void frameRectsChanged(); 67 virtual void frameRectsChanged();
68 virtual void setParentVisible(bool visible); 68 virtual void setParentVisible(bool visible);
69 virtual void setParent(WebCore::ScrollView* view);
69 70
70 #if USE(JSC) 71 #if USE(JSC)
71 virtual bool isPluginView() const; 72 virtual bool isPluginView() const;
72 #endif 73 #endif
73 74
74 // Returns window-relative rectangles that should clip this widget. 75 // Returns window-relative rectangles that should clip this widget.
75 // Only rects that intersect the given bounds are relevant. 76 // Only rects that intersect the given bounds are relevant.
76 // Use this to implement iframe shim behavior. 77 // Use this to implement iframe shim behavior.
77 // 78 //
78 // TODO(tulrich): add this method to WebCore/platform/Widget.h so it 79 // TODO(tulrich): add this method to WebCore/platform/Widget.h so it
(...skipping 279 matching lines...) Expand 10 before | Expand all | Expand 10 after
358 // Holds the list of argument names passed to the plugin. 359 // Holds the list of argument names passed to the plugin.
359 std::vector<std::string> arg_names_; 360 std::vector<std::string> arg_names_;
360 361
361 // Holds the list of argument values passed to the plugin. 362 // Holds the list of argument values passed to the plugin.
362 std::vector<std::string> arg_values_; 363 std::vector<std::string> arg_values_;
363 364
364 DISALLOW_COPY_AND_ASSIGN(WebPluginImpl); 365 DISALLOW_COPY_AND_ASSIGN(WebPluginImpl);
365 }; 366 };
366 367
367 #endif // #ifndef WEBKIT_GLUE_WEBPLUGIN_IMPL_H_ 368 #endif // #ifndef WEBKIT_GLUE_WEBPLUGIN_IMPL_H_
OLDNEW
« no previous file with comments | « no previous file | webkit/glue/webplugin_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698