chromium/chrome/test/base/menu_model_test.cc

// Copyright 2011 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "chrome/test/base/menu_model_test.h"
#include "testing/gtest/include/gtest/gtest.h"


bool MenuModelTest::Delegate::IsCommandIdChecked(int command_id) const {}

bool MenuModelTest::Delegate::IsCommandIdEnabled(int command_id) const {}

void MenuModelTest::Delegate::ExecuteCommand(int command_id, int event_flags) {}

// Recursively checks the enabled state and executes a command on every item
// that's not a separator or a submenu parent item. The returned count should
// match the number of times the delegate is called to ensure every item works.
void MenuModelTest::CountEnabledExecutable(ui::MenuModel* model,
                                           int* count) {}