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

Side by Side Diff: Source/web/WebPluginContainerImpl.h

Issue 102963005: Add supportsInputMethod() interface for WebPlugin. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: support plugindocument. Created 7 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
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2009 Google Inc. All rights reserved. 2 * Copyright (C) 2009 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
70 static PassRefPtr<WebPluginContainerImpl> create(WebCore::HTMLPlugInElement* element, WebPlugin* webPlugin) 70 static PassRefPtr<WebPluginContainerImpl> create(WebCore::HTMLPlugInElement* element, WebPlugin* webPlugin)
71 { 71 {
72 return adoptRef(new WebPluginContainerImpl(element, webPlugin)); 72 return adoptRef(new WebPluginContainerImpl(element, webPlugin));
73 } 73 }
74 74
75 // PluginView methods 75 // PluginView methods
76 virtual WebLayer* platformLayer() const OVERRIDE; 76 virtual WebLayer* platformLayer() const OVERRIDE;
77 virtual NPObject* scriptableObject() OVERRIDE; 77 virtual NPObject* scriptableObject() OVERRIDE;
78 virtual bool getFormValue(String&) OVERRIDE; 78 virtual bool getFormValue(String&) OVERRIDE;
79 virtual bool supportsKeyboardFocus() const OVERRIDE; 79 virtual bool supportsKeyboardFocus() const OVERRIDE;
80 virtual bool supportsInputMethod() const OVERRIDE;
80 virtual bool canProcessDrag() const OVERRIDE; 81 virtual bool canProcessDrag() const OVERRIDE;
81 virtual bool wantsWheelEvents() OVERRIDE; 82 virtual bool wantsWheelEvents() OVERRIDE;
82 83
83 // Widget methods 84 // Widget methods
84 virtual void setFrameRect(const WebCore::IntRect&); 85 virtual void setFrameRect(const WebCore::IntRect&);
85 virtual void paint(WebCore::GraphicsContext*, const WebCore::IntRect&); 86 virtual void paint(WebCore::GraphicsContext*, const WebCore::IntRect&);
86 virtual void invalidateRect(const WebCore::IntRect&); 87 virtual void invalidateRect(const WebCore::IntRect&);
87 virtual void setFocus(bool); 88 virtual void setFocus(bool);
88 virtual void show(); 89 virtual void show();
89 virtual void hide(); 90 virtual void hide();
(...skipping 122 matching lines...) Expand 10 before | Expand all | Expand 10 after
212 // WebPluginContainerImpl is the only subclass of WebPluginContainer. 213 // WebPluginContainerImpl is the only subclass of WebPluginContainer.
213 return static_cast<WebPluginContainerImpl*>(container); 214 return static_cast<WebPluginContainerImpl*>(container);
214 } 215 }
215 216
216 // This will catch anyone doing an unnecessary cast. 217 // This will catch anyone doing an unnecessary cast.
217 void toPluginContainerImpl(const WebPluginContainerImpl*); 218 void toPluginContainerImpl(const WebPluginContainerImpl*);
218 219
219 } // namespace blink 220 } // namespace blink
220 221
221 #endif 222 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698