Chromium Code Reviews| OLD | NEW |
|---|---|
| 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 "content/renderer/pepper/pepper_plugin_delegate_impl.h" | 5 #include "content/renderer/pepper/pepper_plugin_delegate_impl.h" |
| 6 | 6 |
| 7 #include <cmath> | 7 #include <cmath> |
| 8 #include <map> | 8 #include <map> |
| 9 #include <queue> | 9 #include <queue> |
| 10 | 10 |
| (...skipping 1571 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 1582 render_view_->mouse_lock_dispatcher()->OnLockTargetDestroyed(target); | 1582 render_view_->mouse_lock_dispatcher()->OnLockTargetDestroyed(target); |
| 1583 delete target; | 1583 delete target; |
| 1584 mouse_lock_instances_.erase(it); | 1584 mouse_lock_instances_.erase(it); |
| 1585 } | 1585 } |
| 1586 } | 1586 } |
| 1587 | 1587 |
| 1588 webkit_glue::ClipboardClient* | 1588 webkit_glue::ClipboardClient* |
| 1589 PepperPluginDelegateImpl::CreateClipboardClient() const { | 1589 PepperPluginDelegateImpl::CreateClipboardClient() const { |
| 1590 return new RendererClipboardClient; | 1590 return new RendererClipboardClient; |
| 1591 } | 1591 } |
| 1592 | |
| 1593 int PepperPluginDelegateImpl::GetRendererId() { | |
| 1594 return render_view_->GetRoutingID(); | |
|
jam
2012/03/16 21:49:45
nit: just "return routing_id();"
| |
| 1595 } | |
| OLD | NEW |