| 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/accessibility/renderer_accessibility.h" | 5 #include "content/renderer/accessibility/renderer_accessibility.h" |
| 6 | 6 |
| 7 #include <stddef.h> | 7 #include <stddef.h> |
| 8 #include <stdint.h> | 8 #include <stdint.h> |
| 9 | 9 |
| 10 #include <queue> | 10 #include <queue> |
| (...skipping 590 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 601 if (obj.isDetached()) { | 601 if (obj.isDetached()) { |
| 602 #ifndef NDEBUG | 602 #ifndef NDEBUG |
| 603 LOG(WARNING) << "ShowContextMenu on invalid object id " << acc_obj_id; | 603 LOG(WARNING) << "ShowContextMenu on invalid object id " << acc_obj_id; |
| 604 #endif | 604 #endif |
| 605 return; | 605 return; |
| 606 } | 606 } |
| 607 | 607 |
| 608 obj.showContextMenu(); | 608 obj.showContextMenu(); |
| 609 } | 609 } |
| 610 | 610 |
| 611 void RendererAccessibility::OnDestruct() { |
| 612 delete this; |
| 613 } |
| 614 |
| 611 } // namespace content | 615 } // namespace content |
| OLD | NEW |