Skip to content
This repository has been archived by the owner on Jan 4, 2019. It is now read-only.

Remove electron file_dialog implementation #385

Closed
wants to merge 1 commit into from
Closed

Conversation

darkdh
Copy link
Member

@darkdh darkdh commented Nov 11, 2017

@darkdh darkdh self-assigned this Nov 11, 2017
darkdh added a commit to brave/browser-laptop that referenced this pull request Nov 11, 2017
darkdh added a commit to brave/browser-laptop that referenced this pull request Nov 15, 2017
@darkdh
Copy link
Member Author

darkdh commented Nov 16, 2017

Tested on all platforms. Ready for review.

darkdh added a commit to brave/browser-laptop that referenced this pull request Nov 16, 2017
requires brave/muon#385

Auditors: @bridiver, @bbondy, @bsclifton

Test Plan:
Specified in PR
settings.default_path.Append(base::FilePath::FromUTF8Unsafe(url));
settings.type = ui::SelectFileDialog::SELECT_SAVEAS_FILE;
std::vector<base::FilePath::StringType> extensions;
extensions.push_back(
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why json?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

because the performance profile will be saved as json
screen shot 2017-12-28 at 1 55 22 pm

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think this should be specific to the performance profile

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I will remove it.

@@ -0,0 +1,163 @@
// Copyright (c) 2017 Brave Authors. All rights reserved.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can we use file_select_helper instead or would that be a lot more work?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

it will requires more extra work including whole API interfaces changes. Can we do it as follow-up?

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

the api for browser-laptop or just internal muon?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think it is both, they all use the same file_dialog interfaces now

@darkdh
Copy link
Member Author

darkdh commented Jan 11, 2018

working on using extensions::FileEntryPicker

darkdh added a commit to brave/browser-laptop that referenced this pull request Jan 12, 2018
requires brave/muon#385

Auditors: @bridiver, @bbondy, @bsclifton

Test Plan:
Specified in PR
@darkdh
Copy link
Member Author

darkdh commented Jan 12, 2018

DONE! Please review it again @bridiver

@bridiver
Copy link
Collaborator

merged as part of C64

@bridiver bridiver closed this Jan 27, 2018
darkdh added a commit to brave/browser-laptop that referenced this pull request Jan 29, 2018
requires brave/muon#385

Auditors: @bridiver, @bbondy, @bsclifton

Test Plan:
Specified in PR
darkdh added a commit to brave/browser-laptop that referenced this pull request Jan 29, 2018
requires brave/muon#385

Auditors: @bridiver, @bbondy, @bsclifton

Test Plan:
Specified in PR
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Using ui::SelectFileDialog to supersede ui::file_dialog
2 participants