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

Side by Side Diff: Source/testing/runner/WebTestProxy.cpp

Issue 23726007: Remove old accessibility enums, finish renaming public interface. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Remove unnecessary include Created 7 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
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2012 Google Inc. All rights reserved. 2 * Copyright (C) 2012 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
43 #include "TestRunner.h" 43 #include "TestRunner.h"
44 #include "WebUserMediaClientMock.h" 44 #include "WebUserMediaClientMock.h"
45 #include "public/platform/WebCString.h" 45 #include "public/platform/WebCString.h"
46 #include "public/platform/WebURLError.h" 46 #include "public/platform/WebURLError.h"
47 #include "public/platform/WebURLRequest.h" 47 #include "public/platform/WebURLRequest.h"
48 #include "public/platform/WebURLResponse.h" 48 #include "public/platform/WebURLResponse.h"
49 #include "public/testing/WebTestDelegate.h" 49 #include "public/testing/WebTestDelegate.h"
50 #include "public/testing/WebTestInterfaces.h" 50 #include "public/testing/WebTestInterfaces.h"
51 #include "public/testing/WebTestRunner.h" 51 #include "public/testing/WebTestRunner.h"
52 #include "public/web/WebAXEnums.h" 52 #include "public/web/WebAXEnums.h"
53 #include "public/web/WebAccessibilityObject.h" 53 #include "public/web/WebAXObject.h"
54 #include "public/web/WebCachedURLRequest.h" 54 #include "public/web/WebCachedURLRequest.h"
55 #include "public/web/WebConsoleMessage.h" 55 #include "public/web/WebConsoleMessage.h"
56 #include "public/web/WebDataSource.h" 56 #include "public/web/WebDataSource.h"
57 #include "public/web/WebDeviceOrientationClientMock.h" 57 #include "public/web/WebDeviceOrientationClientMock.h"
58 #include "public/web/WebDocument.h" 58 #include "public/web/WebDocument.h"
59 #include "public/web/WebElement.h" 59 #include "public/web/WebElement.h"
60 #include "public/web/WebFrame.h" 60 #include "public/web/WebFrame.h"
61 #include "public/web/WebGeolocationClientMock.h" 61 #include "public/web/WebGeolocationClientMock.h"
62 #include "public/web/WebHistoryItem.h" 62 #include "public/web/WebHistoryItem.h"
63 #include "public/web/WebMIDIClientMock.h" 63 #include "public/web/WebMIDIClientMock.h"
(...skipping 757 matching lines...) Expand 10 before | Expand all | Expand 10 after
821 { 821 {
822 invalidateAll(); 822 invalidateAll();
823 discardBackingStore(); 823 discardBackingStore();
824 } 824 }
825 825
826 void WebTestProxyBase::didAutoResize(const WebSize&) 826 void WebTestProxyBase::didAutoResize(const WebSize&)
827 { 827 {
828 invalidateAll(); 828 invalidateAll();
829 } 829 }
830 830
831 void WebTestProxyBase::postAccessibilityEvent(const WebKit::WebAccessibilityObje ct& obj, WebKit::WebAXEvent event) 831 void WebTestProxyBase::postAccessibilityEvent(const WebKit::WebAXObject& obj, We bKit::WebAXEvent event)
832 { 832 {
833 if (event == WebKit::WebAXEventFocus) 833 if (event == WebKit::WebAXEventFocus)
834 m_testInterfaces->accessibilityController()->setFocusedElement(obj); 834 m_testInterfaces->accessibilityController()->setFocusedElement(obj);
835 835
836 const char* eventName; 836 const char* eventName;
837 switch (event) { 837 switch (event) {
838 case WebKit::WebAXEventActiveDescendantChanged: 838 case WebKit::WebAXEventActiveDescendantChanged:
839 eventName = "ActiveDescendantChanged"; 839 eventName = "ActiveDescendantChanged";
840 break; 840 break;
841 case WebKit::WebAXEventAlert: 841 case WebKit::WebAXEventAlert:
(...skipping 661 matching lines...) Expand 10 before | Expand all | Expand 10 after
1503 1503
1504 void WebTestProxyBase::resetInputMethod() 1504 void WebTestProxyBase::resetInputMethod()
1505 { 1505 {
1506 // If a composition text exists, then we need to let the browser process 1506 // If a composition text exists, then we need to let the browser process
1507 // to cancel the input method's ongoing composition session. 1507 // to cancel the input method's ongoing composition session.
1508 if (m_webWidget) 1508 if (m_webWidget)
1509 m_webWidget->confirmComposition(); 1509 m_webWidget->confirmComposition();
1510 } 1510 }
1511 1511
1512 } 1512 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698