Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(110)

Side by Side Diff: chrome/browser/renderer_context_menu/render_view_context_menu_test_util.cc

Issue 678653003: Remove Downcasting RVContextMenuBase in ContextMenuDeleagate implementations. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: remove virtual keyword when override is specified Created 6 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698