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

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: Updated Created 7 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
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 123 matching lines...) Expand 10 before | Expand all | Expand 10 after
134 // Prints the page specified by pageNumber (0-based index) into the supplied canvas. 134 // Prints the page specified by pageNumber (0-based index) into the supplied canvas.
135 bool printPage(int pageNumber, WebCore::GraphicsContext* gc); 135 bool printPage(int pageNumber, WebCore::GraphicsContext* gc);
136 // Ends the print operation. 136 // Ends the print operation.
137 void printEnd(); 137 void printEnd();
138 138
139 // Copy the selected text. 139 // Copy the selected text.
140 void copy(); 140 void copy();
141 141
142 // Pass the edit command to the plugin. 142 // Pass the edit command to the plugin.
143 bool executeEditCommand(const WebString& name); 143 bool executeEditCommand(const WebString& name);
144 bool executeEditCommand(const WebString& name, const WebString& value);
144 145
145 // Resource load events for the plugin's source data: 146 // Resource load events for the plugin's source data:
146 void didReceiveResponse(const WebCore::ResourceResponse&); 147 void didReceiveResponse(const WebCore::ResourceResponse&);
147 void didReceiveData(const char *data, int dataLength); 148 void didReceiveData(const char *data, int dataLength);
148 void didFinishLoading(); 149 void didFinishLoading();
149 void didFailLoading(const WebCore::ResourceError&); 150 void didFailLoading(const WebCore::ResourceError&);
150 151
151 void willDestroyPluginLoadObserver(WebPluginLoadObserver*); 152 void willDestroyPluginLoadObserver(WebPluginLoadObserver*);
152 153
153 ScrollbarGroup* scrollbarGroup(); 154 ScrollbarGroup* scrollbarGroup();
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
190 // scrollbars. 191 // scrollbars.
191 OwnPtr<ScrollbarGroup> m_scrollbarGroup; 192 OwnPtr<ScrollbarGroup> m_scrollbarGroup;
192 193
193 TouchEventRequestType m_touchEventRequestType; 194 TouchEventRequestType m_touchEventRequestType;
194 bool m_wantsWheelEvents; 195 bool m_wantsWheelEvents;
195 }; 196 };
196 197
197 } // namespace WebKit 198 } // namespace WebKit
198 199
199 #endif 200 #endif
OLDNEW
« no previous file with comments | « Source/WebKit/chromium/src/WebFrameImpl.cpp ('k') | Source/WebKit/chromium/src/WebPluginContainerImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698