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

Side by Side Diff: chrome_frame/test/chrome_frame_ui_test_utils.cc

Issue 112433004: Update uses of UTF conversions in chrome_frame/, chromeos/, components/ to use the base:: namespace. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 12 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_frame/test/chrome_frame_test_utils.cc ('k') | chrome_frame/test/dll_redirector_test.cc » ('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 #include "chrome_frame/test/chrome_frame_ui_test_utils.h" 5 #include "chrome_frame/test/chrome_frame_ui_test_utils.h"
6 6
7 #include <windows.h> 7 #include <windows.h>
8 8
9 #include <sstream> 9 #include <sstream>
10 #include <stack> 10 #include <stack>
(...skipping 494 matching lines...) Expand 10 before | Expand all | Expand 10 after
505 dispatch.Receive()); 505 dispatch.Receive());
506 if (result == S_FALSE || result == E_NOINTERFACE) { 506 if (result == S_FALSE || result == E_NOINTERFACE) {
507 // The object in question really is a simple element. 507 // The object in question really is a simple element.
508 return new AccObject(accessible, V_I4(&variant)); 508 return new AccObject(accessible, V_I4(&variant));
509 } else if (SUCCEEDED(result)) { 509 } else if (SUCCEEDED(result)) {
510 // The object in question was actually a full object. 510 // The object in question was actually a full object.
511 return CreateFromDispatch(dispatch.get()); 511 return CreateFromDispatch(dispatch.get());
512 } 512 }
513 VLOG(1) << "Failed to determine if child id refers to a full " 513 VLOG(1) << "Failed to determine if child id refers to a full "
514 << "object. Error: " << result << std::endl 514 << "object. Error: " << result << std::endl
515 << "Parent object: " << WideToUTF8(object->GetDescription()) 515 << "Parent object: " << base::WideToUTF8(object->GetDescription())
516 << std::endl << "Child ID: " << V_I4(&variant); 516 << std::endl << "Child ID: " << V_I4(&variant);
517 return NULL; 517 return NULL;
518 } else if (V_VT(&variant) == VT_DISPATCH) { 518 } else if (V_VT(&variant) == VT_DISPATCH) {
519 return CreateFromDispatch(V_DISPATCH(&variant)); 519 return CreateFromDispatch(V_DISPATCH(&variant));
520 } 520 }
521 LOG(WARNING) << "Unrecognizable child type"; 521 LOG(WARNING) << "Unrecognizable child type";
522 return NULL; 522 return NULL;
523 } 523 }
524 524
525 bool AccObject::PostMouseClickAtCenter(int button_down, int button_up) { 525 bool AccObject::PostMouseClickAtCenter(int button_down, int button_up) {
(...skipping 213 matching lines...) Expand 10 before | Expand all | Expand 10 after
739 return desk; 739 return desk;
740 } 740 }
741 741
742 base::FilePath GetIAccessible2ProxyStubPath() { 742 base::FilePath GetIAccessible2ProxyStubPath() {
743 base::FilePath path; 743 base::FilePath path;
744 PathService::Get(chrome::DIR_APP, &path); 744 PathService::Get(chrome::DIR_APP, &path);
745 return path.AppendASCII("IAccessible2Proxy.dll"); 745 return path.AppendASCII("IAccessible2Proxy.dll");
746 } 746 }
747 747
748 } // namespace chrome_frame_test 748 } // namespace chrome_frame_test
OLDNEW
« no previous file with comments | « chrome_frame/test/chrome_frame_test_utils.cc ('k') | chrome_frame/test/dll_redirector_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698