summaryrefslogtreecommitdiffstats
path: root/ui/aura/window_tree_host_win.cc
diff options
context:
space:
mode:
authormfomitchev@chromium.org <mfomitchev@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-04-24 23:04:03 +0000
committermfomitchev@chromium.org <mfomitchev@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-04-24 23:04:03 +0000
commit8ecd5fa2b1ec1c5990bf491d881b84d7289b9ce9 (patch)
tree666cdb2f7858082a5b0d32b8b5dd832dbe01ad40 /ui/aura/window_tree_host_win.cc
parent20a58e6943c8d3ff008b3043d01642b34511c0b1 (diff)
downloadchromium_src-8ecd5fa2b1ec1c5990bf491d881b84d7289b9ce9.zip
chromium_src-8ecd5fa2b1ec1c5990bf491d881b84d7289b9ce9.tar.gz
chromium_src-8ecd5fa2b1ec1c5990bf491d881b84d7289b9ce9.tar.bz2
Adding GetEventSource() method to the WindowTreeHost class.
Review URL: https://codereview.chromium.org/250103002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@266024 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ui/aura/window_tree_host_win.cc')
-rw-r--r--ui/aura/window_tree_host_win.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/ui/aura/window_tree_host_win.cc b/ui/aura/window_tree_host_win.cc
index 5f1dc00..9bbb44b 100644
--- a/ui/aura/window_tree_host_win.cc
+++ b/ui/aura/window_tree_host_win.cc
@@ -55,6 +55,10 @@ WindowTreeHostWin::~WindowTreeHostWin() {
DestroyWindow(hwnd());
}
+ui::EventSource* WindowTreeHostWin::GetEventSource() {
+ return this;
+}
+
gfx::AcceleratedWidget WindowTreeHostWin::GetAcceleratedWidget() {
return hwnd();
}