修改头文件定义位置

Signed-off-by: Laiganlu <laiganlu@huawei.com>
This commit is contained in:
Laiganlu 2024-11-22 11:57:41 +08:00
parent cc76a2e8f0
commit 08569302ac
2 changed files with 5 additions and 3 deletions

View File

@ -419,9 +419,13 @@ protected:
bool interactive_ = true;
/**
* Window Layout
* Window Pattern
*/
void FlushLayoutSize(int32_t width, int32_t height) override;
/**
* Window Layout
*/
sptr<FutureCallback> layoutCallback_ = nullptr;
void UpdateVirtualPixelRatio(const sptr<Display>& display);
WMError GetVirtualPixelRatio(float& vpr);

View File

@ -2190,8 +2190,6 @@ HWTEST_F(WindowSessionImplTest4, FlushLayoutSize, Function | SmallTest | Level2)
sptr<WindowOption> option_ = sptr<WindowOption>::MakeSptr();
option_->SetWindowName("FlushLayoutSize");
sptr<WindowSessionImpl> window_ = sptr<WindowSessionImpl>::MakeSptr(option_);
ASSERT_NE(window_, nullptr);
ASSERT_NE(window_->property_, nullptr);
window_->property_->SetWindowType(WindowType::APP_SUB_WINDOW_BASE);
int32_t width = 1320;
int32_t height = 2710;