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

Unified Diff: chrome/browser/ui/views/infobars/translate_message_infobar.h

Issue 325483003: Remove unused Views Translate InfoBar code. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Remove test-only infobar toggle; no-op tests for incompatible UX. Created 6 years, 6 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/infobars/translate_message_infobar.h
diff --git a/chrome/browser/ui/views/infobars/translate_message_infobar.h b/chrome/browser/ui/views/infobars/translate_message_infobar.h
deleted file mode 100644
index ffc36bcd29bb27ab3218899c9bebbf479233efee..0000000000000000000000000000000000000000
--- a/chrome/browser/ui/views/infobars/translate_message_infobar.h
+++ /dev/null
@@ -1,36 +0,0 @@
-// Copyright (c) 2011 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_INFOBARS_TRANSLATE_MESSAGE_INFOBAR_H_
-#define CHROME_BROWSER_UI_VIEWS_INFOBARS_TRANSLATE_MESSAGE_INFOBAR_H_
-
-#include "chrome/browser/ui/views/infobars/translate_infobar_base.h"
-
-class TranslateMessageInfoBar : public TranslateInfoBarBase {
- public:
- explicit TranslateMessageInfoBar(
- scoped_ptr<TranslateInfoBarDelegate> delegate);
-
- private:
- virtual ~TranslateMessageInfoBar();
-
- // TranslateInfoBarBase:
- virtual void Layout() OVERRIDE;
- virtual void ViewHierarchyChanged(
- const ViewHierarchyChangedDetails& details) OVERRIDE;
- virtual void ButtonPressed(views::Button* sender,
- const ui::Event& event) OVERRIDE;
- virtual int ContentMinimumWidth() const OVERRIDE;
-
- // Returns the width of all content other than the label. Layout() uses this
- // to determine how much space the label can take.
- int NonLabelWidth() const;
-
- views::Label* label_;
- views::LabelButton* button_;
-
- DISALLOW_COPY_AND_ASSIGN(TranslateMessageInfoBar);
-};
-
-#endif // CHROME_BROWSER_UI_VIEWS_INFOBARS_TRANSLATE_MESSAGE_INFOBAR_H_

Powered by Google App Engine
This is Rietveld 408576698