OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 "chrome/browser/renderer_context_menu/render_view_context_menu_test_uti
l.h" | 5 #include "chrome/browser/renderer_context_menu/render_view_context_menu_test_uti
l.h" |
6 #include "content/public/browser/web_contents.h" | 6 #include "content/public/browser/web_contents.h" |
7 #include "ui/base/models/menu_model.h" | 7 #include "ui/base/models/menu_model.h" |
8 | 8 |
9 using ui::MenuModel; | 9 using ui::MenuModel; |
10 | 10 |
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
58 *found_index = i; | 58 *found_index = i; |
59 return true; | 59 return true; |
60 } else if (model->GetTypeAt(i) == MenuModel::TYPE_SUBMENU) { | 60 } else if (model->GetTypeAt(i) == MenuModel::TYPE_SUBMENU) { |
61 models_to_search.push_back(model->GetSubmenuModelAt(i)); | 61 models_to_search.push_back(model->GetSubmenuModelAt(i)); |
62 } | 62 } |
63 } | 63 } |
64 } | 64 } |
65 | 65 |
66 return false; | 66 return false; |
67 } | 67 } |
| 68 |
| 69 void TestRenderViewContextMenu::Show() { |
| 70 } |
OLD | NEW |