Commit d29484dc authored by sky@chromium.org's avatar sky@chromium.org

Adds RootWindowHost::Create() for android

Implementation CHECKs, so this is only needed for tests and ash, which
we're not worrying about yet.

BUG=none
TEST=none
R=ben@chromium.org

Review URL: https://codereview.chromium.org/128743002

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@243711 0039d316-1c4b-4281-b951-d872f2087c98
parent 68d8c456
...@@ -187,4 +187,15 @@ void WindowTreeHost::NotifyHostResized(const gfx::Size& new_size) { ...@@ -187,4 +187,15 @@ void WindowTreeHost::NotifyHostResized(const gfx::Size& new_size) {
delegate_->OnHostResized(new_size); delegate_->OnHostResized(new_size);
} }
#if defined(OS_ANDROID)
// static
WindowTreeHost* WindowTreeHost::Create(const gfx::Rect& bounds) {
// This is only hit for tests and ash, right now these aren't an issue so
// adding the CHECK.
// TODO(sky): decide if we want a factory.
CHECK(false);
return NULL;
}
#endif
} // namespace aura } // namespace aura
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment