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

Side by Side Diff: app/menus/menu_model.cc

Issue 5145002: Removes unneeded forward declaration. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 10 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | views/view.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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 "app/menus/menu_model.h" 5 #include "app/menus/menu_model.h"
6 6
7 namespace menus { 7 namespace menus {
8 8
9 bool MenuModel::IsVisibleAt(int index) const { 9 bool MenuModel::IsVisibleAt(int index) const {
10 return true; 10 return true;
11 } 11 }
(...skipping 16 matching lines...) Expand all
28 } 28 }
29 return false; 29 return false;
30 } 30 }
31 31
32 // Default implementation ignores the disposition. 32 // Default implementation ignores the disposition.
33 void MenuModel::ActivatedAtWithDisposition(int index, int disposition) { 33 void MenuModel::ActivatedAtWithDisposition(int index, int disposition) {
34 ActivatedAt(index); 34 ActivatedAt(index);
35 } 35 }
36 36
37 } // namespace 37 } // namespace
OLDNEW
« no previous file with comments | « no previous file | views/view.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698