diff options
author | wjmaclean <wjmaclean@chromium.org> | 2015-10-29 14:10:09 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-10-29 21:11:46 +0000 |
commit | 70eb6d831495b034bc6c2ed259de428f933a8386 (patch) | |
tree | 56b61cc3bfda5dd8bfb4e16148b525824056c419 /extensions/common/features | |
parent | 784ffb68d74d58986d58aaa88e33573608f548ee (diff) | |
download | chromium_src-70eb6d831495b034bc6c2ed259de428f933a8386.zip chromium_src-70eb6d831495b034bc6c2ed259de428f933a8386.tar.gz chromium_src-70eb6d831495b034bc6c2ed259de428f933a8386.tar.bz2 |
Disable zoom bubble for PDF extension.
The location-bar zoom bubble is interfering with the material-design
top-toolbar in the PDF viewer. Since the viewer is a trusted extension,
we can disable the bubble for it.
BUG=538252
Review URL: https://codereview.chromium.org/1414643005
Cr-Commit-Position: refs/heads/master@{#356946}
Diffstat (limited to 'extensions/common/features')
-rw-r--r-- | extensions/common/features/behavior_feature.cc | 2 | ||||
-rw-r--r-- | extensions/common/features/behavior_feature.h | 1 |
2 files changed, 3 insertions, 0 deletions
diff --git a/extensions/common/features/behavior_feature.cc b/extensions/common/features/behavior_feature.cc index 393a76b..25dddbc 100644 --- a/extensions/common/features/behavior_feature.cc +++ b/extensions/common/features/behavior_feature.cc @@ -13,4 +13,6 @@ const char* const BehaviorFeature::kWhitelistedForIncognito = const char* const BehaviorFeature::kDoNotSync = "do_not_sync"; +const char* const BehaviorFeature::kZoomWithoutBubble = "zoom_without_bubble"; + } // namespace extensions diff --git a/extensions/common/features/behavior_feature.h b/extensions/common/features/behavior_feature.h index 62f78ea..cddbe8f 100644 --- a/extensions/common/features/behavior_feature.h +++ b/extensions/common/features/behavior_feature.h @@ -22,6 +22,7 @@ class BehaviorFeature : public SimpleFeature { static const char* const kServiceWorker; static const char* const kWhitelistedForIncognito; static const char* const kDoNotSync; + static const char* const kZoomWithoutBubble; }; } // namespace extensions |