summaryrefslogtreecommitdiffstats
path: root/chrome/browser/autocomplete
diff options
context:
space:
mode:
authortfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-06-22 01:16:25 +0000
committertfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-06-22 01:16:25 +0000
commitc8cf01688fdaf74a969af634218219a96404e043 (patch)
tree16606b3837deaebf823c63df3e69dae7cebb7ac0 /chrome/browser/autocomplete
parentd0ed50d2803d910f8e2b9f5451ee1f80c0d340ed (diff)
downloadchromium_src-c8cf01688fdaf74a969af634218219a96404e043.zip
chromium_src-c8cf01688fdaf74a969af634218219a96404e043.tar.gz
chromium_src-c8cf01688fdaf74a969af634218219a96404e043.tar.bz2
Cleanup: Get rid of chrome/common/gfx/utils.h.
- Moved the const to autocomplete_edit_view_win.cc - Deleted the file. BUG=None TEST=trybots Review URL: http://codereview.chromium.org/2864013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@50417 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/autocomplete')
-rw-r--r--chrome/browser/autocomplete/autocomplete_edit_view_win.cc5
1 files changed, 4 insertions, 1 deletions
diff --git a/chrome/browser/autocomplete/autocomplete_edit_view_win.cc b/chrome/browser/autocomplete/autocomplete_edit_view_win.cc
index 486d382..7bf2fa7 100644
--- a/chrome/browser/autocomplete/autocomplete_edit_view_win.cc
+++ b/chrome/browser/autocomplete/autocomplete_edit_view_win.cc
@@ -41,7 +41,6 @@
#include "chrome/browser/search_engines/template_url_model.h"
#include "chrome/browser/tab_contents/tab_contents.h"
#include "chrome/browser/views/location_bar/location_bar_view.h"
-#include "chrome/common/gfx/utils.h"
#include "chrome/common/notification_service.h"
#include "googleurl/src/url_util.h"
#include "gfx/canvas.h"
@@ -378,6 +377,10 @@ class PaintPatcher {
base::LazyInstance<PaintPatcher> g_paint_patcher(base::LINKER_INITIALIZED);
+// twips are a unit of type measurement, and RichEdit controls use them
+// to set offsets.
+const int kTwipsPerInch = 1440;
+
} // namespace
AutocompleteEditViewWin::AutocompleteEditViewWin(