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

Side by Side Diff: ppapi/proxy/ppapi_proxy_test.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_proxy_delegate.h ('k') | ppapi/proxy/ppapi_proxy_test.cc » ('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 #include <map> 5 #include <map>
6 #include <string> 6 #include <string>
7 7
8 #include "base/compiler_specific.h" 8 #include "base/compiler_specific.h"
9 #include "base/memory/ref_counted.h" 9 #include "base/memory/ref_counted.h"
10 #include "base/memory/scoped_ptr.h" 10 #include "base/memory/scoped_ptr.h"
(...skipping 134 matching lines...) Expand 10 before | Expand all | Expand 10 after
145 base::ProcessId remote_pid) override; 145 base::ProcessId remote_pid) override;
146 146
147 // PluginDispatcher::PluginDelegate implementation. 147 // PluginDispatcher::PluginDelegate implementation.
148 std::set<PP_Instance>* GetGloballySeenInstanceIDSet() override; 148 std::set<PP_Instance>* GetGloballySeenInstanceIDSet() override;
149 uint32 Register(PluginDispatcher* plugin_dispatcher) override; 149 uint32 Register(PluginDispatcher* plugin_dispatcher) override;
150 void Unregister(uint32 plugin_dispatcher_id) override; 150 void Unregister(uint32 plugin_dispatcher_id) override;
151 151
152 // PluginProxyDelegate implementation. 152 // PluginProxyDelegate implementation.
153 IPC::Sender* GetBrowserSender() override; 153 IPC::Sender* GetBrowserSender() override;
154 std::string GetUILanguage() override; 154 std::string GetUILanguage() override;
155 void PreCacheFont(const void* logfontw) override; 155 void PreCacheFontForFlash(const void* logfontw) override;
156 void SetActiveURL(const std::string& url) override; 156 void SetActiveURL(const std::string& url) override;
157 PP_Resource CreateBrowserFont( 157 PP_Resource CreateBrowserFont(
158 Connection connection, 158 Connection connection,
159 PP_Instance instance, 159 PP_Instance instance,
160 const PP_BrowserFont_Trusted_Description& desc, 160 const PP_BrowserFont_Trusted_Description& desc,
161 const Preferences& prefs) override; 161 const Preferences& prefs) override;
162 162
163 private: 163 private:
164 base::SingleThreadTaskRunner* ipc_task_runner_; // Weak 164 base::SingleThreadTaskRunner* ipc_task_runner_; // Weak
165 base::WaitableEvent* shutdown_event_; // Weak 165 base::WaitableEvent* shutdown_event_; // Weak
(...skipping 206 matching lines...) Expand 10 before | Expand all | Expand 10 after
372 // EXPECT_VAR_IS_STRING("foo", my_var); 372 // EXPECT_VAR_IS_STRING("foo", my_var);
373 #define EXPECT_VAR_IS_STRING(str, var) { \ 373 #define EXPECT_VAR_IS_STRING(str, var) { \
374 StringVar* sv = StringVar::FromPPVar(var); \ 374 StringVar* sv = StringVar::FromPPVar(var); \
375 EXPECT_TRUE(sv); \ 375 EXPECT_TRUE(sv); \
376 if (sv) \ 376 if (sv) \
377 EXPECT_EQ(str, sv->value()); \ 377 EXPECT_EQ(str, sv->value()); \
378 } 378 }
379 379
380 } // namespace proxy 380 } // namespace proxy
381 } // namespace ppapi 381 } // namespace ppapi
OLDNEW
« no previous file with comments | « ppapi/proxy/plugin_proxy_delegate.h ('k') | ppapi/proxy/ppapi_proxy_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698