summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPeter Varga <pvarga@inf.u-szeged.hu>2021-03-04 13:50:45 +0100
committerPeter Varga <pvarga@inf.u-szeged.hu>2021-03-10 08:56:38 +0100
commitf121523512ab70db7d9b1e639841c9ebc3eae9a1 (patch)
tree57cef8f13a476eadcc893841661dfe5fed39a0b4
parent67391dc447faf78d2893a52bc415e8372e8ec8e9 (diff)
Remove ui/snapshot overrides for aura
We do build snapshot_aura.cc (Linux) and ui/snapshot_win.cc (Windows). Change-Id: I8b0459a761b76a411371ea175103bd7e864d6417 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
-rw-r--r--src/core/chromium_overrides.cpp48
1 files changed, 0 insertions, 48 deletions
diff --git a/src/core/chromium_overrides.cpp b/src/core/chromium_overrides.cpp
index 979f91ba2..8a385e4a8 100644
--- a/src/core/chromium_overrides.cpp
+++ b/src/core/chromium_overrides.cpp
@@ -50,7 +50,6 @@
#include "ui/base/dragdrop/os_exchange_data_provider_factory.h"
#include "ui/events/devices/device_data_manager.h"
#include "ui/events/platform/platform_event_source.h"
-#include "ui/snapshot/snapshot.h"
#include "ppapi/buildflags/buildflags.h"
#include <QGuiApplication>
@@ -150,53 +149,6 @@ std::vector<AccessibilityTreeFormatter::TestPass> AccessibilityTreeFormatter::Ge
}
} // namespace content
-#if defined(USE_AURA)
-namespace ui {
-
-bool GrabWindowSnapshot(gfx::NativeWindow window,
- const gfx::Rect& snapshot_bounds,
- gfx::Image* image)
-{
- NOTIMPLEMENTED();
- return false;
-}
-
-bool GrabViewSnapshot(gfx::NativeView view,
- const gfx::Rect& snapshot_bounds,
- gfx::Image* image)
-{
- NOTIMPLEMENTED();
- return false;
-}
-
-void GrabWindowSnapshotAndScaleAsync(gfx::NativeWindow window,
- const gfx::Rect& source_rect,
- const gfx::Size& target_size,
- GrabWindowSnapshotAsyncCallback callback)
-{
- NOTIMPLEMENTED();
- std::move(callback).Run(gfx::Image());
-}
-
-void GrabWindowSnapshotAsync(gfx::NativeWindow window,
- const gfx::Rect& source_rect,
- GrabWindowSnapshotAsyncCallback callback)
-{
- NOTIMPLEMENTED();
- std::move(callback).Run(gfx::Image());
-}
-
-void GrabViewSnapshotAsync(gfx::NativeView view,
- const gfx::Rect& source_rect,
- GrabWindowSnapshotAsyncCallback callback)
-{
- NOTIMPLEMENTED();
- std::move(callback).Run(gfx::Image());
-}
-
-} // namespace ui
-#endif // defined(USE_AURA)
-
std::unique_ptr<ui::OSExchangeDataProvider> ui::OSExchangeDataProviderFactory::CreateProvider()
{
return nullptr;