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

Unified Diff: chrome/browser/ui/views/tabs/tab_renderer_data.h

Issue 6783015: Improvements to tab title prefix eliding as per email discussions. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 9 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/tabs/tab_renderer_data.h
===================================================================
--- chrome/browser/ui/views/tabs/tab_renderer_data.h (revision 80442)
+++ chrome/browser/ui/views/tabs/tab_renderer_data.h (working copy)
@@ -8,6 +8,7 @@
#include "base/process_util.h"
#include "base/string16.h"
+#include "googleurl/src/gurl.h"
#include "third_party/skia/include/core/SkBitmap.h"
// Wraps the state needed by the renderers.
@@ -40,6 +41,7 @@
SkBitmap favicon;
NetworkState network_state;
string16 title;
+ GURL url;
// Identifies the number of chars at the beginning of the string
// that are common to other tab titles.
size_t common_prefix_length;
« no previous file with comments | « chrome/browser/ui/views/tabs/browser_tab_strip_controller.cc ('k') | chrome/browser/ui/views/tabs/tab_renderer_data.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698