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

Unified Diff: trunk/src/ui/aura/root_window_host_ozone.cc

Issue 77203002: Revert 236048 "Rename RootWindowHost* to WindowTreeHost*" (Closed) Base URL: svn://svn.chromium.org/chrome/
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 | « trunk/src/ui/aura/root_window_host_ozone.h ('k') | trunk/src/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: trunk/src/ui/aura/root_window_host_ozone.cc
===================================================================
--- trunk/src/ui/aura/root_window_host_ozone.cc (revision 236091)
+++ trunk/src/ui/aura/root_window_host_ozone.cc (working copy)
@@ -11,7 +11,7 @@
namespace aura {
-WindowTreeHostOzone::WindowTreeHostOzone(const gfx::Rect& bounds)
+RootWindowHostOzone::RootWindowHostOzone(const gfx::Rect& bounds)
: widget_(0),
bounds_(bounds) {
ui::OzonePlatform::Initialize();
@@ -31,11 +31,11 @@
CreateCompositor(GetAcceleratedWidget());
}
-WindowTreeHostOzone::~WindowTreeHostOzone() {
+RootWindowHostOzone::~RootWindowHostOzone() {
base::MessagePumpOzone::Current()->RemoveDispatcherForRootWindow(0);
}
-bool WindowTreeHostOzone::Dispatch(const base::NativeEvent& ne) {
+bool RootWindowHostOzone::Dispatch(const base::NativeEvent& ne) {
ui::Event* event = static_cast<ui::Event*>(ne);
if (event->IsTouchEvent()) {
ui::TouchEvent* touchev = static_cast<ui::TouchEvent*>(ne);
@@ -50,83 +50,83 @@
return true;
}
-RootWindow* WindowTreeHostOzone::GetRootWindow() {
+RootWindow* RootWindowHostOzone::GetRootWindow() {
return delegate_->AsRootWindow();
}
-gfx::AcceleratedWidget WindowTreeHostOzone::GetAcceleratedWidget() {
+gfx::AcceleratedWidget RootWindowHostOzone::GetAcceleratedWidget() {
return widget_;
}
-void WindowTreeHostOzone::Show() { NOTIMPLEMENTED(); }
+void RootWindowHostOzone::Show() { NOTIMPLEMENTED(); }
-void WindowTreeHostOzone::Hide() { NOTIMPLEMENTED(); }
+void RootWindowHostOzone::Hide() { NOTIMPLEMENTED(); }
-void WindowTreeHostOzone::ToggleFullScreen() { NOTIMPLEMENTED(); }
+void RootWindowHostOzone::ToggleFullScreen() { NOTIMPLEMENTED(); }
-gfx::Rect WindowTreeHostOzone::GetBounds() const { return bounds_; }
+gfx::Rect RootWindowHostOzone::GetBounds() const { return bounds_; }
-void WindowTreeHostOzone::SetBounds(const gfx::Rect& bounds) {
+void RootWindowHostOzone::SetBounds(const gfx::Rect& bounds) {
NOTIMPLEMENTED();
}
-gfx::Insets WindowTreeHostOzone::GetInsets() const { return gfx::Insets(); }
+gfx::Insets RootWindowHostOzone::GetInsets() const { return gfx::Insets(); }
-void WindowTreeHostOzone::SetInsets(const gfx::Insets& insets) {
+void RootWindowHostOzone::SetInsets(const gfx::Insets& insets) {
NOTIMPLEMENTED();
}
-gfx::Point WindowTreeHostOzone::GetLocationOnNativeScreen() const {
+gfx::Point RootWindowHostOzone::GetLocationOnNativeScreen() const {
return bounds_.origin();
}
-void WindowTreeHostOzone::SetCapture() { NOTIMPLEMENTED(); }
+void RootWindowHostOzone::SetCapture() { NOTIMPLEMENTED(); }
-void WindowTreeHostOzone::ReleaseCapture() { NOTIMPLEMENTED(); }
+void RootWindowHostOzone::ReleaseCapture() { NOTIMPLEMENTED(); }
-void WindowTreeHostOzone::SetCursor(gfx::NativeCursor cursor) {
+void RootWindowHostOzone::SetCursor(gfx::NativeCursor cursor) {
NOTIMPLEMENTED();
}
-bool WindowTreeHostOzone::QueryMouseLocation(gfx::Point* location_return) {
+bool RootWindowHostOzone::QueryMouseLocation(gfx::Point* location_return) {
NOTIMPLEMENTED();
return false;
}
-bool WindowTreeHostOzone::ConfineCursorToRootWindow() {
+bool RootWindowHostOzone::ConfineCursorToRootWindow() {
NOTIMPLEMENTED();
return false;
}
-void WindowTreeHostOzone::UnConfineCursor() { NOTIMPLEMENTED(); }
+void RootWindowHostOzone::UnConfineCursor() { NOTIMPLEMENTED(); }
-void WindowTreeHostOzone::OnCursorVisibilityChanged(bool show) {
+void RootWindowHostOzone::OnCursorVisibilityChanged(bool show) {
NOTIMPLEMENTED();
}
-void WindowTreeHostOzone::MoveCursorTo(const gfx::Point& location) {
+void RootWindowHostOzone::MoveCursorTo(const gfx::Point& location) {
NOTIMPLEMENTED();
}
-void WindowTreeHostOzone::PostNativeEvent(
+void RootWindowHostOzone::PostNativeEvent(
const base::NativeEvent& native_event) {
NOTIMPLEMENTED();
}
-void WindowTreeHostOzone::OnDeviceScaleFactorChanged(
+void RootWindowHostOzone::OnDeviceScaleFactorChanged(
float device_scale_factor) {
NOTIMPLEMENTED();
}
-void WindowTreeHostOzone::PrepareForShutdown() { NOTIMPLEMENTED(); }
+void RootWindowHostOzone::PrepareForShutdown() { NOTIMPLEMENTED(); }
// static
-WindowTreeHost* WindowTreeHost::Create(const gfx::Rect& bounds) {
- return new WindowTreeHostOzone(bounds);
+RootWindowHost* RootWindowHost::Create(const gfx::Rect& bounds) {
+ return new RootWindowHostOzone(bounds);
}
// static
-gfx::Size WindowTreeHost::GetNativeScreenSize() {
+gfx::Size RootWindowHost::GetNativeScreenSize() {
NOTIMPLEMENTED();
return gfx::Size();
}
« no previous file with comments | « trunk/src/ui/aura/root_window_host_ozone.h ('k') | trunk/src/ui/aura/root_window_host_win.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698