| Index: chrome/browser/ui/views/dropdown_bar_host_aura.cc
|
| diff --git a/chrome/browser/ui/views/dropdown_bar_host_aura.cc b/chrome/browser/ui/views/dropdown_bar_host_aura.cc
|
| index 3cd73d285534642d2a76f39a5229aa1581f5c778..946181ddf28f9d72a91656877b08e6b6ad64a345 100644
|
| --- a/chrome/browser/ui/views/dropdown_bar_host_aura.cc
|
| +++ b/chrome/browser/ui/views/dropdown_bar_host_aura.cc
|
| @@ -4,25 +4,10 @@
|
|
|
| #include "chrome/browser/ui/views/dropdown_bar_host.h"
|
|
|
| -#include "base/logging.h"
|
| #include "ui/aura/window.h"
|
| -#include "ui/events/event.h"
|
| #include "ui/views/view_constants_aura.h"
|
| #include "ui/views/widget/widget.h"
|
|
|
| -using content::NativeWebKeyboardEvent;
|
| -using content::WebContents;
|
| -
|
| -NativeWebKeyboardEvent DropdownBarHost::GetKeyboardEvent(
|
| - const WebContents* contents,
|
| - const ui::KeyEvent& key_event) {
|
| - // NativeWebKeyboardEvent should take a const gfx::NativeEvent, which would
|
| - // prevent this casting.
|
| - ui::Event* ui_event =
|
| - static_cast<ui::Event*>(const_cast<ui::KeyEvent*>(&key_event));
|
| - return NativeWebKeyboardEvent(ui_event);
|
| -}
|
| -
|
| void DropdownBarHost::SetWidgetPositionNative(const gfx::Rect& new_pos,
|
| bool no_redraw) {
|
| if (!host_->IsVisible())
|
|
|