Index: ui/aura/root_window_host_ozone.cc |
diff --git a/ui/aura/root_window_host_ozone.cc b/ui/aura/root_window_host_ozone.cc |
index 66cfdd5851679e8ced84a8500499269065314a6c..c6fd61505beaf53383d975f709936b043669a3b0 100644 |
--- a/ui/aura/root_window_host_ozone.cc |
+++ b/ui/aura/root_window_host_ozone.cc |
@@ -11,7 +11,8 @@ |
namespace aura { |
RootWindowHostOzone::RootWindowHostOzone(const gfx::Rect& bounds) |
- : delegate_(NULL), widget_(0), bounds_(bounds) { |
+ : widget_(0), |
+ bounds_(bounds) { |
ui::OzonePlatform::Initialize(); |
factory_.reset(ui::EventFactoryOzone::GetInstance()); |
factory_->StartProcessingEvents(); |
@@ -43,10 +44,6 @@ bool RootWindowHostOzone::Dispatch(const base::NativeEvent& ne) { |
return true; |
} |
-void RootWindowHostOzone::SetDelegate(RootWindowHostDelegate* delegate) { |
- delegate_ = delegate; |
-} |
- |
RootWindow* RootWindowHostOzone::GetRootWindow() { |
return delegate_->AsRootWindow(); |
} |
@@ -105,10 +102,6 @@ void RootWindowHostOzone::MoveCursorTo(const gfx::Point& location) { |
NOTIMPLEMENTED(); |
} |
-void RootWindowHostOzone::SetFocusWhenShown(bool focus_when_shown) { |
- NOTIMPLEMENTED(); |
-} |
- |
void RootWindowHostOzone::PostNativeEvent( |
const base::NativeEvent& native_event) { |
NOTIMPLEMENTED(); |