summaryrefslogtreecommitdiffstats
path: root/chrome/browser/gtk/find_bar_gtk.cc
diff options
context:
space:
mode:
authorestade@chromium.org <estade@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-12-09 03:08:50 +0000
committerestade@chromium.org <estade@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-12-09 03:08:50 +0000
commit309b764b38f67d23f8b12488e6d1f542ca19b13e (patch)
treeb019a2748608482494160615527d50397f3514e5 /chrome/browser/gtk/find_bar_gtk.cc
parent784cee8f1792d709d0063ab683860492e9e4332e (diff)
downloadchromium_src-309b764b38f67d23f8b12488e6d1f542ca19b13e.zip
chromium_src-309b764b38f67d23f8b12488e6d1f542ca19b13e.tar.gz
chromium_src-309b764b38f67d23f8b12488e6d1f542ca19b13e.tar.bz2
Minor cleanup; remove deprecate file_util function and some obsolete TODOs.
Review URL: http://codereview.chromium.org/467030 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@34133 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/gtk/find_bar_gtk.cc')
-rw-r--r--chrome/browser/gtk/find_bar_gtk.cc6
1 files changed, 0 insertions, 6 deletions
diff --git a/chrome/browser/gtk/find_bar_gtk.cc b/chrome/browser/gtk/find_bar_gtk.cc
index 54b99aa..6cfbc51 100644
--- a/chrome/browser/gtk/find_bar_gtk.cc
+++ b/chrome/browser/gtk/find_bar_gtk.cc
@@ -391,12 +391,6 @@ void FindBarGtk::AudibleAlert() {
}
gfx::Rect FindBarGtk::GetDialogPosition(gfx::Rect avoid_overlapping_rect) {
- // TODO(estade): Logic for the positioning of the find bar might do better
- // to share more code with Windows. Currently though they do some things we
- // don't worry about, such as considering the state of the bookmark bar on
- // the NTP. I've tried to stick as close to the windows function as possible
- // here to make it easy to possibly unfork this down the road.
-
bool ltr = l10n_util::GetTextDirection() == l10n_util::LEFT_TO_RIGHT;
// 15 is the size of the scrollbar, copied from ScrollbarThemeChromium.
// The height is not used.