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

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

Issue 2858493002: Rename AXObject to AXObjectImpl in modules/ and web/ (Closed)
Patch Set: Reverted unexpected change to blink rename merge helper 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 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
48 #include "core/html/forms/ColorChooserClient.h" 48 #include "core/html/forms/ColorChooserClient.h"
49 #include "core/html/forms/DateTimeChooser.h" 49 #include "core/html/forms/DateTimeChooser.h"
50 #include "core/layout/HitTestResult.h" 50 #include "core/layout/HitTestResult.h"
51 #include "core/layout/LayoutPart.h" 51 #include "core/layout/LayoutPart.h"
52 #include "core/layout/compositing/CompositedSelection.h" 52 #include "core/layout/compositing/CompositedSelection.h"
53 #include "core/loader/DocumentLoader.h" 53 #include "core/loader/DocumentLoader.h"
54 #include "core/loader/FrameLoadRequest.h" 54 #include "core/loader/FrameLoadRequest.h"
55 #include "core/page/ChromeClient.h" 55 #include "core/page/ChromeClient.h"
56 #include "core/page/Page.h" 56 #include "core/page/Page.h"
57 #include "core/page/PopupOpeningObserver.h" 57 #include "core/page/PopupOpeningObserver.h"
58 #include "modules/accessibility/AXObject.h" 58 #include "modules/accessibility/AXObjectImpl.h"
59 #include "modules/audio_output_devices/AudioOutputDeviceClient.h" 59 #include "modules/audio_output_devices/AudioOutputDeviceClient.h"
60 #include "modules/installedapp/InstalledAppController.h" 60 #include "modules/installedapp/InstalledAppController.h"
61 #include "modules/mediastream/UserMediaController.h" 61 #include "modules/mediastream/UserMediaController.h"
62 #include "modules/navigatorcontentutils/NavigatorContentUtils.h" 62 #include "modules/navigatorcontentutils/NavigatorContentUtils.h"
63 #include "modules/presentation/PresentationController.h" 63 #include "modules/presentation/PresentationController.h"
64 #include "modules/push_messaging/PushController.h" 64 #include "modules/push_messaging/PushController.h"
65 #include "modules/screen_orientation/ScreenOrientationControllerImpl.h" 65 #include "modules/screen_orientation/ScreenOrientationControllerImpl.h"
66 #include "modules/vr/VRController.h" 66 #include "modules/vr/VRController.h"
67 #include "platform/Cursor.h" 67 #include "platform/Cursor.h"
68 #include "platform/FileChooser.h" 68 #include "platform/FileChooser.h"
(...skipping 723 matching lines...) Expand 10 before | Expand all | Expand 10 after
792 void ChromeClientImpl::SetCursorForPlugin(const WebCursorInfo& cursor, 792 void ChromeClientImpl::SetCursorForPlugin(const WebCursorInfo& cursor,
793 LocalFrame* local_frame) { 793 LocalFrame* local_frame) {
794 SetCursor(cursor, local_frame); 794 SetCursor(cursor, local_frame);
795 } 795 }
796 796
797 void ChromeClientImpl::SetCursorOverridden(bool overridden) { 797 void ChromeClientImpl::SetCursorOverridden(bool overridden) {
798 cursor_overridden_ = overridden; 798 cursor_overridden_ = overridden;
799 } 799 }
800 800
801 void ChromeClientImpl::PostAccessibilityNotification( 801 void ChromeClientImpl::PostAccessibilityNotification(
802 AXObject* obj, 802 AXObjectImpl* obj,
803 AXObjectCache::AXNotification notification) { 803 AXObjectCache::AXNotification notification) {
804 // Alert assistive technology about the accessibility object notification. 804 // Alert assistive technology about the accessibility object notification.
805 if (!obj || !obj->GetDocument()) 805 if (!obj || !obj->GetDocument())
806 return; 806 return;
807 807
808 WebLocalFrameImpl* webframe = WebLocalFrameImpl::FromFrame( 808 WebLocalFrameImpl* webframe = WebLocalFrameImpl::FromFrame(
809 obj->GetDocument()->AxObjectCacheOwner().GetFrame()); 809 obj->GetDocument()->AxObjectCacheOwner().GetFrame());
810 if (webframe && webframe->Client()) 810 if (webframe && webframe->Client())
811 webframe->Client()->PostAccessibilityEvent(WebAXObject(obj), 811 webframe->Client()->PostAccessibilityEvent(WebAXObject(obj),
812 ToWebAXEvent(notification)); 812 ToWebAXEvent(notification));
(...skipping 428 matching lines...) Expand 10 before | Expand all | Expand 10 after
1241 if (RuntimeEnabledFeatures::presentationEnabled()) 1241 if (RuntimeEnabledFeatures::presentationEnabled())
1242 PresentationController::ProvideTo(frame, client->PresentationClient()); 1242 PresentationController::ProvideTo(frame, client->PresentationClient());
1243 if (RuntimeEnabledFeatures::audioOutputDevicesEnabled()) { 1243 if (RuntimeEnabledFeatures::audioOutputDevicesEnabled()) {
1244 ProvideAudioOutputDeviceClientTo(frame, 1244 ProvideAudioOutputDeviceClientTo(frame,
1245 new AudioOutputDeviceClientImpl(frame)); 1245 new AudioOutputDeviceClientImpl(frame));
1246 } 1246 }
1247 InstalledAppController::ProvideTo(frame, client->GetRelatedAppsFetcher()); 1247 InstalledAppController::ProvideTo(frame, client->GetRelatedAppsFetcher());
1248 } 1248 }
1249 1249
1250 } // namespace blink 1250 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698