OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef CONTENT_BROWSER_RENDERER_HOST_GTK_WINDOW_UTILS_H_ | 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_GTK_WINDOW_UTILS_H_ |
6 #define CONTENT_BROWSER_RENDERER_HOST_GTK_WINDOW_UTILS_H_ | 6 #define CONTENT_BROWSER_RENDERER_HOST_GTK_WINDOW_UTILS_H_ |
7 #pragma once | |
8 | 7 |
9 #include "content/common/content_export.h" | 8 #include "content/common/content_export.h" |
10 | 9 |
11 typedef struct _GdkDrawable GdkWindow; | 10 typedef struct _GdkDrawable GdkWindow; |
12 | 11 |
13 namespace WebKit { | 12 namespace WebKit { |
14 struct WebScreenInfo; | 13 struct WebScreenInfo; |
15 } | 14 } |
16 | 15 |
17 namespace content { | 16 namespace content { |
18 | 17 |
19 CONTENT_EXPORT void GetScreenInfoFromNativeWindow( | 18 CONTENT_EXPORT void GetScreenInfoFromNativeWindow( |
20 GdkWindow* gdk_window, WebKit::WebScreenInfo* results); | 19 GdkWindow* gdk_window, WebKit::WebScreenInfo* results); |
21 | 20 |
22 } // namespace content | 21 } // namespace content |
23 | 22 |
24 #endif // CONTENT_BROWSER_RENDERER_HOST_GTK_WINDOW_UTILS_H_ | 23 #endif // CONTENT_BROWSER_RENDERER_HOST_GTK_WINDOW_UTILS_H_ |
OLD | NEW |