mirror of
https://gitee.com/openharmony/window_window_manager
synced 2024-11-26 16:40:56 +00:00
修改头文件定义位置
Signed-off-by: Laiganlu <laiganlu@huawei.com>
This commit is contained in:
parent
cc76a2e8f0
commit
08569302ac
@ -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);
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user