summaryrefslogtreecommitdiffstats
path: root/chrome/browser/tab_menu_model.h
diff options
context:
space:
mode:
authorben@chromium.org <ben@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-12-02 19:30:19 +0000
committerben@chromium.org <ben@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-12-02 19:30:19 +0000
commit6a3ec231b4a982787a4a1a5fd672bb974ce98bca (patch)
treea63406d0cb3012ed4ab677598d4f2de9329e9f5a /chrome/browser/tab_menu_model.h
parent1ffacfd8a743eb9d375080db95d900166758551c (diff)
downloadchromium_src-6a3ec231b4a982787a4a1a5fd672bb974ce98bca.zip
chromium_src-6a3ec231b4a982787a4a1a5fd672bb974ce98bca.tar.gz
chromium_src-6a3ec231b4a982787a4a1a5fd672bb974ce98bca.tar.bz2
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
Diffstat (limited to 'chrome/browser/tab_menu_model.h')
-rw-r--r--chrome/browser/tab_menu_model.h29
1 files changed, 0 insertions, 29 deletions
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_