Mac: Fix performance issues with remote CoreAnimation
[chromium-blink-merge.git] / components / visitedlink / common / visitedlink_messages.h
blobc0877765f128ba03a73bd2a7bd65e6572dc53b82
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 // Multiply-included file, no traditional include guard.
6 #include <vector>
8 #include "base/basictypes.h"
9 #include "base/memory/shared_memory.h"
10 #include "content/public/common/common_param_traits_macros.h"
11 #include "ipc/ipc_message_macros.h"
13 #define IPC_MESSAGE_START VisitedLinkMsgStart
15 // History system notification that the visited link database has been
16 // replaced. It has one SharedMemoryHandle argument consisting of the table
17 // handle. This handle is valid in the context of the renderer
18 IPC_MESSAGE_CONTROL1(ChromeViewMsg_VisitedLink_NewTable,
19 base::SharedMemoryHandle)
21 // History system notification that a link has been added and the link
22 // coloring state for the given hash must be re-calculated.
23 IPC_MESSAGE_CONTROL1(ChromeViewMsg_VisitedLink_Add, std::vector<uint64>)
25 // History system notification that one or more history items have been
26 // deleted, which at this point means that all link coloring state must be
27 // re-calculated.
28 IPC_MESSAGE_CONTROL0(ChromeViewMsg_VisitedLink_Reset)