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

Unified Diff: chrome/browser/ui/views/status_bubble_views.h

Issue 1841653003: Drop |languages| from {Format,Elide}Url* and IDNToUnicode (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix typo in elide_url.cc Created 4 years, 8 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/status_bubble_views.h
diff --git a/chrome/browser/ui/views/status_bubble_views.h b/chrome/browser/ui/views/status_bubble_views.h
index 02f069fd47be91f2d97b9b863ed84b6abd91d256..142f31459edf09e30f0f4bc37b9a37ccb4c48a23 100644
--- a/chrome/browser/ui/views/status_bubble_views.h
+++ b/chrome/browser/ui/views/status_bubble_views.h
@@ -55,7 +55,7 @@ class StatusBubbleViews : public StatusBubble {
// Overridden from StatusBubble:
void SetStatus(const base::string16& status) override;
- void SetURL(const GURL& url, const std::string& languages) override;
+ void SetURL(const GURL& url) override;
void Hide() override;
void MouseMoved(const gfx::Point& location, bool left_content) override;
void UpdateDownloadShelfVisibility(bool visible) override;
@@ -106,9 +106,6 @@ class StatusBubbleViews : public StatusBubble {
// The original, non-elided URL.
GURL url_;
- // Used to elide the original URL again when we expand it.
- std::string languages_;
-
// Position relative to the base_view_.
gfx::Point original_position_;
// original_position_ adjusted according to the current RTL.
« no previous file with comments | « chrome/browser/ui/views/omnibox/omnibox_view_views_browsertest.cc ('k') | chrome/browser/ui/views/status_bubble_views.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698