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

Side by Side Diff: webkit/plugins/ppapi/ppb_flash_impl.h

Issue 11421066: Refactor PPB_Flash_Fullscreen to the new resource model. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 8 years 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) 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 WEBKIT_PLUGINS_PPAPI_PPB_FLASH_IMPL_H_ 5 #ifndef WEBKIT_PLUGINS_PPAPI_PPB_FLASH_IMPL_H_
6 #define WEBKIT_PLUGINS_PPAPI_PPB_FLASH_IMPL_H_ 6 #define WEBKIT_PLUGINS_PPAPI_PPB_FLASH_IMPL_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "base/compiler_specific.h" 9 #include "base/compiler_specific.h"
10 #include "base/memory/scoped_ptr.h" 10 #include "base/memory/scoped_ptr.h"
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after
80 PP_DirContents_Dev** contents) OVERRIDE; 80 PP_DirContents_Dev** contents) OVERRIDE;
81 virtual int32_t CreateTemporaryFile(PP_Instance instance, 81 virtual int32_t CreateTemporaryFile(PP_Instance instance,
82 PP_FileHandle* file) OVERRIDE; 82 PP_FileHandle* file) OVERRIDE;
83 virtual int32_t OpenFileRef(PP_Instance instance, 83 virtual int32_t OpenFileRef(PP_Instance instance,
84 PP_Resource file_ref, 84 PP_Resource file_ref,
85 int32_t mode, 85 int32_t mode,
86 PP_FileHandle* file) OVERRIDE; 86 PP_FileHandle* file) OVERRIDE;
87 virtual int32_t QueryFileRef(PP_Instance instance, 87 virtual int32_t QueryFileRef(PP_Instance instance,
88 PP_Resource file_ref, 88 PP_Resource file_ref,
89 PP_FileInfo* info) OVERRIDE; 89 PP_FileInfo* info) OVERRIDE;
90 virtual PP_Bool FlashIsFullscreen(PP_Instance instance) OVERRIDE;
91 virtual PP_Bool FlashSetFullscreen(PP_Instance instance,
92 PP_Bool fullscreen) OVERRIDE;
93 virtual PP_Bool FlashGetScreenSize(PP_Instance instance,
94 PP_Size* size) OVERRIDE;
95 90
96 private: 91 private:
97 PluginInstance* instance_; 92 PluginInstance* instance_;
98 93
99 DISALLOW_COPY_AND_ASSIGN(PPB_Flash_Impl); 94 DISALLOW_COPY_AND_ASSIGN(PPB_Flash_Impl);
100 }; 95 };
101 96
102 } // namespace ppapi 97 } // namespace ppapi
103 } // namespace webkit 98 } // namespace webkit
104 99
105 #endif // WEBKIT_PLUGINS_PPAPI_PPB_FLASH_IMPL_H_ 100 #endif // WEBKIT_PLUGINS_PPAPI_PPB_FLASH_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698