2752406: [LSC] Replace base::string16 with std::u16string in //ui

2752406
This commit is contained in:
John Kleinschmidt 2021-03-15 21:21:27 -04:00
parent d4bec23bde
commit 9e336f5d0c
8 changed files with 15 additions and 15 deletions

View file

@ -24,7 +24,7 @@ class SubmenuButton : public views::MenuButton {
void SetAcceleratorVisibility(bool visible);
void SetUnderlineColor(SkColor color);
base::char16 accelerator() const { return accelerator_; }
char16_t accelerator() const { return accelerator_; }
void GetAccessibleNodeData(ui::AXNodeData* node_data) override;
@ -37,14 +37,14 @@ class SubmenuButton : public views::MenuButton {
private:
bool GetUnderlinePosition(const base::string16& text,
base::char16* accelerator,
char16_t* accelerator,
int* start,
int* end) const;
void GetCharacterPosition(const base::string16& text,
int index,
int* pos) const;
base::char16 accelerator_ = 0;
char16_t accelerator_ = 0;
bool show_underline_ = false;