diff options
Diffstat (limited to 'shared/shared_globals.h')
-rw-r--r-- | shared/shared_globals.h | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/shared/shared_globals.h b/shared/shared_globals.h index c0b167269..314c7fbf1 100644 --- a/shared/shared_globals.h +++ b/shared/shared_globals.h @@ -42,11 +42,8 @@ #ifndef SHARED_GLOBALS_H #define SHARED_GLOBALS_H -#include "base/files/file_path.h" #include "third_party/WebKit/public/platform/WebScreenInfo.h" -#include <QString> - #ifdef QT_WEBENGINE_LOGGING #define QT_NOT_YET_IMPLEMENTED fprintf(stderr, "function %s not implemented! - %s:%d\n", __func__, __FILE__, __LINE__); #define QT_NOT_USED fprintf(stderr, "# function %s should not be used! - %s:%d\n", __func__, __FILE__, __LINE__); Q_UNREACHABLE(); @@ -55,25 +52,8 @@ #define QT_NOT_USED Q_UNREACHABLE(); // This will assert in debug. #endif -namespace content { -class WebContentsImpl; -class WebContentsViewPort; -class WebContentsViewDelegate; -class RenderViewHostDelegateView; -} // namespace content - class QWindow; void GetScreenInfoFromNativeWindow(QWindow* window, WebKit::WebScreenInfo* results); - -inline base::FilePath::StringType qStringToStringType(const QString &str) -{ -#if defined(OS_POSIX) - return str.toStdString(); -#elif defined(OS_WIN) - return str.toStdWString(); -#endif -} - #endif |