From 6a3ec231b4a982787a4a1a5fd672bb974ce98bca Mon Sep 17 00:00:00 2001 From: "ben@chromium.org" Date: Thu, 2 Dec 2010 19:30:19 +0000 Subject: Move: tab_menu_model->ui/tabs tab_contents_wrapper->ui/tab_contents view_ids.h->ui status_bubble.h->ui options*->ui/options show_options_url*->ui/options location_bar*->ui/omnibox input_window*->ui browser_uitests->ui/tests BUG=none TEST=none TBR=brettw Review URL: http://codereview.chromium.org/5582002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@68047 0039d316-1c4b-4281-b951-d872f2087c98 --- chrome/browser/tab_menu_model.h | 29 ----------------------------- 1 file changed, 29 deletions(-) delete mode 100644 chrome/browser/tab_menu_model.h (limited to 'chrome/browser/tab_menu_model.h') diff --git a/chrome/browser/tab_menu_model.h b/chrome/browser/tab_menu_model.h deleted file mode 100644 index 0f7dedd9..0000000 --- a/chrome/browser/tab_menu_model.h +++ /dev/null @@ -1,29 +0,0 @@ -// Copyright (c) 2010 The Chromium Authors. All rights reserved. -// Use of this source code is governed by a BSD-style license that can be -// found in the LICENSE file. - -#ifndef CHROME_BROWSER_TAB_MENU_MODEL_H_ -#define CHROME_BROWSER_TAB_MENU_MODEL_H_ -#pragma once - -#include "app/menus/simple_menu_model.h" - -// A menu model that builds the contents of the tab context menu. This menu has -// only one level (no submenus). TabMenuModel caches local state from the -// tab (such as the pinned state). To make sure the menu reflects the real state -// of the tab a new TabMenuModel should be created each time the menu is shown. -class TabMenuModel : public menus::SimpleMenuModel { - public: - TabMenuModel(menus::SimpleMenuModel::Delegate* delegate, bool is_pinned); - virtual ~TabMenuModel() {} - - // Returns true if vertical tabs are enabled. - static bool AreVerticalTabsEnabled(); - - private: - void Build(bool is_pinned); - - DISALLOW_COPY_AND_ASSIGN(TabMenuModel); -}; - -#endif // CHROME_BROWSER_TAB_MENU_MODEL_H_ -- cgit v1.1