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

Unified Diff: components/dom_distiller/content/common/distiller_messages.h

Issue 1434433002: Pass distillability updates from renderer to browser (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@model
Patch Set: fix gn deps Created 5 years, 1 month 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/dom_distiller/content/common/distiller_messages.h
diff --git a/components/dom_distiller/content/common/distiller_messages.h b/components/dom_distiller/content/common/distiller_messages.h
new file mode 100644
index 0000000000000000000000000000000000000000..de04a1e840ce3b9d67e7d9a5ec3cb0c1e1b12d79
--- /dev/null
+++ b/components/dom_distiller/content/common/distiller_messages.h
@@ -0,0 +1,19 @@
+// Copyright 2015 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+// Multiply-included message file, hence no include guard.
+
+#include <string>
+#include <vector>
+
+#include "base/strings/string16.h"
+#include "content/public/common/common_param_traits.h"
+#include "content/public/common/common_param_traits_macros.h"
+#include "ipc/ipc_message_macros.h"
+#include "ipc/ipc_message_utils.h"
+
+#define IPC_MESSAGE_START DistillerMsgStart
+
+// Whether a page is suitable for DOM distiller to process.
+IPC_MESSAGE_ROUTED2(FrameHostMsg_Distillability, bool, bool)
Tom Sepez 2015/11/13 17:00:44 nit: add comment explaining what each bool means.
wychen 2015/11/13 18:04:56 Done.

Powered by Google App Engine
This is Rietveld 408576698