| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
| |
Implements handling of MDM enforced restriction preventing the user
from opening an incognito tab.
When enforced by MDM, the Incognito button on the tabs screen
is greyed out, and if tapped, presents a toast message informing
the user that the setting is managed by the administrator.
This commit includes basic unit tests.
Change-Id: I26fcf10cc954f63c8e4489dbac9ff148e90b0c94
|
|
|
|
|
|
|
| |
Also contains gyp changes to add a instrumentation test
target for Browser
Change-Id: I2ea26a4a57d9101c54f80f148c9333088016e141
|
|
|
|
| |
Change-Id: I580aa0301a1df55e7dbf84d9fd52a4ade57df49c
|
|
|
|
|
|
|
|
| |
When tabs were getting killed the state
of the Snapshot Tab was not getting saved
or restored.
Change-Id: I7bddb045b15a7c23fd210158389cf779c633fba6
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Implements handling of MDM enforced restriction preventing the user
from updating the 'Do Not Track' checkbox in the Privacy & Security
menu.
When enforced by MDM, the 'Do Not Track' menu entry is greyed out, and
if tapped, presents a toast message informing the user that the
setting is managed by the administrator. The checkbox reflects
the value set by MDM.
Included in this commit is the basic unit tests and a new
'MdmCheckBoxPreference' class that manages the display of the toast
message and makes it possible to update the state of the entry
immediately (instead of having to restart the menu to have a new
MDM setting take effect.
Change-Id: I931d80ccf80474120dba2d768a7a257e337bece2
|
|
|
|
|
|
| |
- Tab's capture API was not calling OnThumbnailUpdatedListener on
certain conditions. Modified the code to call OnThumbnailUpdatedListener
with empty bitmap to fix the UI hang issue.
|
|
|
|
|
|
|
|
|
|
| |
This change removes the old view before
reattaching the new view to the fmraelayout
It helps in propogating events such as touch
event to the correct webview.
Change-Id: I19b3d2bc0a869f7dc2bbc353f50d9bf9f9740976
|
|
|
|
|
|
|
| |
Topcontrol controls the viewport size.Browser now notifies the
engine when the viewport needs to be shrunk.
Change-Id: I996eb4e9561ffad605d2769d787c79e8b4e0e347
|
|
|
|
|
|
|
|
| |
Since interstitial error pages are already shown,
this eliminates the need for popup dialog to be
displayed in conjunction with it.
Change-Id: I1221bb1d2d3fe5837d2e85747ec1befa4ba4babe
|
|
|
|
|
|
|
|
| |
- Replaces ComboViewActivity for PhoneUi.
- Lives as part of the BrowserActivity's ViewTree.
- Avoids construction of ComboViewActivity everytime the bookmarks screen is opened.
Change-Id: Ic7042de731a4cc2107a297c9f7d4356bc2c30f2e
|
|
|
|
|
|
|
| |
Initially those permission were added as part of AutofillHandler
and code using those permissions is already removed.
Change-Id: I85e5ddce48f95c398959a2e64141c87e4c83e111
|
|
|
|
|
|
|
|
|
| |
Copy ComboViewActivity.java to ComboTabsAdapter.java
and ComboView.java
commit 3255876883b08a1704198254b493acd15b89d494
Change-Id: I85e5ddce48f95c398959a2e64141c87e4c83e033
|
|
|
|
|
|
| |
Java side. Reduced thread sleep time.
Change-Id: I293ed842d85e3835c1e8aeea6b496d25c092800f
|
|
|
|
|
|
|
|
|
| |
This commit implements the MDM restriction code for URL
blacklist/whitelist.
Also included is a fairly extensive unit test.
Change-Id: Icf78e1eb828e282acd9a32b5c3b47a12d5b72142
|
|
|
|
|
|
| |
The activity lifecycle was impacted because of
the way, process was getting killed in Exit dialog
This change fixes it.
|
|
|
|
|
|
|
|
|
|
|
|
| |
This is regression caused by previous patch where we tried to
make TextView to be multi line and scrollable. Fixed issue by
removing 'setMovementMethod' call on TextView which was consuming
onTouch event and due to which 'BrowserHistoryPage.onChildClick'
method was never getting called.
CR-Fixed: 804112
Change-Id: I085bf1d44b2f9e84adefb8180933a96c1d376310
|
|
|
|
|
|
|
|
|
|
| |
'feature_min_active_tabs'- min number of active tabs. By default
we keep number of active tabs as two for all devices including
low tier.
CR-Fixed: 804114
Change-Id: I085bf1d44b2f9e84adefb8180933a96c1d376323
|
|
|
|
|
|
|
|
|
|
| |
In case of downloading same file multiple
the download handler auto adds suffix to the
filename
Additional fix for mimetype
Change-Id: Ic441cc4796eba0119e44a8f0a7b33b6b43ec2c44
|
|
|
|
| |
Change-Id: Ic382071ef6cfdac1a45e187d331493fe15b0f1b3
|
|
|
|
|
|
|
|
|
| |
Allow new window till allowed max active tabs. Remove
confirmation dialog to display to the user when pop-up setting
is blocked from the settings menu as now we are using chromium
infobar for the same purpose.
Change-Id: I5233efafe5395d87094355bf7ff9d7490352c1ee
|
|
|
|
|
|
|
|
|
|
| |
Create a setting that tunes performance optimizations and improves the
power usage.
Automatically tune mode with the Power-saving mode of Android Lollipop+.
Also, when the phone drops below threshold for low battery, prompt user
to turn browser's power save mode on.
Change-Id: I64089a371de562f9a18c297eb09555733f020515
|
|
|
|
|
|
|
| |
We now test to ensure setting modes without first clearing
behaves as you would expect.
Change-Id: If3c54e1203ee5072dbabbbbaa0d33be7798810ca
|
|
|
|
|
| |
This helps in saving pages for offline reading only
for valid mimetypes.
|
|
|
|
|
|
|
|
|
|
|
| |
Homepage dialog activity was not saving search url text while
doing screen rotation. Fixed issue via saving url text inside
bundle when 'onSavedInstance' is called and restoring url
from bundle when onCreateDialog is called.
CR-Fixed: 724867
Change-Id: I85e5ddce48f95c398959a2e64141c87e4c83e022
|
|
|
|
|
|
|
|
| |
The download listener already implements on the
onDownloadStart, thus eliminating the need
for WebViewClient to reimplement the same API
Change-Id: I0873e9cf79f732461421ef44afa272fb351a27e7
|
|
|
|
|
|
|
| |
Refactored to include comparisons aganist proxy
values registered in native code.
Change-Id: I512ae01c25ea341d9fd77e568f5bc97c5f797fda
|
|
|
|
|
|
|
|
|
|
| |
Implemented triggering mechanism to transport MDM proxy settings to
native code.
Also modified unit tests to set mode to NULL instead of MODE_NONE.
There's a subtle difference.
Change-Id: I89f3873eb0398b4a4ac65553ed3c0ecf1b343399
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Unit tests to test various proxy modes' interaction with
ProxyChangeListener.
Also including fixes to bugs revealed by unit testing.
These tests use the Bundle communications mechanism defined by
MDM, but do not actually send data through the RestrictionsManager.
This is enough for unit testing since involving the
RestrictionsManager would be more of an integration/systems test.
Change-Id: Ia5e12ccb1997594673d954dfbe878c0f4846b14a
|
|
|
|
| |
Change-Id: I4f270a54519d38db1c0a487b429094e635f0db00
|
|
|
|
|
|
|
| |
- Broke tests up into more logical sub-tests
- Moved search restrictions test to 'tests' subdirectory and renamed to SearchRestrictionsTest.java
Change-Id: I514189661b545f2375ad68bd0ab308728bec998d
|
|
|
|
|
|
|
|
| |
This change will auto reload the page that failed to load due
to network connectivity problem when the network becomes
available.
Change-Id: I85e5ddce48f95c398959a2e64141c87e4c83e0ca
|
|
|
|
|
|
| |
CR-Fixed: 806100
Change-Id: Ia36d779044c6d840413fde227c356b34c169eece
|
|
|
|
|
|
|
| |
When changing the system language, the browser and
the sandbox process needs to be recreated
Change-Id: Ib8322bb36e05870288313c7168fbdc93df97d270
|
|
|
|
|
|
|
| |
The browser will capture the tab bitmap only after first
visual pixel has been drawn.
Change-Id: Ic9ae344c8ff5b39e5e2a76eaf08ba06bd825aef9
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Implement enforcement of the following chromium proxy restrictions:
ProxyMode, ProxyServer, ProxyBypassList
Originally cherry picked from 556a3ba3bb9dae768810181ace1e0b07fd5824c2.
Includes fix for search restriction unit test failures when
including proxy restrictions code.
Also added some logging for functional verification.
Change-Id: If7fc1d8be36fa600a3d974d6b584d504ed2faf71
|
|
|
|
| |
Change-Id: I71554e502c9543d44350a76218fd5052ee683cac
|
| |
|
|
|
|
|
|
|
|
| |
The names contained hold dark theme reference. The theme has
been changed to white. Removed the theme reference from the
logo names to make them generic.
Change-Id: I8f9ad4e83d6d353c6351c6365dabe47cb5a569ee
|
|
|
|
| |
Change-Id: I56b26cbefc0b58e3c0cea0d964ed6a4a60cc73a0
|
|
|
|
|
|
|
|
|
| |
Chrome Shell and SWE browser resource had same layout 'menu_item'
causing issues with certain build enviroment overlaying SWE browser
resource with Chrome Shell. Renamed SWE browser layout to avoid
one getting overlayed with another.
Change-Id: I8c4111c2bd2de046a67644293c82b5b7cfdda60f
|
|
|
|
| |
Change-Id: If56ae2f8e3d53878a02d54f4c3e53114cd23b676
|
|
|
|
|
|
|
|
|
|
| |
translateTitleBar
After pageload the titlebar is somehow getting an incorrect height causing the
requestTransparentRegion to not getting executed. Hence using the navigation bar height
instead
Change-Id: Icac0ff4b0b2a5ab53fda64795279e22c29547387
|
|
|
|
| |
Change-Id: I723003e9c3709c0c44911492583f94cb956dba91
|
|
|
|
|
|
|
|
|
|
|
| |
The bitmap of page was being sent as part of intent. The binder
was throwing an exception due to large size of bitmap. Removed
the bitmap from intent and added a static method in Controller
to expose the bitmap object.
CR-Fixed: SWE-4171
Change-Id: I9000b3ffa83e2846881fef5486bee07479a7b2ce
|
|
|
|
|
|
|
|
|
|
| |
- Add framework for reading and enforcing managed profile restrictions.
- Implement enforcement of search engine restriction.
- Add automated test for search engine restriction.
(cherry-picked from 4688934c52fa74e0c4280e4105e644f10221a8ed)
Change-Id: Ifb6018df584fedba42e86ab35d9bfa53b4d36ebe
|
|
|
|
|
|
|
|
|
|
| |
Fixed following issues
- Display reverts to browser's main settings panel from Privacy
and Security panel on screen rotation
- Crash when screen shows Clear Stored Data popup and device is
rotated
Change-Id: Iaf0c3aea2e8b8e77b449b540bc62f522040179ef
|
|
|
|
|
|
|
|
| |
The title, url and incognito state of the tab was
getting reset, when the webview was destroyed
by memory monitor. This change restores the current state
Change-Id: I65c6f85d1a33c5c9848d861b44352fc1757b8def
|
|
|
|
|
|
|
|
|
|
| |
The add bookmark popup was showing "Other Folder" as
the destination folder for the bookmark. It should show
"Bookmarks" folder.
CR-Fixed: 804106
Change-Id: Ifbc737e85bd82109442ce35ac0605be4c05ae8e5
|
|
|
|
| |
Change-Id: If52741ad5e34241aa9f928244942a33a91610e58
|
|
|
|
|
|
|
|
| |
Get a scaled down version of the screen-shot bitmap to reduce memory
consumption and system stress. Obtained bitmap is rescaled back
to full size via memory conserving RGB_565 format.
Change-Id: I711cca33ff03cc81edabd180e0174abbc999ad02
|