Index: ui/aura/root_window_host_win.cc |
diff --git a/ui/aura/root_window_host_win.cc b/ui/aura/root_window_host_win.cc |
index a70c20479db0b6c25a6ba8b8ce2ce5417d42d94f..931c11e517964f378e229837a5700acf76d3d8b7 100644 |
--- a/ui/aura/root_window_host_win.cc |
+++ b/ui/aura/root_window_host_win.cc |
@@ -40,8 +40,7 @@ gfx::Size RootWindowHost::GetNativeScreenSize() { |
} |
RootWindowHostWin::RootWindowHostWin(const gfx::Rect& bounds) |
- : delegate_(NULL), |
- fullscreen_(false), |
+ : fullscreen_(false), |
has_capture_(false), |
saved_window_style_(0), |
saved_window_ex_style_(0) { |
@@ -55,10 +54,6 @@ RootWindowHostWin::~RootWindowHostWin() { |
DestroyWindow(hwnd()); |
} |
-void RootWindowHostWin::SetDelegate(RootWindowHostDelegate* delegate) { |
- delegate_ = delegate; |
-} |
- |
RootWindow* RootWindowHostWin::GetRootWindow() { |
return delegate_->AsRootWindow(); |
} |
@@ -222,10 +217,6 @@ void RootWindowHostWin::MoveCursorTo(const gfx::Point& location) { |
// Deliberately not implemented. |
} |
-void RootWindowHostWin::SetFocusWhenShown(bool focus_when_shown) { |
- NOTIMPLEMENTED(); |
-} |
- |
void RootWindowHostWin::PostNativeEvent(const base::NativeEvent& native_event) { |
::PostMessage( |
hwnd(), native_event.message, native_event.wParam, native_event.lParam); |