diff options
Diffstat (limited to 'chromium/ui/views/widget/child_window_message_processor.cc')
-rw-r--r-- | chromium/ui/views/widget/child_window_message_processor.cc | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/chromium/ui/views/widget/child_window_message_processor.cc b/chromium/ui/views/widget/child_window_message_processor.cc deleted file mode 100644 index dc497560093..00000000000 --- a/chromium/ui/views/widget/child_window_message_processor.cc +++ /dev/null @@ -1,28 +0,0 @@ -// Copyright (c) 2011 The Chromium Authors. All rights reserved. -// Use of this source code is governed by a BSD-style license that can be -// found in the LICENSE file. - -#include "ui/views/widget/child_window_message_processor.h" - -#include "base/logging.h" -#include "ui/base/view_prop.h" - -namespace views { - -static const char* const kChildWindowKey = "__CHILD_WINDOW_MESSAGE_PROCESSOR__"; - -// static -ui::ViewProp* ChildWindowMessageProcessor::Register( - HWND hwnd, - ChildWindowMessageProcessor* processor) { - DCHECK(processor); - return new ui::ViewProp(hwnd, kChildWindowKey, processor); -} - -// static -ChildWindowMessageProcessor* ChildWindowMessageProcessor::Get(HWND hwnd) { - return reinterpret_cast<ChildWindowMessageProcessor*>( - ui::ViewProp::GetValue(hwnd, kChildWindowKey)); -} - -} // namespace |