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

Side by Side Diff: chrome/test/menu_model_test.h

Issue 2847091: Fix bad license header under chrome/ directory. (Closed) Base URL: git://git.chromium.org/chromium.git
Patch Set: Created 10 years, 4 months 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 (c) 2009 The Chromium Authors. All rights reserved. Use of this 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved.
2 // source code is governed by a BSD-style license that can be found in the 2 // Use of this source code is governed by a BSD-style license that can be
3 // LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_TEST_MENU_MODEL_TEST_H_ 5 #ifndef CHROME_TEST_MENU_MODEL_TEST_H_
6 #define CHROME_TEST_MENU_MODEL_TEST_H_ 6 #define CHROME_TEST_MENU_MODEL_TEST_H_
7 #pragma once 7 #pragma once
8 8
9 #include "app/menus/simple_menu_model.h" 9 #include "app/menus/simple_menu_model.h"
10 10
11 // A mix-in class to be used in addition to something that derrives from 11 // A mix-in class to be used in addition to something that derrives from
12 // testing::Test to provide some extra functionality for testing menu models. 12 // testing::Test to provide some extra functionality for testing menu models.
13 class MenuModelTest { 13 class MenuModelTest {
(...skipping 25 matching lines...) Expand all
39 // Recursively checks the enabled state and executes a command on every item 39 // Recursively checks the enabled state and executes a command on every item
40 // that's not a separator or a submenu parent item. The returned count should 40 // that's not a separator or a submenu parent item. The returned count should
41 // match the number of times the delegate is called to ensure every item 41 // match the number of times the delegate is called to ensure every item
42 // works. 42 // works.
43 void CountEnabledExecutable(menus::MenuModel* model, int* count); 43 void CountEnabledExecutable(menus::MenuModel* model, int* count);
44 44
45 Delegate delegate_; 45 Delegate delegate_;
46 }; 46 };
47 47
48 #endif // CHROME_TEST_MENU_MODEL_TEST_H_ 48 #endif // CHROME_TEST_MENU_MODEL_TEST_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698