| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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 "components/plugins/renderer/plugin_placeholder.h" | 5 #include "components/plugins/renderer/plugin_placeholder.h" |
| 6 | 6 |
| 7 #include "content/public/renderer/render_frame.h" | 7 #include "content/public/renderer/render_frame.h" |
| 8 | 8 |
| 9 namespace plugins { | 9 namespace plugins { |
| 10 | 10 |
| (...skipping 24 matching lines...) Expand all Loading... |
| 35 void PluginPlaceholder::ShowContextMenu(const blink::WebMouseEvent& event) { | 35 void PluginPlaceholder::ShowContextMenu(const blink::WebMouseEvent& event) { |
| 36 // Does nothing by default. Will be overridden if a specific browser wants | 36 // Does nothing by default. Will be overridden if a specific browser wants |
| 37 // a context menu. | 37 // a context menu. |
| 38 return; | 38 return; |
| 39 } | 39 } |
| 40 | 40 |
| 41 void PluginPlaceholder::PluginDestroyed() { | 41 void PluginPlaceholder::PluginDestroyed() { |
| 42 plugin_ = NULL; | 42 plugin_ = NULL; |
| 43 } | 43 } |
| 44 | 44 |
| 45 v8::Local<v8::Object> PluginPlaceholder::GetV8ScriptableObject( |
| 46 v8::Isolate* isolate) const { |
| 47 return v8::Local<v8::Object>(); |
| 48 } |
| 49 |
| 45 void PluginPlaceholder::OnDestruct() { | 50 void PluginPlaceholder::OnDestruct() { |
| 46 frame_ = NULL; | 51 frame_ = NULL; |
| 47 } | 52 } |
| 48 | 53 |
| 49 blink::WebLocalFrame* PluginPlaceholder::GetFrame() { return frame_; } | 54 blink::WebLocalFrame* PluginPlaceholder::GetFrame() { return frame_; } |
| 50 | 55 |
| 51 } // namespace plugins | 56 } // namespace plugins |
| OLD | NEW |