Flutter Engine
The Flutter Engine
Namespaces | Macros
direct_manipulation.cc File Reference
#include "flutter/fml/logging.h"
#include <algorithm>
#include "flutter/shell/platform/windows/direct_manipulation.h"
#include "flutter/shell/platform/windows/flutter_window.h"
#include "flutter/shell/platform/windows/window_binding_handler_delegate.h"

Go to the source code of this file.

Namespaces

namespace  flutter
 

Macros

#define RETURN_IF_FAILED(operation)
 
#define WARN_IF_FAILED(operation)
 

Macro Definition Documentation

◆ RETURN_IF_FAILED

#define RETURN_IF_FAILED (   operation)
Value:
if (FAILED(operation)) { \
FML_LOG(ERROR) << #operation << " failed"; \
manager_ = nullptr; \
updateManager_ = nullptr; \
viewport_ = nullptr; \
return -1; \
}
static void operation(T operation, uint32_t &a, uint32_t b, uint32_t c, uint32_t d, uint32_t x, uint8_t s, uint32_t t)
Definition: SkMD5.cpp:144
#define ERROR(message)
Definition: elf_loader.cc:260
#define FAILED(hr)

Definition at line 13 of file direct_manipulation.cc.

◆ WARN_IF_FAILED

#define WARN_IF_FAILED (   operation)
Value:
if (FAILED(operation)) { \
FML_LOG(ERROR) << #operation << " failed"; \
}

Definition at line 22 of file direct_manipulation.cc.