Chromium Code Reviews| 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 | 7 #pragma once |
| 8 | 8 |
| 9 #include "content/common/content_export.h" | |
| 10 | |
| 9 typedef struct _GdkDrawable GdkWindow; | 11 typedef struct _GdkDrawable GdkWindow; |
| 10 | 12 |
| 11 namespace WebKit { | 13 namespace WebKit { |
| 12 struct WebScreenInfo; | 14 struct WebScreenInfo; |
| 13 } | 15 } |
| 14 | 16 |
| 15 namespace content { | 17 namespace content { |
| 16 | 18 |
| 17 void GetScreenInfoFromNativeWindow( | 19 void CONTENT_EXPORT GetScreenInfoFromNativeWindow( |
|
Dirk Pranke
2011/11/11 01:52:23
Nit: the export comes before the return type.
| |
| 18 GdkWindow* gdk_window, WebKit::WebScreenInfo* results); | 20 GdkWindow* gdk_window, WebKit::WebScreenInfo* results); |
| 19 | 21 |
| 20 } // namespace content | 22 } // namespace content |
| 21 | 23 |
| 22 #endif // CONTENT_BROWSER_RENDERER_HOST_GTK_WINDOW_UTILS_H_ | 24 #endif // CONTENT_BROWSER_RENDERER_HOST_GTK_WINDOW_UTILS_H_ |
| OLD | NEW |