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

Unified Diff: views/drag_utils.cc

Issue 113143: Move color_utils, text_elider, drag_utils, accessibility_types, standard_layo... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 11 years, 7 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
« no previous file with comments | « views/drag_utils.h ('k') | views/standard_layout.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: views/drag_utils.cc
===================================================================
--- views/drag_utils.cc (revision 15683)
+++ views/drag_utils.cc (working copy)
@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#include "chrome/browser/drag_utils.h"
+#include "views/drag_utils.h"
#include <objidl.h>
#include <shlobj.h>
@@ -17,7 +17,6 @@
#include "base/gfx/gdi_util.h"
#include "base/gfx/point.h"
#include "base/string_util.h"
-#include "chrome/browser/views/bookmark_bar_view.h"
#include "chrome/common/win_util.h"
#include "googleurl/src/gurl.h"
#include "grit/theme_resources.h"
@@ -93,7 +92,7 @@
// Create a button to render the drag image for us.
views::TextButton button(NULL,
title.empty() ? UTF8ToWide(url.spec()) : title);
- button.set_max_width(BookmarkBarView::kMaxButtonWidth);
+ button.set_max_width(kLinkDragImageMaxWidth);
if (icon.isNull()) {
button.SetIcon(*ResourceBundle::GetSharedInstance().GetBitmapNamed(
IDR_DEFAULT_FAVICON));
« no previous file with comments | « views/drag_utils.h ('k') | views/standard_layout.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698