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

Unified Diff: chrome/browser/ui/views/location_bar/chrome_to_mobile_view.h

Issue 10885024: Integrate Chrome To Mobile with Action Box UI. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix nil/NULL checks in ChromeToMobileBubbleController. Created 8 years, 4 months 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
Index: chrome/browser/ui/views/location_bar/chrome_to_mobile_view.h
diff --git a/chrome/browser/ui/views/location_bar/chrome_to_mobile_view.h b/chrome/browser/ui/views/location_bar/chrome_to_mobile_view.h
deleted file mode 100644
index 2b4f89c60f1ee509e9bc95031b7ac066c965fc3a..0000000000000000000000000000000000000000
--- a/chrome/browser/ui/views/location_bar/chrome_to_mobile_view.h
+++ /dev/null
@@ -1,52 +0,0 @@
-// Copyright (c) 2012 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_UI_VIEWS_LOCATION_BAR_CHROME_TO_MOBILE_VIEW_H_
-#define CHROME_BROWSER_UI_VIEWS_LOCATION_BAR_CHROME_TO_MOBILE_VIEW_H_
-
-#include "chrome/browser/command_observer.h"
-#include "chrome/browser/ui/views/location_bar/touchable_location_bar_view.h"
-#include "ui/views/controls/image_view.h"
-
-class CommandUpdater;
-class LocationBarView;
-
-namespace views {
-class MouseEvent;
-}
-
-// A Page Action image view for the Chrome To Mobile bubble.
-class ChromeToMobileView : public views::ImageView,
- public CommandObserver,
- public TouchableLocationBarView {
- public:
- ChromeToMobileView(LocationBarView* location_bar_view,
- CommandUpdater* command_updater);
- virtual ~ChromeToMobileView();
-
- // CommandObserver overrides:
- virtual void EnabledStateChangedForCommand(int id, bool enabled) OVERRIDE;
-
- // TouchableLocationBarView.
- virtual int GetBuiltInHorizontalPadding() const OVERRIDE;
-
- private:
- // views::ImageView overrides:
- virtual void GetAccessibleState(ui::AccessibleViewState* state) OVERRIDE;
- virtual bool GetTooltipText(const gfx::Point& p,
- string16* tooltip) const OVERRIDE;
- virtual bool OnMousePressed(const ui::MouseEvent& event) OVERRIDE;
- virtual void OnMouseReleased(const ui::MouseEvent& event) OVERRIDE;
- virtual bool OnKeyPressed(const ui::KeyEvent& event) OVERRIDE;
-
- // The LocationBarView hosting this view.
- LocationBarView* location_bar_view_;
-
- // The CommandUpdater for the Browser object that owns the location bar.
- CommandUpdater* command_updater_;
-
- DISALLOW_IMPLICIT_CONSTRUCTORS(ChromeToMobileView);
-};
-
-#endif // CHROME_BROWSER_UI_VIEWS_LOCATION_BAR_CHROME_TO_MOBILE_VIEW_H_
« no previous file with comments | « chrome/browser/ui/views/chrome_to_mobile_bubble_view.cc ('k') | chrome/browser/ui/views/location_bar/chrome_to_mobile_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698