Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(162)

Unified Diff: ui/aura/root_window_host_win.cc

Issue 72503002: Remove some pass-thrus on RootWindow API in favor of exposing the RootWindowHost again. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 7 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ui/aura/root_window_host_win.h ('k') | ui/aura/root_window_host_x11.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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);
« no previous file with comments | « ui/aura/root_window_host_win.h ('k') | ui/aura/root_window_host_x11.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698