diff options
author | ben@chromium.org <ben@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-11-09 07:35:32 +0000 |
---|---|---|
committer | ben@chromium.org <ben@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-11-09 07:35:32 +0000 |
commit | 213dac2f0bff9162502fe325b6ebb85a255efcb2 (patch) | |
tree | 3640cb1f19976e38677b8632537d2d41f8444d0f /chrome/browser/views/find_bar_host_gtk.cc | |
parent | 6de53d401aa8dc6c7e0a9874c71a95ce88ade50d (diff) | |
download | chromium_src-213dac2f0bff9162502fe325b6ebb85a255efcb2.zip chromium_src-213dac2f0bff9162502fe325b6ebb85a255efcb2.tar.gz chromium_src-213dac2f0bff9162502fe325b6ebb85a255efcb2.tar.bz2 |
Move browser/views to browser/ui/views
TBR=brettw
BUG=none
TEST=none
Review URL: http://codereview.chromium.org/4694005
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@65508 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/views/find_bar_host_gtk.cc')
-rw-r--r-- | chrome/browser/views/find_bar_host_gtk.cc | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/chrome/browser/views/find_bar_host_gtk.cc b/chrome/browser/views/find_bar_host_gtk.cc deleted file mode 100644 index d9f8986..0000000 --- a/chrome/browser/views/find_bar_host_gtk.cc +++ /dev/null @@ -1,30 +0,0 @@ -// Copyright (c) 2006-2009 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. - -#include "chrome/browser/views/find_bar_host.h" - -#include "chrome/browser/find_bar_controller.h" -#include "chrome/browser/tab_contents/tab_contents.h" -#include "chrome/browser/views/frame/browser_view.h" -#include "chrome/browser/views/tab_contents/tab_contents_view_gtk.h" -#include "views/widget/widget_gtk.h" - -void FindBarHost::AudibleAlert() { - // TODO(davemoore) implement. - NOTIMPLEMENTED(); -} - -void FindBarHost::GetWidgetPositionNative(gfx::Rect* avoid_overlapping_rect) { - gfx::Rect frame_rect, webcontents_rect; - host()->GetRootWidget()->GetBounds(&frame_rect, true); - TabContentsView* tab_view = find_bar_controller_->tab_contents()->view(); - static_cast<TabContentsViewGtk*>(tab_view)->GetBounds(&webcontents_rect, - true); - avoid_overlapping_rect->Offset(0, webcontents_rect.y() - frame_rect.y()); -} - -bool FindBarHost::ShouldForwardKeystrokeToWebpageNative( - const views::Textfield::Keystroke& key_stroke) { - return true; -} |