This repository has been archived by the owner. It is now read-only.
Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Showing
with
167 additions
and 0 deletions.
- +4 −0 Client.xcodeproj/project.pbxproj
- +7 −0 Client/Frontend/Browser/TabToolbar.swift
- +3 −0 Client/Frontend/Browser/URLBarView.swift
- +6 −0 Client/Frontend/Widgets/TabsButton.swift
- +6 −0 Cliqz/Resources/Cliqz.xcassets/TabToolbar/Contents.json
- BIN Cliqz/Resources/Cliqz.xcassets/TabToolbar/cliqz-nav-back.imageset/Back.png
- BIN Cliqz/Resources/Cliqz.xcassets/TabToolbar/cliqz-nav-back.imageset/Back@2x.png
- BIN Cliqz/Resources/Cliqz.xcassets/TabToolbar/cliqz-nav-back.imageset/Back@3x.png
- +23 −0 Cliqz/Resources/Cliqz.xcassets/TabToolbar/cliqz-nav-back.imageset/Contents.json
- +23 −0 Cliqz/Resources/Cliqz.xcassets/TabToolbar/cliqz-nav-forward.imageset/Contents.json
- BIN Cliqz/Resources/Cliqz.xcassets/TabToolbar/cliqz-nav-forward.imageset/Forward.png
- BIN Cliqz/Resources/Cliqz.xcassets/TabToolbar/cliqz-nav-forward.imageset/Forward@2x.png
- BIN Cliqz/Resources/Cliqz.xcassets/TabToolbar/cliqz-nav-forward.imageset/Forward@3x.png
- BIN Cliqz/Resources/Cliqz.xcassets/TabToolbar/cliqz-nav-menu.imageset/Burger_Menu.png
- BIN Cliqz/Resources/Cliqz.xcassets/TabToolbar/cliqz-nav-menu.imageset/Burger_Menu@2x.png
- BIN Cliqz/Resources/Cliqz.xcassets/TabToolbar/cliqz-nav-menu.imageset/Burger_Menu@3x.png
- +23 −0 Cliqz/Resources/Cliqz.xcassets/TabToolbar/cliqz-nav-menu.imageset/Contents.json
- +23 −0 Cliqz/Resources/Cliqz.xcassets/TabToolbar/cliqz-nav-refresh.imageset/Contents.json
- BIN Cliqz/Resources/Cliqz.xcassets/TabToolbar/cliqz-nav-refresh.imageset/Refresh.png
- BIN Cliqz/Resources/Cliqz.xcassets/TabToolbar/cliqz-nav-refresh.imageset/Refresh@2x.png
- BIN Cliqz/Resources/Cliqz.xcassets/TabToolbar/cliqz-nav-refresh.imageset/Refresh@3x.png
- +23 −0 Cliqz/Resources/Cliqz.xcassets/TabToolbar/cliqz-nav-stop.imageset/Contents.json
- BIN Cliqz/Resources/Cliqz.xcassets/TabToolbar/cliqz-nav-stop.imageset/Stop.png
- BIN Cliqz/Resources/Cliqz.xcassets/TabToolbar/cliqz-nav-stop.imageset/Stop@2x.png
- BIN Cliqz/Resources/Cliqz.xcassets/TabToolbar/cliqz-nav-stop.imageset/Stop@3x.png
- +21 −0 Cliqz/URLBar/CliqzTabToolbar.swift
- +5 −0 Cliqz/URLBar/CliqzURLBar.swift
| @@ -0,0 +1,6 @@ | ||
| { | ||
| "info" : { | ||
| "version" : 1, | ||
| "author" : "xcode" | ||
| } | ||
| } |
Binary file not shown.
Binary file not shown.
Binary file not shown.
| @@ -0,0 +1,23 @@ | ||
| { | ||
| "images" : [ | ||
| { | ||
| "idiom" : "universal", | ||
| "filename" : "Back.png", | ||
| "scale" : "1x" | ||
| }, | ||
| { | ||
| "idiom" : "universal", | ||
| "filename" : "Back@2x.png", | ||
| "scale" : "2x" | ||
| }, | ||
| { | ||
| "idiom" : "universal", | ||
| "filename" : "Back@3x.png", | ||
| "scale" : "3x" | ||
| } | ||
| ], | ||
| "info" : { | ||
| "version" : 1, | ||
| "author" : "xcode" | ||
| } | ||
| } |
| @@ -0,0 +1,23 @@ | ||
| { | ||
| "images" : [ | ||
| { | ||
| "idiom" : "universal", | ||
| "filename" : "Forward.png", | ||
| "scale" : "1x" | ||
| }, | ||
| { | ||
| "idiom" : "universal", | ||
| "filename" : "Forward@2x.png", | ||
| "scale" : "2x" | ||
| }, | ||
| { | ||
| "idiom" : "universal", | ||
| "filename" : "Forward@3x.png", | ||
| "scale" : "3x" | ||
| } | ||
| ], | ||
| "info" : { | ||
| "version" : 1, | ||
| "author" : "xcode" | ||
| } | ||
| } |
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
| @@ -0,0 +1,23 @@ | ||
| { | ||
| "images" : [ | ||
| { | ||
| "idiom" : "universal", | ||
| "filename" : "Burger_Menu.png", | ||
| "scale" : "1x" | ||
| }, | ||
| { | ||
| "idiom" : "universal", | ||
| "filename" : "Burger_Menu@2x.png", | ||
| "scale" : "2x" | ||
| }, | ||
| { | ||
| "idiom" : "universal", | ||
| "filename" : "Burger_Menu@3x.png", | ||
| "scale" : "3x" | ||
| } | ||
| ], | ||
| "info" : { | ||
| "version" : 1, | ||
| "author" : "xcode" | ||
| } | ||
| } |
| @@ -0,0 +1,23 @@ | ||
| { | ||
| "images" : [ | ||
| { | ||
| "idiom" : "universal", | ||
| "filename" : "Refresh.png", | ||
| "scale" : "1x" | ||
| }, | ||
| { | ||
| "idiom" : "universal", | ||
| "filename" : "Refresh@2x.png", | ||
| "scale" : "2x" | ||
| }, | ||
| { | ||
| "idiom" : "universal", | ||
| "filename" : "Refresh@3x.png", | ||
| "scale" : "3x" | ||
| } | ||
| ], | ||
| "info" : { | ||
| "version" : 1, | ||
| "author" : "xcode" | ||
| } | ||
| } |
Binary file not shown.
Binary file not shown.
Binary file not shown.
| @@ -0,0 +1,23 @@ | ||
| { | ||
| "images" : [ | ||
| { | ||
| "idiom" : "universal", | ||
| "filename" : "Stop.png", | ||
| "scale" : "1x" | ||
| }, | ||
| { | ||
| "idiom" : "universal", | ||
| "filename" : "Stop@2x.png", | ||
| "scale" : "2x" | ||
| }, | ||
| { | ||
| "idiom" : "universal", | ||
| "filename" : "Stop@3x.png", | ||
| "scale" : "3x" | ||
| } | ||
| ], | ||
| "info" : { | ||
| "version" : 1, | ||
| "author" : "xcode" | ||
| } | ||
| } |
Binary file not shown.
Binary file not shown.
Binary file not shown.
| @@ -0,0 +1,21 @@ | ||
| // | ||
| // CliqzTabToolbar.swift | ||
| // Client | ||
| // | ||
| // Created by Mahmoud Adam on 3/27/18. | ||
| // Copyright © 2018 Mozilla. All rights reserved. | ||
| // | ||
| import UIKit | ||
|
|
||
| class CliqzTabToolbarHelper: TabToolbarHelper { | ||
|
|
||
| override init(toolbar: TabToolbarProtocol) { | ||
| super.init(toolbar: toolbar) | ||
| toolbar.backButton.setImage(UIImage.templateImageNamed("cliqz-nav-back"), for: .normal) | ||
| toolbar.forwardButton.setImage(UIImage.templateImageNamed("cliqz-nav-forward"), for: .normal) | ||
| toolbar.stopReloadButton.setImage(UIImage.templateImageNamed("cliqz-nav-refresh"), for: .normal) | ||
| toolbar.menuButton.setImage(UIImage.templateImageNamed("cliqz-nav-menu"), for: .normal) | ||
| } | ||
|
|
||
| } |