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

Side by Side Diff: webkit/plugins/ppapi/mock_plugin_delegate.cc

Issue 6625034: Clarify/fix fullscreen semantics, and add GetScreenSize (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix review comments Created 9 years, 9 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/plugins/ppapi/mock_plugin_delegate.h ('k') | webkit/plugins/ppapi/plugin_delegate.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) 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 #include "webkit/plugins/ppapi/mock_plugin_delegate.h" 5 #include "webkit/plugins/ppapi/mock_plugin_delegate.h"
6 6
7 #include "base/message_loop_proxy.h" 7 #include "base/message_loop_proxy.h"
8 #include "ppapi/c/pp_errors.h" 8 #include "ppapi/c/pp_errors.h"
9 9
10 namespace webkit { 10 namespace webkit {
(...skipping 160 matching lines...) Expand 10 before | Expand all | Expand 10 after
171 webkit::ppapi::PPB_Flash_Menu_Impl* menu, 171 webkit::ppapi::PPB_Flash_Menu_Impl* menu,
172 const gfx::Point& position) { 172 const gfx::Point& position) {
173 return PP_ERROR_FAILED; 173 return PP_ERROR_FAILED;
174 } 174 }
175 175
176 FullscreenContainer* MockPluginDelegate::CreateFullscreenContainer( 176 FullscreenContainer* MockPluginDelegate::CreateFullscreenContainer(
177 PluginInstance* instance) { 177 PluginInstance* instance) {
178 return NULL; 178 return NULL;
179 } 179 }
180 180
181 gfx::Size MockPluginDelegate::GetScreenSize() {
182 return gfx::Size(1024, 768);
183 }
184
181 std::string MockPluginDelegate::GetDefaultEncoding() { 185 std::string MockPluginDelegate::GetDefaultEncoding() {
182 return "iso-8859-1"; 186 return "iso-8859-1";
183 } 187 }
184 188
185 void MockPluginDelegate::ZoomLimitsChanged(double minimum_factor, 189 void MockPluginDelegate::ZoomLimitsChanged(double minimum_factor,
186 double maximum_factor) { 190 double maximum_factor) {
187 } 191 }
188 192
189 std::string MockPluginDelegate::ResolveProxy(const GURL& url) { 193 std::string MockPluginDelegate::ResolveProxy(const GURL& url) {
190 return std::string(); 194 return std::string();
(...skipping 10 matching lines...) Expand all
201 205
202 void MockPluginDelegate::HasUnsupportedFeature() { 206 void MockPluginDelegate::HasUnsupportedFeature() {
203 } 207 }
204 208
205 P2PSocketDispatcher* MockPluginDelegate::GetP2PSocketDispatcher() { 209 P2PSocketDispatcher* MockPluginDelegate::GetP2PSocketDispatcher() {
206 return NULL; 210 return NULL;
207 } 211 }
208 212
209 } // namespace ppapi 213 } // namespace ppapi
210 } // namespace webkit 214 } // namespace webkit
OLDNEW
« no previous file with comments | « webkit/plugins/ppapi/mock_plugin_delegate.h ('k') | webkit/plugins/ppapi/plugin_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698