summaryrefslogtreecommitdiffstats
path: root/views/controls/native/native_view_host_wrapper.h
diff options
context:
space:
mode:
Diffstat (limited to 'views/controls/native/native_view_host_wrapper.h')
-rw-r--r--views/controls/native/native_view_host_wrapper.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/views/controls/native/native_view_host_wrapper.h b/views/controls/native/native_view_host_wrapper.h
index 1b06b3e..8fdd8ad 100644
--- a/views/controls/native/native_view_host_wrapper.h
+++ b/views/controls/native/native_view_host_wrapper.h
@@ -1,4 +1,4 @@
-// Copyright (c) 2010 The Chromium Authors. All rights reserved.
+// 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.
@@ -6,6 +6,8 @@
#define VIEWS_CONTROLS_NATIVE_NATIVE_VIEW_HOST_WRAPPER_H_
#pragma once
+#include "ui/gfx/native_widget_types.h"
+
namespace views {
class NativeViewHost;
@@ -56,6 +58,10 @@ class NativeViewHostWrapper {
// Sets focus to the gfx::NativeView.
virtual void SetFocus() = 0;
+ // Return the native view accessible corresponding to the wrapped native
+ // view.
+ virtual gfx::NativeViewAccessible GetNativeViewAccessible() = 0;
+
// Creates a platform-specific instance of an object implementing this
// interface.
static NativeViewHostWrapper* CreateWrapper(NativeViewHost* host);