diff options
author | sky@chromium.org <sky@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-06-30 21:01:00 +0000 |
---|---|---|
committer | sky@chromium.org <sky@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-06-30 21:01:00 +0000 |
commit | 04c7c13c6901e5488f3a49a11c04b989d81b1649 (patch) | |
tree | b57de1ca6eb1746cce5a6fe1c329e87f8e23ba6f | |
parent | a8c5c64971b1da3d515b515905383e2031f14039 (diff) | |
download | chromium_src-04c7c13c6901e5488f3a49a11c04b989d81b1649.zip chromium_src-04c7c13c6901e5488f3a49a11c04b989d81b1649.tar.gz chromium_src-04c7c13c6901e5488f3a49a11c04b989d81b1649.tar.bz2 |
Fixes compile bugs for views on gtk.
TBR=jcampan
BUG=none
TEST=none
Review URL: http://codereview.chromium.org/151099
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@19656 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r-- | views/view_gtk.cc | 5 | ||||
-rw-r--r-- | views/widget/root_view.cc | 4 |
2 files changed, 4 insertions, 5 deletions
diff --git a/views/view_gtk.cc b/views/view_gtk.cc index 5293db1..941908f 100644 --- a/views/view_gtk.cc +++ b/views/view_gtk.cc @@ -10,11 +10,6 @@ namespace views { -FocusManager* View::GetFocusManager() { - NOTIMPLEMENTED(); - return NULL; -} - void View::DoDrag(const MouseEvent& e, int press_x, int press_y) { NOTIMPLEMENTED(); } diff --git a/views/widget/root_view.cc b/views/widget/root_view.cc index 3a595a27..b3d35a7 100644 --- a/views/widget/root_view.cc +++ b/views/widget/root_view.cc @@ -266,7 +266,11 @@ void RootView::ViewHierarchyChanged(bool is_add, View* parent, View* child) { // An unparanted RootView does not have a FocusManager. if (focus_manager) focus_manager->ViewRemoved(parent, child); +#if defined(OS_WIN) ViewStorage::GetSharedInstance()->ViewRemoved(parent, child); +#else + NOTIMPLEMENTED(); +#endif } } |