-
Notifications
You must be signed in to change notification settings - Fork 893
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add built-in support for the wayback machine #3561
Merged
Changes from all commits
Commits
Show all changes
21 commits
Select commit
Hold shift + click to select a range
ed1a1c4
Add basic support for Wayback Machine extension
cezaraugusto 2d0b5f0
Provide a switch in settings for Wayback Machine
cezaraugusto bea69f0
Add browser tests for Wayback Machine
cezaraugusto 4f55bf0
Create `Help Tips` section in settings
cezaraugusto f09faa3
Refactor and cleanup
simonhong 9513483
Use TabHelper for detecting 404 response instead of using extension
simonhong fc92c74
Implement infobar for Wayback machine
simonhong f9957ab
Introduce WaybackMachineURLFetcher
simonhong 1187c44
Refactor InfoBar view classes
simonhong 04eeb7f
Hide wayback machine option if it's not built
simonhong 9271d20
Show throbber animation while wayback url fetching is in progress
simonhong c1d72e6
Apply real wayback infobar image resources
simonhong 7f897aa
Enable wayback machine only on desktop build
simonhong d92dd2b
Replace sad folder icon
simonhong 24a7389
Apply brave theme color to separator and icon
simonhong 45d0910
Add wayback query url to url_constatns.h
simonhong 17e7431
Fix lint error
simonhong 9cf41fa
Make brave_wayback_machine component module
simonhong 7402ff1
Added missing sentence into copyright paragraph
simonhong d0c0cd8
Introduce AttachTabHelperIfNeeded to wayback machine delegate impl
simonhong 84400ed
Change BraveWaybackMahcineDelegate interface
simonhong File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
Validating CODEOWNERS rules …
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
// Copyright (c) 2019 The Brave Authors. All rights reserved. | ||
// This Source Code Form is subject to the terms of the Mozilla Public | ||
// License, v. 2.0. If a copy of the MPL was not distributed with this file, | ||
// You can obtain one at http://mozilla.org/MPL/2.0/. | ||
|
||
CANVAS_DIMENSIONS, 22, | ||
MOVE_TO, 8.77f, 2.75f, | ||
R_CUBIC_TO, 0.15f, 0, 0.29f, 0.04f, 0.41f, 0.13f, | ||
LINE_TO, 11.23f, 4.26f, | ||
R_H_LINE_TO, 7.22f, | ||
R_CUBIC_TO, 0.82f, 0, 1.49f, 0.68f, 1.49f, 1.51f, | ||
R_V_LINE_TO, 10.59f, | ||
R_CUBIC_TO, 0, 0.83f, -0.67f, 1.51f, -1.49f, 1.51f, | ||
H_LINE_TO, 3.55f, | ||
R_CUBIC_TO, -0.82f, 0, -1.49f, -0.68f, -1.49f, -1.51f, | ||
R_V_LINE_TO, -12.1f, | ||
R_CUBIC_TO, 0, -0.83f, 0.67f, -1.51f, 1.49f, -1.51f, | ||
H_LINE_TO, 8.77f, | ||
CLOSE, | ||
R_MOVE_TO, -0.23f, 1.51f, | ||
R_H_LINE_TO, -4.99f, | ||
R_V_LINE_TO, 12.1f, | ||
H_LINE_TO, 18.45f, | ||
V_LINE_TO, 5.78f, | ||
R_H_LINE_TO, -7.44f, | ||
R_CUBIC_TO, -0.07f, 0, -0.15f, -0.01f, -0.22f, -0.03f, | ||
R_CUBIC_TO, -0.08f, -0.02f, -0.15f, -0.06f, -0.21f, -0.1f, | ||
LINE_TO, 8.54f, 4.26f, | ||
CLOSE, | ||
MOVE_TO, 11, 11.07f, | ||
R_CUBIC_TO, 1.18f, 0, 2.34f, 0.49f, 3.46f, 1.43f, | ||
R_CUBIC_TO, 0.32f, 0.27f, 0.36f, 0.74f, 0.1f, 1.07f, | ||
R_CUBIC_TO, -0.26f, 0.32f, -0.73f, 0.36f, -1.05f, 0.1f, | ||
CUBIC_TO, 12.64f, 12.93f, 11.81f, 12.58f, 11, 12.58f, | ||
R_CUBIC_TO, -0.81f, 0, -1.64f, 0.35f, -2.5f, 1.08f, | ||
R_CUBIC_TO, -0.32f, 0.27f, -0.79f, 0.22f, -1.05f, -0.1f, | ||
R_CUBIC_TO, -0.26f, -0.32f, -0.22f, -0.8f, 0.1f, -1.07f, | ||
CUBIC_TO, 8.66f, 11.56f, 9.82f, 11.07f, 11, 11.07f, | ||
CLOSE, | ||
R_MOVE_TO, -2.23f, -3.02f, | ||
R_CUBIC_TO, 0.41f, 0, 0.74f, 0.34f, 0.74f, 0.76f, | ||
R_CUBIC_TO, 0, 0.42f, -0.33f, 0.76f, -0.74f, 0.76f, | ||
R_CUBIC_TO, -0.41f, 0, -0.74f, -0.34f, -0.74f, -0.76f, | ||
R_CUBIC_TO, 0, -0.42f, 0.33f, -0.76f, 0.74f, -0.76f, | ||
CLOSE, | ||
R_MOVE_TO, 4.47f, 0, | ||
R_CUBIC_TO, 0.41f, 0, 0.74f, 0.34f, 0.74f, 0.76f, | ||
R_CUBIC_TO, 0, 0.42f, -0.33f, 0.76f, -0.74f, 0.76f, | ||
R_CUBIC_TO, -0.41f, 0, -0.74f, -0.34f, -0.74f, -0.76f, | ||
R_CUBIC_TO, 0, -0.42f, 0.33f, -0.76f, 0.74f, -0.76f, | ||
CLOSE |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Cheer up, folder icon; it's Friday! 😄