OLD | NEW |
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 #ifndef CHROME_RENDERER_PEPPER_PLUGIN_DELEGATE_IMPL_H_ | 5 #ifndef CHROME_RENDERER_PEPPER_PLUGIN_DELEGATE_IMPL_H_ |
6 #define CHROME_RENDERER_PEPPER_PLUGIN_DELEGATE_IMPL_H_ | 6 #define CHROME_RENDERER_PEPPER_PLUGIN_DELEGATE_IMPL_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include <set> | 9 #include <set> |
10 | 10 |
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
60 int total, | 60 int total, |
61 bool final_result); | 61 bool final_result); |
62 virtual void DidChangeSelectedFindResult(int identifier, int index); | 62 virtual void DidChangeSelectedFindResult(int identifier, int index); |
63 virtual bool RunFileChooser( | 63 virtual bool RunFileChooser( |
64 const WebKit::WebFileChooserParams& params, | 64 const WebKit::WebFileChooserParams& params, |
65 WebKit::WebFileChooserCompletion* chooser_completion); | 65 WebKit::WebFileChooserCompletion* chooser_completion); |
66 virtual bool AsyncOpenFile(const FilePath& path, | 66 virtual bool AsyncOpenFile(const FilePath& path, |
67 int flags, | 67 int flags, |
68 AsyncOpenFileCallback* callback); | 68 AsyncOpenFileCallback* callback); |
69 virtual scoped_refptr<base::MessageLoopProxy> GetFileThreadMessageLoopProxy(); | 69 virtual scoped_refptr<base::MessageLoopProxy> GetFileThreadMessageLoopProxy(); |
| 70 virtual pepper::FullscreenContainer* CreateFullscreenContainer( |
| 71 pepper::PluginInstance* instance); |
70 | 72 |
71 private: | 73 private: |
72 // Pointer to the RenderView that owns us. | 74 // Pointer to the RenderView that owns us. |
73 RenderView* render_view_; | 75 RenderView* render_view_; |
74 | 76 |
75 std::set<pepper::PluginInstance*> active_instances_; | 77 std::set<pepper::PluginInstance*> active_instances_; |
76 | 78 |
77 int id_generator_; | 79 int id_generator_; |
78 IDMap<AsyncOpenFileCallback> messages_waiting_replies_; | 80 IDMap<AsyncOpenFileCallback> messages_waiting_replies_; |
79 | 81 |
80 DISALLOW_COPY_AND_ASSIGN(PepperPluginDelegateImpl); | 82 DISALLOW_COPY_AND_ASSIGN(PepperPluginDelegateImpl); |
81 }; | 83 }; |
82 | 84 |
83 #endif // CHROME_RENDERER_PEPPER_PLUGIN_DELEGATE_IMPL_H_ | 85 #endif // CHROME_RENDERER_PEPPER_PLUGIN_DELEGATE_IMPL_H_ |
OLD | NEW |