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

Side by Side Diff: content/renderer/pepper_plugin_delegate_impl.h

Issue 7053022: Use the WebKit default fonts when specifying generic font families. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 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 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 CONTENT_RENDERER_PEPPER_PLUGIN_DELEGATE_IMPL_H_ 5 #ifndef CONTENT_RENDERER_PEPPER_PLUGIN_DELEGATE_IMPL_H_
6 #define CONTENT_RENDERER_PEPPER_PLUGIN_DELEGATE_IMPL_H_ 6 #define CONTENT_RENDERER_PEPPER_PLUGIN_DELEGATE_IMPL_H_
7 #pragma once 7 #pragma once
8 8
9 #include <set> 9 #include <set>
10 #include <map> 10 #include <map>
(...skipping 255 matching lines...) Expand 10 before | Expand all | Expand 10 after
266 virtual void DidStartLoading(); 266 virtual void DidStartLoading();
267 virtual void DidStopLoading(); 267 virtual void DidStopLoading();
268 virtual void SetContentRestriction(int restrictions); 268 virtual void SetContentRestriction(int restrictions);
269 virtual void HasUnsupportedFeature(); 269 virtual void HasUnsupportedFeature();
270 virtual void SaveURLAs(const GURL& url); 270 virtual void SaveURLAs(const GURL& url);
271 virtual P2PSocketDispatcher* GetP2PSocketDispatcher(); 271 virtual P2PSocketDispatcher* GetP2PSocketDispatcher();
272 virtual webkit_glue::P2PTransport* CreateP2PTransport(); 272 virtual webkit_glue::P2PTransport* CreateP2PTransport();
273 virtual double GetLocalTimeZoneOffset(base::Time t); 273 virtual double GetLocalTimeZoneOffset(base::Time t);
274 virtual std::string GetFlashCommandLineArgs(); 274 virtual std::string GetFlashCommandLineArgs();
275 virtual base::SharedMemory* CreateAnonymousSharedMemory(uint32_t size); 275 virtual base::SharedMemory* CreateAnonymousSharedMemory(uint32_t size);
276 virtual ::ppapi::Preferences GetPreferences();
276 277
277 private: 278 private:
278 // Asynchronously attempts to create a PPAPI broker for the given plugin. 279 // Asynchronously attempts to create a PPAPI broker for the given plugin.
279 scoped_refptr<PpapiBrokerImpl> CreatePpapiBroker( 280 scoped_refptr<PpapiBrokerImpl> CreatePpapiBroker(
280 webkit::ppapi::PluginModule* plugin_module); 281 webkit::ppapi::PluginModule* plugin_module);
281 282
282 // Pointer to the RenderView that owns us. 283 // Pointer to the RenderView that owns us.
283 RenderView* render_view_; 284 RenderView* render_view_;
284 285
285 std::set<webkit::ppapi::PluginInstance*> active_instances_; 286 std::set<webkit::ppapi::PluginInstance*> active_instances_;
(...skipping 13 matching lines...) Expand all
299 IDMap<scoped_refptr<webkit::ppapi::PPB_Flash_Menu_Impl>, 300 IDMap<scoped_refptr<webkit::ppapi::PPB_Flash_Menu_Impl>,
300 IDMapOwnPointer> pending_context_menus_; 301 IDMapOwnPointer> pending_context_menus_;
301 302
302 typedef IDMap<scoped_refptr<PpapiBrokerImpl>, IDMapOwnPointer> BrokerMap; 303 typedef IDMap<scoped_refptr<PpapiBrokerImpl>, IDMapOwnPointer> BrokerMap;
303 BrokerMap pending_connect_broker_; 304 BrokerMap pending_connect_broker_;
304 305
305 DISALLOW_COPY_AND_ASSIGN(PepperPluginDelegateImpl); 306 DISALLOW_COPY_AND_ASSIGN(PepperPluginDelegateImpl);
306 }; 307 };
307 308
308 #endif // CONTENT_RENDERER_PEPPER_PLUGIN_DELEGATE_IMPL_H_ 309 #endif // CONTENT_RENDERER_PEPPER_PLUGIN_DELEGATE_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698