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

Side by Side Diff: chrome/common/render_messages.h

Issue 2544883006: Cleanup: Replace NTPLoggingTileSource by ntp_tiles::NTPTileSource (Closed)
Patch Set: tests Created 4 years 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 unified diff | Download patch
« no previous file with comments | « chrome/common/DEPS ('k') | chrome/common/search/ntp_logging_events.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 // Multiply-included file, no traditional include guard. 5 // Multiply-included file, no traditional include guard.
6 #include <stdint.h> 6 #include <stdint.h>
7 #include <string> 7 #include <string>
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/files/file_path.h" 10 #include "base/files/file_path.h"
11 #include "base/strings/string16.h" 11 #include "base/strings/string16.h"
12 #include "base/time/time.h" 12 #include "base/time/time.h"
13 #include "build/build_config.h" 13 #include "build/build_config.h"
14 #include "chrome/common/features.h" 14 #include "chrome/common/features.h"
15 #include "chrome/common/search/instant_types.h" 15 #include "chrome/common/search/instant_types.h"
16 #include "chrome/common/search/ntp_logging_events.h" 16 #include "chrome/common/search/ntp_logging_events.h"
17 #include "chrome/common/web_application_info.h" 17 #include "chrome/common/web_application_info.h"
18 #include "components/content_settings/core/common/content_settings.h" 18 #include "components/content_settings/core/common/content_settings.h"
19 #include "components/content_settings/core/common/content_settings_pattern.h" 19 #include "components/content_settings/core/common/content_settings_pattern.h"
20 #include "components/content_settings/core/common/content_settings_types.h" 20 #include "components/content_settings/core/common/content_settings_types.h"
21 #include "components/ntp_tiles/ntp_tile_source.h"
21 #include "components/omnibox/common/omnibox_focus_state.h" 22 #include "components/omnibox/common/omnibox_focus_state.h"
22 #include "content/public/common/browser_controls_state.h" 23 #include "content/public/common/browser_controls_state.h"
23 #include "content/public/common/webplugininfo.h" 24 #include "content/public/common/webplugininfo.h"
24 #include "ipc/ipc_channel_handle.h" 25 #include "ipc/ipc_channel_handle.h"
25 #include "ipc/ipc_message_macros.h" 26 #include "ipc/ipc_message_macros.h"
26 #include "ipc/ipc_platform_file.h" 27 #include "ipc/ipc_platform_file.h"
27 #include "ppapi/features/features.h" 28 #include "ppapi/features/features.h"
28 #include "third_party/WebKit/public/web/WebConsoleMessage.h" 29 #include "third_party/WebKit/public/web/WebConsoleMessage.h"
29 #include "third_party/WebKit/public/web/WebWindowFeatures.h" 30 #include "third_party/WebKit/public/web/WebWindowFeatures.h"
30 #include "ui/base/window_open_disposition.h" 31 #include "ui/base/window_open_disposition.h"
(...skipping 133 matching lines...) Expand 10 before | Expand all | Expand 10 after
164 IPC_STRUCT_TRAITS_MEMBER(image_vertical_alignment) 165 IPC_STRUCT_TRAITS_MEMBER(image_vertical_alignment)
165 IPC_STRUCT_TRAITS_MEMBER(image_tiling) 166 IPC_STRUCT_TRAITS_MEMBER(image_tiling)
166 IPC_STRUCT_TRAITS_MEMBER(image_height) 167 IPC_STRUCT_TRAITS_MEMBER(image_height)
167 IPC_STRUCT_TRAITS_MEMBER(has_attribution) 168 IPC_STRUCT_TRAITS_MEMBER(has_attribution)
168 IPC_STRUCT_TRAITS_MEMBER(logo_alternate) 169 IPC_STRUCT_TRAITS_MEMBER(logo_alternate)
169 IPC_STRUCT_TRAITS_END() 170 IPC_STRUCT_TRAITS_END()
170 171
171 IPC_ENUM_TRAITS_MAX_VALUE(NTPLoggingEventType, 172 IPC_ENUM_TRAITS_MAX_VALUE(NTPLoggingEventType,
172 NTP_EVENT_TYPE_LAST) 173 NTP_EVENT_TYPE_LAST)
173 174
174 IPC_ENUM_TRAITS_MAX_VALUE(NTPLoggingTileSource, 175 IPC_ENUM_TRAITS_MAX_VALUE(ntp_tiles::NTPTileSource,
175 NTPLoggingTileSource::LAST) 176 ntp_tiles::NTPTileSource::LAST)
176 177
177 IPC_ENUM_TRAITS_MAX_VALUE(WebApplicationInfo::MobileCapable, 178 IPC_ENUM_TRAITS_MAX_VALUE(WebApplicationInfo::MobileCapable,
178 WebApplicationInfo::MOBILE_CAPABLE_APPLE) 179 WebApplicationInfo::MOBILE_CAPABLE_APPLE)
179 180
180 IPC_STRUCT_TRAITS_BEGIN(WebApplicationInfo::IconInfo) 181 IPC_STRUCT_TRAITS_BEGIN(WebApplicationInfo::IconInfo)
181 IPC_STRUCT_TRAITS_MEMBER(url) 182 IPC_STRUCT_TRAITS_MEMBER(url)
182 IPC_STRUCT_TRAITS_MEMBER(width) 183 IPC_STRUCT_TRAITS_MEMBER(width)
183 IPC_STRUCT_TRAITS_MEMBER(height) 184 IPC_STRUCT_TRAITS_MEMBER(height)
184 IPC_STRUCT_TRAITS_MEMBER(data) 185 IPC_STRUCT_TRAITS_MEMBER(data)
185 IPC_STRUCT_TRAITS_END() 186 IPC_STRUCT_TRAITS_END()
(...skipping 344 matching lines...) Expand 10 before | Expand all | Expand 10 after
530 IPC_MESSAGE_ROUTED3(ChromeViewHostMsg_LogEvent, 531 IPC_MESSAGE_ROUTED3(ChromeViewHostMsg_LogEvent,
531 int /* page_seq_no */, 532 int /* page_seq_no */,
532 NTPLoggingEventType /* event */, 533 NTPLoggingEventType /* event */,
533 base::TimeDelta /* time */) 534 base::TimeDelta /* time */)
534 535
535 // Logs an impression on one of the Most Visited tile on the InstantExtended 536 // Logs an impression on one of the Most Visited tile on the InstantExtended
536 // New Tab Page. 537 // New Tab Page.
537 IPC_MESSAGE_ROUTED3(ChromeViewHostMsg_LogMostVisitedImpression, 538 IPC_MESSAGE_ROUTED3(ChromeViewHostMsg_LogMostVisitedImpression,
538 int /* page_seq_no */, 539 int /* page_seq_no */,
539 int /* position */, 540 int /* position */,
540 NTPLoggingTileSource /* tile_source */) 541 ntp_tiles::NTPTileSource /* tile_source */)
541 542
542 // Logs a navigation on one of the Most Visited tile on the InstantExtended 543 // Logs a navigation on one of the Most Visited tile on the InstantExtended
543 // New Tab Page. 544 // New Tab Page.
544 IPC_MESSAGE_ROUTED3(ChromeViewHostMsg_LogMostVisitedNavigation, 545 IPC_MESSAGE_ROUTED3(ChromeViewHostMsg_LogMostVisitedNavigation,
545 int /* page_seq_no */, 546 int /* page_seq_no */,
546 int /* position */, 547 int /* position */,
547 NTPLoggingTileSource /* tile_source */) 548 ntp_tiles::NTPTileSource /* tile_source */)
548 549
549 // The Instant page asks whether the user syncs its history. 550 // The Instant page asks whether the user syncs its history.
550 IPC_MESSAGE_ROUTED1(ChromeViewHostMsg_HistorySyncCheck, 551 IPC_MESSAGE_ROUTED1(ChromeViewHostMsg_HistorySyncCheck,
551 int /* page_seq_no */) 552 int /* page_seq_no */)
552 553
553 // The Instant page asks for Chrome identity check against |identity|. 554 // The Instant page asks for Chrome identity check against |identity|.
554 IPC_MESSAGE_ROUTED2(ChromeViewHostMsg_ChromeIdentityCheck, 555 IPC_MESSAGE_ROUTED2(ChromeViewHostMsg_ChromeIdentityCheck,
555 int /* page_seq_no */, 556 int /* page_seq_no */,
556 base::string16 /* identity */) 557 base::string16 /* identity */)
557 558
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
595 596
596 #if BUILDFLAG(ENABLE_PLUGINS) 597 #if BUILDFLAG(ENABLE_PLUGINS)
597 // Sent by the renderer to check if crash reporting is enabled. 598 // Sent by the renderer to check if crash reporting is enabled.
598 IPC_SYNC_MESSAGE_CONTROL0_1(ChromeViewHostMsg_IsCrashReportingEnabled, 599 IPC_SYNC_MESSAGE_CONTROL0_1(ChromeViewHostMsg_IsCrashReportingEnabled,
599 bool /* enabled */) 600 bool /* enabled */)
600 #endif 601 #endif
601 602
602 // Sent by the renderer to indicate that a fields trial has been activated. 603 // Sent by the renderer to indicate that a fields trial has been activated.
603 IPC_MESSAGE_CONTROL1(ChromeViewHostMsg_FieldTrialActivated, 604 IPC_MESSAGE_CONTROL1(ChromeViewHostMsg_FieldTrialActivated,
604 std::string /* name */) 605 std::string /* name */)
OLDNEW
« no previous file with comments | « chrome/common/DEPS ('k') | chrome/common/search/ntp_logging_events.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698