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

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

Issue 118206: Fixes an issue where the MSAA information was not reported back correctly to ... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 6 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
OLDNEW
1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2008 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 #ifndef CHROME_COMMON_RENDER_MESSAGES_H_ 5 #ifndef CHROME_COMMON_RENDER_MESSAGES_H_
6 #define CHROME_COMMON_RENDER_MESSAGES_H_ 6 #define CHROME_COMMON_RENDER_MESSAGES_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 #include <map> 10 #include <map>
(...skipping 497 matching lines...) Expand 10 before | Expand all | Expand 10 after
508 } 508 }
509 }; 509 };
510 510
511 template <> 511 template <>
512 struct ParamTraits<webkit_glue::WebAccessibility::InParams> { 512 struct ParamTraits<webkit_glue::WebAccessibility::InParams> {
513 typedef webkit_glue::WebAccessibility::InParams param_type; 513 typedef webkit_glue::WebAccessibility::InParams param_type;
514 static void Write(Message* m, const param_type& p) { 514 static void Write(Message* m, const param_type& p) {
515 WriteParam(m, p.object_id); 515 WriteParam(m, p.object_id);
516 WriteParam(m, p.function_id); 516 WriteParam(m, p.function_id);
517 WriteParam(m, p.child_id); 517 WriteParam(m, p.child_id);
518 WriteParam(m, p.direct_descendant);
519 WriteParam(m, p.input_long1); 518 WriteParam(m, p.input_long1);
520 WriteParam(m, p.input_long2); 519 WriteParam(m, p.input_long2);
521 } 520 }
522 static bool Read(const Message* m, void** iter, param_type* p) { 521 static bool Read(const Message* m, void** iter, param_type* p) {
523 return 522 return
524 ReadParam(m, iter, &p->object_id) && 523 ReadParam(m, iter, &p->object_id) &&
525 ReadParam(m, iter, &p->function_id) && 524 ReadParam(m, iter, &p->function_id) &&
526 ReadParam(m, iter, &p->child_id) && 525 ReadParam(m, iter, &p->child_id) &&
527 ReadParam(m, iter, &p->direct_descendant) &&
528 ReadParam(m, iter, &p->input_long1) && 526 ReadParam(m, iter, &p->input_long1) &&
529 ReadParam(m, iter, &p->input_long2); 527 ReadParam(m, iter, &p->input_long2);
530 } 528 }
531 static void Log(const param_type& p, std::wstring* l) { 529 static void Log(const param_type& p, std::wstring* l) {
532 l->append(L"("); 530 l->append(L"(");
533 LogParam(p.object_id, l); 531 LogParam(p.object_id, l);
534 l->append(L", "); 532 l->append(L", ");
535 LogParam(p.function_id, l); 533 LogParam(p.function_id, l);
536 l->append(L", "); 534 l->append(L", ");
537 LogParam(p.child_id, l); 535 LogParam(p.child_id, l);
538 l->append(L", "); 536 l->append(L", ");
539 LogParam(p.direct_descendant, l);
540 l->append(L", ");
541 LogParam(p.input_long1, l); 537 LogParam(p.input_long1, l);
542 l->append(L", "); 538 l->append(L", ");
543 LogParam(p.input_long2, l); 539 LogParam(p.input_long2, l);
544 l->append(L")"); 540 l->append(L")");
545 } 541 }
546 }; 542 };
547 543
548 template <> 544 template <>
549 struct ParamTraits<webkit_glue::WebAccessibility::OutParams> { 545 struct ParamTraits<webkit_glue::WebAccessibility::OutParams> {
550 typedef webkit_glue::WebAccessibility::OutParams param_type; 546 typedef webkit_glue::WebAccessibility::OutParams param_type;
(...skipping 1333 matching lines...) Expand 10 before | Expand all | Expand 10 after
1884 } 1880 }
1885 }; 1881 };
1886 1882
1887 } // namespace IPC 1883 } // namespace IPC
1888 1884
1889 1885
1890 #define MESSAGES_INTERNAL_FILE "chrome/common/render_messages_internal.h" 1886 #define MESSAGES_INTERNAL_FILE "chrome/common/render_messages_internal.h"
1891 #include "chrome/common/ipc_message_macros.h" 1887 #include "chrome/common/ipc_message_macros.h"
1892 1888
1893 #endif // CHROME_COMMON_RENDER_MESSAGES_H_ 1889 #endif // CHROME_COMMON_RENDER_MESSAGES_H_
OLDNEW
« no previous file with comments | « chrome/browser/renderer_host/render_widget_host_view_win.cc ('k') | webkit/glue/webaccessibility.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698