Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(137)

Unified Diff: components/offline_pages/core/client_policy_controller.h

Issue 2640923003: Remove popup overlay from MHTML when requested (Closed)
Patch Set: Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: components/offline_pages/core/client_policy_controller.h
diff --git a/components/offline_pages/core/client_policy_controller.h b/components/offline_pages/core/client_policy_controller.h
index 5e5cd21467a6901c41f4bdebd7e6949207cadeb6..32a4484b55136147e098f8e3a0d86bb6b5e2726c 100644
--- a/components/offline_pages/core/client_policy_controller.h
+++ b/components/offline_pages/core/client_policy_controller.h
@@ -56,6 +56,10 @@ class ClientPolicyController {
bool IsRestrictedToOriginalTab(const std::string& name_space) const;
const std::vector<std::string>& GetNamespacesRestrictedToOriginalTab() const;
+ // Returns whether to remove popup overlay that obstructs viewing normal
+ // content.
+ bool ShouldRemovePopupOverlay(const std::string& name_space) const;
fgorski 2017/01/19 17:59:08 I've just discussed this with Dmitry. 2 comments:
jianli 2017/01/19 23:56:10 Changed to pass the background save info in SavePa
+
void AddPolicyForTest(const std::string& name_space,
const OfflinePageClientPolicyBuilder& builder);

Powered by Google App Engine
This is Rietveld 408576698