Home
last modified time | relevance | path

Searched refs:builder_ (Results 1 – 3 of 3) sorted by relevance

/base/web/webview/ohos_adapter/pasteboard_adapter/src/
Dpasteboard_client_adapter_impl.cpp47 builder_ = std::make_shared<PasteDataRecord::Builder>(mimeType); in PasteDataRecordAdapterImpl()
48 if (builder_) { in PasteDataRecordAdapterImpl()
49 record_ = builder_->Build(); in PasteDataRecordAdapterImpl()
83 if (builder_) { in SetHtmlText()
84 record_ = builder_->SetHtmlText(htmlText).Build(); in SetHtmlText()
93 if (builder_) { in SetPlainText()
94 record_ = builder_->SetPlainText(plainText).Build(); in SetPlainText()
103 if (uriString.empty() || !builder_) { in SetUri()
108 record_ = builder_->SetUri(uri).Build(); in SetUri()
114 if (data.empty() || !builder_) { in SetCustomData()
[all …]
/base/web/webview/ohos_adapter/pasteboard_adapter/include/
Dpasteboard_client_adapter_impl.h58 std::shared_ptr<MiscServices::PasteDataRecord::Builder> builder_; variable
/base/web/webview/test/unittest/pasteboard_adapter/
Dpasteboard_client_adapter_test.cpp86 g_datarecordnull->builder_ = nullptr; in SetUpTestCase()
891 g_datarecord->record_ = g_datarecord->builder_->SetUri(nullptr).Build();
922 g_datarecord->record_ = g_datarecord->builder_->SetCustomData(nullptr).Build();