summaryrefslogtreecommitdiffstats
path: root/chromium/webkit/child/webkitplatformsupport_child_impl.h
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/webkit/child/webkitplatformsupport_child_impl.h')
-rw-r--r--chromium/webkit/child/webkitplatformsupport_child_impl.h68
1 files changed, 0 insertions, 68 deletions
diff --git a/chromium/webkit/child/webkitplatformsupport_child_impl.h b/chromium/webkit/child/webkitplatformsupport_child_impl.h
deleted file mode 100644
index 43e447d00e1..00000000000
--- a/chromium/webkit/child/webkitplatformsupport_child_impl.h
+++ /dev/null
@@ -1,68 +0,0 @@
-// // Copyright 2013 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.
-
-#ifndef WEBKIT_CHILD_WEBKITPLATFORMSUPPORT_CHILD_IMPL_H_
-#define WEBKIT_CHILD_WEBKITPLATFORMSUPPORT_CHILD_IMPL_H_
-
-#include "base/threading/thread_local_storage.h"
-#include "webkit/child/webfallbackthemeengine_impl.h"
-#include "webkit/child/webkit_child_export.h"
-#include "webkit/child/webkitplatformsupport_impl.h"
-
-#if defined(USE_DEFAULT_RENDER_THEME)
-#include "webkit/child/webthemeengine_impl_default.h"
-#elif defined(OS_WIN)
-#include "webkit/child/webthemeengine_impl_win.h"
-#elif defined(OS_MACOSX)
-#include "webkit/child/webthemeengine_impl_mac.h"
-#elif defined(OS_ANDROID)
-#include "webkit/child/webthemeengine_impl_android.h"
-#endif
-
-namespace webkit_glue {
-
-class FlingCurveConfiguration;
-
-class WEBKIT_CHILD_EXPORT WebKitPlatformSupportChildImpl :
- public WebKitPlatformSupportImpl {
- public:
- WebKitPlatformSupportChildImpl();
- virtual ~WebKitPlatformSupportChildImpl();
-
- // Platform methods (partial implementation):
- virtual blink::WebThemeEngine* themeEngine();
- virtual blink::WebFallbackThemeEngine* fallbackThemeEngine();
-
- void SetFlingCurveParameters(
- const std::vector<float>& new_touchpad,
- const std::vector<float>& new_touchscreen);
-
- virtual blink::WebGestureCurve* createFlingAnimationCurve(
- int device_source,
- const blink::WebFloatPoint& velocity,
- const blink::WebSize& cumulative_scroll) OVERRIDE;
-
- virtual blink::WebThread* createThread(const char* name);
- virtual blink::WebThread* currentThread();
-
- virtual void didStartWorkerRunLoop(
- const blink::WebWorkerRunLoop& runLoop) OVERRIDE;
- virtual void didStopWorkerRunLoop(
- const blink::WebWorkerRunLoop& runLoop) OVERRIDE;
-
- virtual blink::WebDiscardableMemory* allocateAndLockDiscardableMemory(
- size_t bytes);
-
- private:
- static void DestroyCurrentThread(void*);
-
- WebThemeEngineImpl native_theme_engine_;
- WebFallbackThemeEngineImpl fallback_theme_engine_;
- base::ThreadLocalStorage::Slot current_thread_slot_;
- scoped_ptr<FlingCurveConfiguration> fling_curve_configuration_;
-};
-
-} // namespace webkit_glue
-
-#endif // WEBKIT_CHILD_WEBKITPLATFORMSUPPORT_CHILD_IMPL_H_