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

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

Issue 7969023: For the SSL cert status, convert anonymous enum that gives bit values into a typedefed uint32. Th... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 3 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 | « chrome/browser/ui/toolbar/toolbar_model.cc ('k') | chrome/test/automation/tab_proxy.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) 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 // Defines the IPC messages used by the automation interface. 5 // Defines the IPC messages used by the automation interface.
6 6
7 #include <string> 7 #include <string>
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/string16.h" 10 #include "base/string16.h"
11 #include "chrome/common/content_settings.h" 11 #include "chrome/common/content_settings.h"
12 #include "content/common/navigation_types.h" 12 #include "content/common/navigation_types.h"
13 #include "googleurl/src/gurl.h" 13 #include "googleurl/src/gurl.h"
14 #include "ipc/ipc_message_macros.h" 14 #include "ipc/ipc_message_macros.h"
15 #include "net/base/cert_status_flags.h"
15 #include "net/url_request/url_request_status.h" 16 #include "net/url_request/url_request_status.h"
16 #include "ui/gfx/rect.h" 17 #include "ui/gfx/rect.h"
17 #include "webkit/glue/window_open_disposition.h" 18 #include "webkit/glue/window_open_disposition.h"
18 19
19 // NOTE: All IPC messages have either a routing_id of 0 (for asynchronous 20 // NOTE: All IPC messages have either a routing_id of 0 (for asynchronous
20 // messages), or one that's been assigned by the proxy (for calls 21 // messages), or one that's been assigned by the proxy (for calls
21 // which expect a response). The routing_id shouldn't be used for 22 // which expect a response). The routing_id shouldn't be used for
22 // any other purpose in these message types. 23 // any other purpose in these message types.
23 24
24 // NOTE: All the new IPC messages should go at the end. 25 // NOTE: All the new IPC messages should go at the end.
(...skipping 520 matching lines...) Expand 10 before | Expand all | Expand 10 after
545 IPC_MESSAGE_ROUTED1(AutomationMsg_DidNavigate, 546 IPC_MESSAGE_ROUTED1(AutomationMsg_DidNavigate,
546 NavigationInfo) 547 NavigationInfo)
547 548
548 // This message requests the different security states of the page displayed 549 // This message requests the different security states of the page displayed
549 // in the specified tab. 550 // in the specified tab.
550 // Request: 551 // Request:
551 // - int: handle of the tab 552 // - int: handle of the tab
552 // Response: 553 // Response:
553 // - bool: whether the operation was successful. 554 // - bool: whether the operation was successful.
554 // - SecurityStyle: the security style of the tab. 555 // - SecurityStyle: the security style of the tab.
555 // - int: the status of the server's ssl cert (0 means no errors or no ssl 556 // - net::CertStatus: the status of the server's ssl cert (0 means no errors or
556 // was used). 557 // no ssl was used).
557 // - int: the insecure content state, 0 means no insecure contents. 558 // - int: the insecure content state, 0 means no insecure contents.
558 559
559 IPC_SYNC_MESSAGE_CONTROL1_4(AutomationMsg_GetSecurityState, 560 IPC_SYNC_MESSAGE_CONTROL1_4(AutomationMsg_GetSecurityState,
560 int, 561 int,
561 bool, 562 bool,
562 SecurityStyle, 563 SecurityStyle,
563 int, 564 net::CertStatus,
564 int) 565 int)
565 566
566 // This message requests the page type of the page displayed in the specified 567 // This message requests the page type of the page displayed in the specified
567 // tab (normal, error or interstitial). 568 // tab (normal, error or interstitial).
568 // Request: 569 // Request:
569 // - int: handle of the tab 570 // - int: handle of the tab
570 // Response: 571 // Response:
571 // - bool: whether the operation was successful. 572 // - bool: whether the operation was successful.
572 // - PageType: the type of the page currently displayed. 573 // - PageType: the type of the page currently displayed.
573 IPC_SYNC_MESSAGE_CONTROL1_2(AutomationMsg_GetPageType, 574 IPC_SYNC_MESSAGE_CONTROL1_2(AutomationMsg_GetPageType,
(...skipping 912 matching lines...) Expand 10 before | Expand all | Expand 10 after
1486 // Sent when the renderer has completed or canceled a client redirect for a 1487 // Sent when the renderer has completed or canceled a client redirect for a
1487 // particular frame. This message may be sent multiple times for the same 1488 // particular frame. This message may be sent multiple times for the same
1488 // redirect. 1489 // redirect.
1489 IPC_MESSAGE_ROUTED1(AutomationMsg_DidCompleteOrCancelClientRedirect, 1490 IPC_MESSAGE_ROUTED1(AutomationMsg_DidCompleteOrCancelClientRedirect,
1490 int64 /* frame_id */) 1491 int64 /* frame_id */)
1491 1492
1492 1493
1493 // YOUR NEW MESSAGE MIGHT NOT BELONG HERE. 1494 // YOUR NEW MESSAGE MIGHT NOT BELONG HERE.
1494 // This is the section for renderer -> browser automation messages. If it is 1495 // This is the section for renderer -> browser automation messages. If it is
1495 // an automation <-> browser message, put it above this section. 1496 // an automation <-> browser message, put it above this section.
OLDNEW
« no previous file with comments | « chrome/browser/ui/toolbar/toolbar_model.cc ('k') | chrome/test/automation/tab_proxy.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698