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

Unified Diff: ui/aura/root_window_host_ozone.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_ozone.h ('k') | ui/aura/root_window_host_win.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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();
« no previous file with comments | « ui/aura/root_window_host_ozone.h ('k') | ui/aura/root_window_host_win.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698