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

Side by Side Diff: webkit/glue/plugins/webplugin_delegate.h

Issue 2794004: Add a font API to Pepper and implement on Linux based on agl's ... (Closed) Base URL: http://src.chromium.org/svn/trunk/src/
Patch Set: '' Created 10 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/npapi_extension_thunk.cc ('k') | no next file » | 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) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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_DELEGATE_H_ 5 #ifndef WEBKIT_GLUE_WEBPLUGIN_DELEGATE_H_
6 #define WEBKIT_GLUE_WEBPLUGIN_DELEGATE_H_ 6 #define WEBKIT_GLUE_WEBPLUGIN_DELEGATE_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 134 matching lines...) Expand 10 before | Expand all | Expand 10 after
145 virtual bool SupportsFind() { return false; } 145 virtual bool SupportsFind() { return false; }
146 virtual void StartFind(const std::string& search_text, 146 virtual void StartFind(const std::string& search_text,
147 bool case_sensitive, 147 bool case_sensitive,
148 int identifier) {} 148 int identifier) {}
149 virtual void SelectFindResult(bool forward) {} 149 virtual void SelectFindResult(bool forward) {}
150 virtual void StopFind() {} 150 virtual void StopFind() {}
151 virtual void NumberOfFindResultsChanged(int total, bool final_result) {} 151 virtual void NumberOfFindResultsChanged(int total, bool final_result) {}
152 virtual void SelectedFindResultChanged(int index) {} 152 virtual void SelectedFindResultChanged(int index) {}
153 virtual NPWidgetExtensions* GetWidgetExtensions() { return NULL; } 153 virtual NPWidgetExtensions* GetWidgetExtensions() { return NULL; }
154 virtual bool SetCursor(NPCursorType type) { return false; } 154 virtual bool SetCursor(NPCursorType type) { return false; }
155 virtual NPFontExtensions* GetFontExtensions() { return NULL; }
155 156
156 // Used for zooming of full page plugins. 0 means reset, while -1 means zoom 157 // Used for zooming of full page plugins. 0 means reset, while -1 means zoom
157 // out and +1 means zoom in. 158 // out and +1 means zoom in.
158 virtual void Zoom(int factor) {} 159 virtual void Zoom(int factor) {}
159 // Copy the selected text. 160 // Copy the selected text.
160 virtual void Copy() {} 161 virtual void Copy() {}
161 }; 162 };
162 163
163 } // namespace webkit_glue 164 } // namespace webkit_glue
164 165
165 #endif // WEBKIT_GLUE_WEBPLUGIN_DELEGATE_H_ 166 #endif // WEBKIT_GLUE_WEBPLUGIN_DELEGATE_H_
OLDNEW
« no previous file with comments | « webkit/glue/plugins/npapi_extension_thunk.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698