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

Side by Side Diff: third_party/WebKit/Source/web/ChromeClientImpl.cpp

Issue 2858493002: Rename AXObject to AXObjectImpl in modules/ and web/ (Closed)
Patch Set: Fixed rebase Created 3 years, 7 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
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2009 Google Inc. All rights reserved. 2 * Copyright (C) 2009 Google Inc. All rights reserved.
3 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies). 3 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
4 * 4 *
5 * Redistribution and use in source and binary forms, with or without 5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions are 6 * modification, are permitted provided that the following conditions are
7 * met: 7 * met:
8 * 8 *
9 * * Redistributions of source code must retain the above copyright 9 * * Redistributions of source code must retain the above copyright
10 * notice, this list of conditions and the following disclaimer. 10 * notice, this list of conditions and the following disclaimer.
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
50 #include "core/html/forms/ColorChooserClient.h" 50 #include "core/html/forms/ColorChooserClient.h"
51 #include "core/html/forms/DateTimeChooser.h" 51 #include "core/html/forms/DateTimeChooser.h"
52 #include "core/layout/HitTestResult.h" 52 #include "core/layout/HitTestResult.h"
53 #include "core/layout/LayoutPart.h" 53 #include "core/layout/LayoutPart.h"
54 #include "core/layout/compositing/CompositedSelection.h" 54 #include "core/layout/compositing/CompositedSelection.h"
55 #include "core/loader/DocumentLoader.h" 55 #include "core/loader/DocumentLoader.h"
56 #include "core/loader/FrameLoadRequest.h" 56 #include "core/loader/FrameLoadRequest.h"
57 #include "core/page/ChromeClient.h" 57 #include "core/page/ChromeClient.h"
58 #include "core/page/Page.h" 58 #include "core/page/Page.h"
59 #include "core/page/PopupOpeningObserver.h" 59 #include "core/page/PopupOpeningObserver.h"
60 #include "modules/accessibility/AXObject.h" 60 #include "modules/accessibility/AXObjectImpl.h"
61 #include "modules/audio_output_devices/AudioOutputDeviceClient.h" 61 #include "modules/audio_output_devices/AudioOutputDeviceClient.h"
62 #include "modules/installedapp/InstalledAppController.h" 62 #include "modules/installedapp/InstalledAppController.h"
63 #include "modules/mediastream/UserMediaController.h" 63 #include "modules/mediastream/UserMediaController.h"
64 #include "modules/navigatorcontentutils/NavigatorContentUtils.h" 64 #include "modules/navigatorcontentutils/NavigatorContentUtils.h"
65 #include "modules/presentation/PresentationController.h" 65 #include "modules/presentation/PresentationController.h"
66 #include "modules/push_messaging/PushController.h" 66 #include "modules/push_messaging/PushController.h"
67 #include "modules/screen_orientation/ScreenOrientationControllerImpl.h" 67 #include "modules/screen_orientation/ScreenOrientationControllerImpl.h"
68 #include "modules/vr/VRController.h" 68 #include "modules/vr/VRController.h"
69 #include "platform/Cursor.h" 69 #include "platform/Cursor.h"
70 #include "platform/FileChooser.h" 70 #include "platform/FileChooser.h"
(...skipping 725 matching lines...) Expand 10 before | Expand all | Expand 10 after
796 void ChromeClientImpl::SetCursorForPlugin(const WebCursorInfo& cursor, 796 void ChromeClientImpl::SetCursorForPlugin(const WebCursorInfo& cursor,
797 LocalFrame* local_frame) { 797 LocalFrame* local_frame) {
798 SetCursor(cursor, local_frame); 798 SetCursor(cursor, local_frame);
799 } 799 }
800 800
801 void ChromeClientImpl::SetCursorOverridden(bool overridden) { 801 void ChromeClientImpl::SetCursorOverridden(bool overridden) {
802 cursor_overridden_ = overridden; 802 cursor_overridden_ = overridden;
803 } 803 }
804 804
805 void ChromeClientImpl::PostAccessibilityNotification( 805 void ChromeClientImpl::PostAccessibilityNotification(
806 AXObject* obj, 806 AXObject* axObject,
807 AXObjectCache::AXNotification notification) { 807 AXObjectCache::AXNotification notification) {
808 AXObjectImpl* obj = ToAXObjectImpl(axObject);
809
808 // Alert assistive technology about the accessibility object notification. 810 // Alert assistive technology about the accessibility object notification.
809 if (!obj || !obj->GetDocument()) 811 if (!obj || !obj->GetDocument())
810 return; 812 return;
811 813
812 WebLocalFrameImpl* webframe = WebLocalFrameImpl::FromFrame( 814 WebLocalFrameImpl* webframe = WebLocalFrameImpl::FromFrame(
813 obj->GetDocument()->AxObjectCacheOwner().GetFrame()); 815 obj->GetDocument()->AxObjectCacheOwner().GetFrame());
814 if (webframe && webframe->Client()) 816 if (webframe && webframe->Client())
815 webframe->Client()->PostAccessibilityEvent(WebAXObject(obj), 817 webframe->Client()->PostAccessibilityEvent(WebAXObject(obj),
816 ToWebAXEvent(notification)); 818 ToWebAXEvent(notification));
817 } 819 }
(...skipping 436 matching lines...) Expand 10 before | Expand all | Expand 10 after
1254 if (RuntimeEnabledFeatures::presentationEnabled()) 1256 if (RuntimeEnabledFeatures::presentationEnabled())
1255 PresentationController::ProvideTo(frame, client->PresentationClient()); 1257 PresentationController::ProvideTo(frame, client->PresentationClient());
1256 if (RuntimeEnabledFeatures::audioOutputDevicesEnabled()) { 1258 if (RuntimeEnabledFeatures::audioOutputDevicesEnabled()) {
1257 ProvideAudioOutputDeviceClientTo(frame, 1259 ProvideAudioOutputDeviceClientTo(frame,
1258 new AudioOutputDeviceClientImpl(frame)); 1260 new AudioOutputDeviceClientImpl(frame));
1259 } 1261 }
1260 InstalledAppController::ProvideTo(frame, client->GetRelatedAppsFetcher()); 1262 InstalledAppController::ProvideTo(frame, client->GetRelatedAppsFetcher());
1261 } 1263 }
1262 1264
1263 } // namespace blink 1265 } // namespace blink
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/web/AssertMatchingEnums.cpp ('k') | third_party/WebKit/Source/web/TextFinder.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698