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

Side by Side Diff: content/common/view_messages.h

Issue 8253002: Move PageTransition into content namespace. While I'm touching all these files, I've also updated... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 2 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « content/common/resource_messages.h ('k') | content/content_common.gypi » ('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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 // IPC messages for page rendering. 5 // IPC messages for page rendering.
6 // Multiply-included message file, hence no include guard. 6 // Multiply-included message file, hence no include guard.
7 7
8 #include "base/process.h" 8 #include "base/process.h"
9 #include "base/shared_memory.h" 9 #include "base/shared_memory.h"
10 #include "content/common/common_param_traits.h" 10 #include "content/common/common_param_traits.h"
11 #include "content/common/content_export.h" 11 #include "content/common/content_export.h"
12 #include "content/common/css_colors.h" 12 #include "content/common/css_colors.h"
13 #include "content/common/edit_command.h" 13 #include "content/common/edit_command.h"
14 #include "content/common/navigation_gesture.h" 14 #include "content/common/navigation_gesture.h"
15 #include "content/common/page_transition_types.h"
16 #include "content/common/page_zoom.h" 15 #include "content/common/page_zoom.h"
17 #include "content/common/renderer_preferences.h" 16 #include "content/common/renderer_preferences.h"
18 #include "content/common/view_message_enums.h" 17 #include "content/common/view_message_enums.h"
19 #include "content/common/webkit_param_traits.h" 18 #include "content/common/webkit_param_traits.h"
20 #include "content/common/window_container_type.h" 19 #include "content/common/window_container_type.h"
21 #include "ipc/ipc_channel_handle.h" 20 #include "ipc/ipc_channel_handle.h"
22 #include "ipc/ipc_message_macros.h" 21 #include "ipc/ipc_message_macros.h"
23 #include "ipc/ipc_platform_file.h" 22 #include "ipc/ipc_platform_file.h"
24 #include "media/base/media_log_event.h" 23 #include "media/base/media_log_event.h"
25 #include "net/base/host_port_pair.h" 24 #include "net/base/host_port_pair.h"
(...skipping 357 matching lines...) Expand 10 before | Expand all | Expand 10 after
383 IPC_STRUCT_MEMBER(int64, frame_id) 382 IPC_STRUCT_MEMBER(int64, frame_id)
384 383
385 // URL of the page being loaded. 384 // URL of the page being loaded.
386 IPC_STRUCT_MEMBER(GURL, url) 385 IPC_STRUCT_MEMBER(GURL, url)
387 386
388 // URL of the referrer of this load. WebKit generates this based on the 387 // URL of the referrer of this load. WebKit generates this based on the
389 // source of the event that caused the load. 388 // source of the event that caused the load.
390 IPC_STRUCT_MEMBER(GURL, referrer) 389 IPC_STRUCT_MEMBER(GURL, referrer)
391 390
392 // The type of transition. 391 // The type of transition.
393 IPC_STRUCT_MEMBER(PageTransition::Type, transition) 392 IPC_STRUCT_MEMBER(content::PageTransition, transition)
394 393
395 // Lists the redirects that occurred on the way to the current page. This 394 // Lists the redirects that occurred on the way to the current page. This
396 // vector has the same format as reported by the WebDataSource in the glue, 395 // vector has the same format as reported by the WebDataSource in the glue,
397 // with the current page being the last one in the list (so even when 396 // with the current page being the last one in the list (so even when
398 // there's no redirect, there will be one entry in the list. 397 // there's no redirect, there will be one entry in the list.
399 IPC_STRUCT_MEMBER(std::vector<GURL>, redirects) 398 IPC_STRUCT_MEMBER(std::vector<GURL>, redirects)
400 399
401 // Set to false if we want to update the session history but not update 400 // Set to false if we want to update the session history but not update
402 // the browser history. E.g., on unreachable urls. 401 // the browser history. E.g., on unreachable urls.
403 IPC_STRUCT_MEMBER(bool, should_update_history) 402 IPC_STRUCT_MEMBER(bool, should_update_history)
(...skipping 206 matching lines...) Expand 10 before | Expand all | Expand 10 after
610 609
611 // The URL to load. 610 // The URL to load.
612 IPC_STRUCT_MEMBER(GURL, url) 611 IPC_STRUCT_MEMBER(GURL, url)
613 612
614 // The URL to send in the "Referer" header field. Can be empty if there is 613 // The URL to send in the "Referer" header field. Can be empty if there is
615 // no referrer. 614 // no referrer.
616 // TODO: consider folding this into extra_headers. 615 // TODO: consider folding this into extra_headers.
617 IPC_STRUCT_MEMBER(GURL, referrer) 616 IPC_STRUCT_MEMBER(GURL, referrer)
618 617
619 // The type of transition. 618 // The type of transition.
620 IPC_STRUCT_MEMBER(PageTransition::Type, transition) 619 IPC_STRUCT_MEMBER(content::PageTransition, transition)
621 620
622 // Opaque history state (received by ViewHostMsg_UpdateState). 621 // Opaque history state (received by ViewHostMsg_UpdateState).
623 IPC_STRUCT_MEMBER(std::string, state) 622 IPC_STRUCT_MEMBER(std::string, state)
624 623
625 // Type of navigation. 624 // Type of navigation.
626 IPC_STRUCT_MEMBER(ViewMsg_Navigate_Type::Value, navigation_type) 625 IPC_STRUCT_MEMBER(ViewMsg_Navigate_Type::Value, navigation_type)
627 626
628 // The time the request was created 627 // The time the request was created
629 IPC_STRUCT_MEMBER(base::Time, request_time) 628 IPC_STRUCT_MEMBER(base::Time, request_time)
630 629
(...skipping 1316 matching lines...) Expand 10 before | Expand all | Expand 10 after
1947 media::MediaLogEvent /* event */) 1946 media::MediaLogEvent /* event */)
1948 1947
1949 // Requests to lock the mouse. Will result in a ViewMsg_LockMouse_ACK message 1948 // Requests to lock the mouse. Will result in a ViewMsg_LockMouse_ACK message
1950 // being sent back. 1949 // being sent back.
1951 IPC_MESSAGE_ROUTED0(ViewHostMsg_LockMouse) 1950 IPC_MESSAGE_ROUTED0(ViewHostMsg_LockMouse)
1952 1951
1953 // Requests to unlock the mouse. A ViewMsg_MouseLockLost message will be sent 1952 // Requests to unlock the mouse. A ViewMsg_MouseLockLost message will be sent
1954 // whenever the mouse is unlocked (which may or may not be caused by 1953 // whenever the mouse is unlocked (which may or may not be caused by
1955 // ViewHostMsg_UnlockMouse). 1954 // ViewHostMsg_UnlockMouse).
1956 IPC_MESSAGE_ROUTED0(ViewHostMsg_UnlockMouse) 1955 IPC_MESSAGE_ROUTED0(ViewHostMsg_UnlockMouse)
OLDNEW
« no previous file with comments | « content/common/resource_messages.h ('k') | content/content_common.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698