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

Unified Diff: chrome/browser/tab_menu_model.h

Issue 5582002: Move:... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 10 years 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/tab_contents_wrapper.cc ('k') | chrome/browser/tab_menu_model.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/tab_menu_model.h
===================================================================
--- chrome/browser/tab_menu_model.h (revision 68008)
+++ chrome/browser/tab_menu_model.h (working copy)
@@ -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_
« no previous file with comments | « chrome/browser/tab_contents_wrapper.cc ('k') | chrome/browser/tab_menu_model.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698