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

Side by Side Diff: chrome/renderer/webplugin_delegate_pepper.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
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 CHROME_RENDERER_WEBPLUGIN_DELEGATE_PEPPER_H_ 5 #ifndef CHROME_RENDERER_WEBPLUGIN_DELEGATE_PEPPER_H_
6 #define CHROME_RENDERER_WEBPLUGIN_DELEGATE_PEPPER_H_ 6 #define CHROME_RENDERER_WEBPLUGIN_DELEGATE_PEPPER_H_
7 7
8 #include "build/build_config.h" 8 #include "build/build_config.h"
9 9
10 #include <map> 10 #include <map>
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after
87 virtual void SelectFindResult(bool forward); 87 virtual void SelectFindResult(bool forward);
88 virtual void StopFind(); 88 virtual void StopFind();
89 virtual void NumberOfFindResultsChanged(int total, bool final_result); 89 virtual void NumberOfFindResultsChanged(int total, bool final_result);
90 virtual void SelectedFindResultChanged(int index); 90 virtual void SelectedFindResultChanged(int index);
91 virtual bool ChooseFile(const char* mime_types, 91 virtual bool ChooseFile(const char* mime_types,
92 int mode, 92 int mode,
93 NPChooseFileCallback callback, 93 NPChooseFileCallback callback,
94 void* user_data); 94 void* user_data);
95 virtual NPWidgetExtensions* GetWidgetExtensions(); 95 virtual NPWidgetExtensions* GetWidgetExtensions();
96 virtual bool SetCursor(NPCursorType type); 96 virtual bool SetCursor(NPCursorType type);
97 virtual NPFontExtensions* GetFontExtensions();
97 virtual void Zoom(int factor); 98 virtual void Zoom(int factor);
98 virtual void Copy(); 99 virtual void Copy();
99 100
100 // WebPlugin2DDeviceDelegate implementation. 101 // WebPlugin2DDeviceDelegate implementation.
101 virtual NPError Device2DQueryCapability(int32 capability, int32* value); 102 virtual NPError Device2DQueryCapability(int32 capability, int32* value);
102 virtual NPError Device2DQueryConfig(const NPDeviceContext2DConfig* request, 103 virtual NPError Device2DQueryConfig(const NPDeviceContext2DConfig* request,
103 NPDeviceContext2DConfig* obtain); 104 NPDeviceContext2DConfig* obtain);
104 virtual NPError Device2DInitializeContext( 105 virtual NPError Device2DInitializeContext(
105 const NPDeviceContext2DConfig* config, 106 const NPDeviceContext2DConfig* config,
106 NPDeviceContext2D* context); 107 NPDeviceContext2D* context);
(...skipping 206 matching lines...) Expand 10 before | Expand all | Expand 10 after
313 // pointer to the callback specified by the plugin. Will be NULL otherwise. 314 // pointer to the callback specified by the plugin. Will be NULL otherwise.
314 NPChooseFileCallback current_choose_file_callback_; 315 NPChooseFileCallback current_choose_file_callback_;
315 void* current_choose_file_user_data_; 316 void* current_choose_file_user_data_;
316 317
317 scoped_ptr<WebKit::WebCursorInfo> cursor_; 318 scoped_ptr<WebKit::WebCursorInfo> cursor_;
318 319
319 DISALLOW_COPY_AND_ASSIGN(WebPluginDelegatePepper); 320 DISALLOW_COPY_AND_ASSIGN(WebPluginDelegatePepper);
320 }; 321 };
321 322
322 #endif // CHROME_RENDERER_WEBPLUGIN_DELEGATE_PEPPER_H_ 323 #endif // CHROME_RENDERER_WEBPLUGIN_DELEGATE_PEPPER_H_
OLDNEW
« no previous file with comments | « chrome/renderer/renderer_sandbox_support_linux.cc ('k') | chrome/renderer/webplugin_delegate_pepper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698