summaryrefslogtreecommitdiffstats
path: root/chrome/browser/chromeos/compact_navigation_bar.h
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/chromeos/compact_navigation_bar.h')
-rw-r--r--chrome/browser/chromeos/compact_navigation_bar.h68
1 files changed, 0 insertions, 68 deletions
diff --git a/chrome/browser/chromeos/compact_navigation_bar.h b/chrome/browser/chromeos/compact_navigation_bar.h
deleted file mode 100644
index 3b15826..0000000
--- a/chrome/browser/chromeos/compact_navigation_bar.h
+++ /dev/null
@@ -1,68 +0,0 @@
-// Copyright (c) 2009 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_CHROMEOS_COMPACT_NAVIGATION_BAR_H_
-#define CHROME_BROWSER_CHROMEOS_COMPACT_NAVIGATION_BAR_H_
-
-#include "base/basictypes.h"
-#include "base/scoped_ptr.h"
-#include "chrome/browser/command_updater.h"
-#include "views/controls/button/button.h"
-#include "views/view.h"
-
-class AutocompleteEditViewGtk;
-class BackForwardMenuModel;
-class BrowserView;
-
-namespace views {
-class ImageButton;
-class ImageView;
-class NativeViewHost;
-}
-
-namespace chromeos {
-
-// This class provides a small navigation bar that includes back, forward, and
-// a small text entry box.
-class CompactNavigationBar : public views::View,
- public views::ButtonListener,
- public CommandUpdater::CommandObserver {
- public:
- explicit CompactNavigationBar(::BrowserView* browser_view);
- virtual ~CompactNavigationBar();
-
- // Must be called before anything else, but after adding this view to the
- // widget.
- void Init();
-
- // views::View overrides.
- virtual gfx::Size GetPreferredSize();
- virtual void Layout();
- virtual void Paint(gfx::Canvas* canvas);
-
- private:
- // views::ButtonListener implementation.
- virtual void ButtonPressed(views::Button* sender, const views::Event& event);
-
- // CommandUpdater::CommandObserver implementation.
- virtual void EnabledStateChangedForCommand(int id, bool enabled);
-
- ::BrowserView* browser_view_;
-
- bool initialized_;
-
- views::ImageButton* back_;
- views::ImageView* bf_separator_;
- views::ImageButton* forward_;
-
- // History menu for back and forward buttons.
- scoped_ptr<BackForwardMenuModel> back_menu_model_;
- scoped_ptr<BackForwardMenuModel> forward_menu_model_;
-
- DISALLOW_COPY_AND_ASSIGN(CompactNavigationBar);
-};
-
-} // namespace chromeos
-
-#endif // CHROME_BROWSER_CHROMEOS_COMPACT_NAVIGATION_BAR_H_