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

Side by Side Diff: Source/WebKit/chromium/src/WebPluginContainerImpl.h

Issue 15071004: Plumb edit commands to plugins (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Alternative approach that gives plugin chance to override Created 7 years, 7 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
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 122 matching lines...) Expand 10 before | Expand all | Expand 10 after
133 // Prints the page specified by pageNumber (0-based index) into the supplied canvas. 133 // Prints the page specified by pageNumber (0-based index) into the supplied canvas.
134 bool printPage(int pageNumber, WebCore::GraphicsContext* gc); 134 bool printPage(int pageNumber, WebCore::GraphicsContext* gc);
135 // Ends the print operation. 135 // Ends the print operation.
136 void printEnd(); 136 void printEnd();
137 137
138 // Copy the selected text. 138 // Copy the selected text.
139 void copy(); 139 void copy();
140 140
141 // Pass the edit command to the plugin. 141 // Pass the edit command to the plugin.
142 bool executeEditCommand(const WebString& name); 142 bool executeEditCommand(const WebString& name);
143 bool executeEditCommand(const WebString& name, const WebString& value);
143 144
144 // Resource load events for the plugin's source data: 145 // Resource load events for the plugin's source data:
145 void didReceiveResponse(const WebCore::ResourceResponse&); 146 void didReceiveResponse(const WebCore::ResourceResponse&);
146 void didReceiveData(const char *data, int dataLength); 147 void didReceiveData(const char *data, int dataLength);
147 void didFinishLoading(); 148 void didFinishLoading();
148 void didFailLoading(const WebCore::ResourceError&); 149 void didFailLoading(const WebCore::ResourceError&);
149 150
150 void willDestroyPluginLoadObserver(WebPluginLoadObserver*); 151 void willDestroyPluginLoadObserver(WebPluginLoadObserver*);
151 152
152 ScrollbarGroup* scrollbarGroup(); 153 ScrollbarGroup* scrollbarGroup();
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
189 // scrollbars. 190 // scrollbars.
190 OwnPtr<ScrollbarGroup> m_scrollbarGroup; 191 OwnPtr<ScrollbarGroup> m_scrollbarGroup;
191 192
192 TouchEventRequestType m_touchEventRequestType; 193 TouchEventRequestType m_touchEventRequestType;
193 bool m_wantsWheelEvents; 194 bool m_wantsWheelEvents;
194 }; 195 };
195 196
196 } // namespace WebKit 197 } // namespace WebKit
197 198
198 #endif 199 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698