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

Side by Side Diff: ppapi/proxy/plugin_proxy_delegate.h

Issue 1216013005: Fixed all overloaded virtual methods on Windows. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Finish fixes. Created 5 years, 5 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
« no previous file with comments | « ppapi/proxy/plugin_globals.cc ('k') | ppapi/proxy/ppapi_proxy_test.h » ('j') | 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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 PPAPI_PROXY_PLUGIN_PROXY_DELEGATE_H_ 5 #ifndef PPAPI_PROXY_PLUGIN_PROXY_DELEGATE_H_
6 #define PPAPI_PROXY_PLUGIN_PROXY_DELEGATE_H_ 6 #define PPAPI_PROXY_PLUGIN_PROXY_DELEGATE_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 namespace IPC { 10 namespace IPC {
(...skipping 12 matching lines...) Expand all
23 // proxy lock is not acquired. Please see the implementation of 23 // proxy lock is not acquired. Please see the implementation of
24 // PluginGlobals::BrowserSender. 24 // PluginGlobals::BrowserSender.
25 virtual IPC::Sender* GetBrowserSender() = 0; 25 virtual IPC::Sender* GetBrowserSender() = 0;
26 26
27 // Returns the language code of the current UI language. 27 // Returns the language code of the current UI language.
28 virtual std::string GetUILanguage() = 0; 28 virtual std::string GetUILanguage() = 0;
29 29
30 // Performs Windows-specific font caching in the browser for the given 30 // Performs Windows-specific font caching in the browser for the given
31 // LOGFONTW. Does nothing on non-Windows platforms. 31 // LOGFONTW. Does nothing on non-Windows platforms.
32 // Note: This method must be thread-safe. 32 // Note: This method must be thread-safe.
33 virtual void PreCacheFont(const void* logfontw) = 0; 33 virtual void PreCacheFontForFlash(const void* logfontw) = 0;
34 34
35 // Sets the active url which is reported by breakpad. 35 // Sets the active url which is reported by breakpad.
36 virtual void SetActiveURL(const std::string& url) = 0; 36 virtual void SetActiveURL(const std::string& url) = 0;
37 37
38 // Validates the font description, and uses it to create a 38 // Validates the font description, and uses it to create a
39 // BrowserFontResource_Trusted resource. 39 // BrowserFontResource_Trusted resource.
40 virtual PP_Resource CreateBrowserFont( 40 virtual PP_Resource CreateBrowserFont(
41 Connection connection, 41 Connection connection,
42 PP_Instance instance, 42 PP_Instance instance,
43 const PP_BrowserFont_Trusted_Description& desc, 43 const PP_BrowserFont_Trusted_Description& desc,
44 const Preferences& prefs) = 0; 44 const Preferences& prefs) = 0;
45 }; 45 };
46 46
47 } // namespace proxy 47 } // namespace proxy
48 } // namespace ppapi 48 } // namespace ppapi
49 49
50 #endif // PPAPI_PROXY_PLUGIN_PROXY_DELEGATE_H_ 50 #endif // PPAPI_PROXY_PLUGIN_PROXY_DELEGATE_H_
OLDNEW
« no previous file with comments | « ppapi/proxy/plugin_globals.cc ('k') | ppapi/proxy/ppapi_proxy_test.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698