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

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

Issue 25373009: Translate: New Bubble UX (for the view toolkit) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Sky's review (3) Created 7 years, 2 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/translate_icon_view.h
diff --git a/chrome/browser/ui/views/location_bar/translate_icon_view.h b/chrome/browser/ui/views/location_bar/translate_icon_view.h
new file mode 100644
index 0000000000000000000000000000000000000000..d46b83f618be7ce1ab1828109b9199e806c11479
--- /dev/null
+++ b/chrome/browser/ui/views/location_bar/translate_icon_view.h
@@ -0,0 +1,25 @@
+// Copyright 2013 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_TRANSLATE_ICON_VIEW_H_
+#define CHROME_BROWSER_UI_VIEWS_LOCATION_BAR_TRANSLATE_ICON_VIEW_H_
+
+#include "chrome/browser/ui/views/location_bar/bubble_icon_view.h"
+
+class CommandUpdater;
+
+// The icon to show the Translate bubble where the user can have the page
+// tarnslated.
+class TranslateIconView : public BubbleIconView {
+ public:
+ explicit TranslateIconView(CommandUpdater* command_updater);
+ virtual ~TranslateIconView();
+
+ private:
+ scoped_ptr<BubbleIconViewDelegate> delegate_;
+
+ DISALLOW_COPY_AND_ASSIGN(TranslateIconView);
+};
+
+#endif // CHROME_BROWSER_UI_VIEWS_LOCATION_BAR_TRANSLATE_ICON_VIEW_H_

Powered by Google App Engine
This is Rietveld 408576698