// Copyright (c) 2013 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 "chrome/browser/ui/views/hwnd_util.h" #include "ui/views/widget/widget.h" namespace chrome { // Returns the HWND associated with the specified widget. HWND HWNDForWidget(views::Widget* widget) { return widget->GetNativeView(); } HWND HWNDForNativeWindow(gfx::NativeWindow window) { return window; } }