OLD | NEW |
| (Empty) |
1 // Copyright (c) 2014 The Chromium Authors. All rights reserved. | |
2 // Use of this source code is governed by a BSD-style license that can be | |
3 // found in the LICENSE file. | |
4 | |
5 #ifndef CONTENT_BROWSER_RENDERER_HOST_LEGACY_RENDER_WIDGET_HOST_WIN_DELEGATE_H_ | |
6 #define CONTENT_BROWSER_RENDERER_HOST_LEGACY_RENDER_WIDGET_HOST_WIN_DELEGATE_H_ | |
7 | |
8 #include "content/common/content_export.h" | |
9 #include "ui/gfx/native_widget_types.h" | |
10 | |
11 namespace content { | |
12 | |
13 // A delegate interface for LegacyRenderWidgetHostHWND to query the | |
14 // native view accessible from the owner class. | |
15 class CONTENT_EXPORT LegacyRenderWidgetHostHWNDDelegate { | |
16 public: | |
17 // Get the native view accessible for the web contents. | |
18 // Once initialized, this should always return a valid object, but the | |
19 // object may change as the user navigates. | |
20 virtual gfx::NativeViewAccessible GetNativeViewAccessible() = 0; | |
21 }; | |
22 | |
23 | |
24 } // namespace content | |
25 | |
26 #endif // CONTENT_BROWSER_RENDERER_HOST_LEGACY_RENDER_WIDGET_HOST_WIN_DELEGATE_
H_ | |
OLD | NEW |