summaryrefslogtreecommitdiffstats
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
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
-rw-r--r--chrome/browser/autocomplete/autocomplete_edit_view_win.cc5
-rw-r--r--chrome/chrome_common.gypi1
-rw-r--r--chrome/common/gfx/utils.h12
3 files changed, 4 insertions, 14 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(
diff --git a/chrome/chrome_common.gypi b/chrome/chrome_common.gypi
index b01dd50..f4a8e6e 100644
--- a/chrome/chrome_common.gypi
+++ b/chrome/chrome_common.gypi
@@ -178,7 +178,6 @@
'common/extensions/url_pattern.h',
'common/extensions/user_script.cc',
'common/extensions/user_script.h',
- 'common/gfx/utils.h',
'common/web_resource/web_resource_unpacker.cc',
'common/web_resource/web_resource_unpacker.h',
'common/appcache/appcache_backend_proxy.cc',
diff --git a/chrome/common/gfx/utils.h b/chrome/common/gfx/utils.h
deleted file mode 100644
index d445bdb4..0000000
--- a/chrome/common/gfx/utils.h
+++ /dev/null
@@ -1,12 +0,0 @@
-// Copyright (c) 2006-2008 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_COMMON_GFX_UTILS_H__
-#define CHROME_COMMON_GFX_UTILS_H__
-
-// twips are a unit of type measurement, and RichEdit controls use them
-// to set offsets.
-const int kTwipsPerInch = 1440;
-
-#endif // CHROME_COMMON_GFX_UTILS_H__