Commit 791f9a78 authored by ben@chromium.org's avatar ben@chromium.org

Gets the findbar to at least show up.

We need to do some more work to make it clip properly.

BUG=none
TEST=none
Review URL: http://codereview.chromium.org/8401004

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@107575 0039d316-1c4b-4281-b951-d872f2087c98
parent 9783633c
......@@ -5,17 +5,18 @@
#include "chrome/browser/ui/views/dropdown_bar_host.h"
#include "base/logging.h"
#include "ui/aura/window.h"
#include "views/widget/widget.h"
NativeWebKeyboardEvent DropdownBarHost::GetKeyboardEvent(
const TabContents* contents,
const views::KeyEvent& key_event) {
// TODO(beng):
NOTIMPLEMENTED();
return NativeWebKeyboardEvent();
return NativeWebKeyboardEvent(key_event.native_event());
}
void DropdownBarHost::SetWidgetPositionNative(const gfx::Rect& new_pos,
bool no_redraw) {
// TODO(beng):
NOTIMPLEMENTED();
if (!host_->IsVisible())
host_->GetNativeView()->Show();
host_->GetNativeView()->SetBounds(new_pos);
}
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment