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

Side by Side Diff: Source/web/WebViewImpl.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) 2011, 2012 Google Inc. All rights reserved. 2 * Copyright (C) 2011, 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 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
61 #include "MIDIClientProxy.h" 61 #include "MIDIClientProxy.h"
62 #include "PageWidgetDelegate.h" 62 #include "PageWidgetDelegate.h"
63 #include "PinchViewports.h" 63 #include "PinchViewports.h"
64 #include "PopupContainer.h" 64 #include "PopupContainer.h"
65 #include "PrerendererClientImpl.h" 65 #include "PrerendererClientImpl.h"
66 #include "RuntimeEnabledFeatures.h" 66 #include "RuntimeEnabledFeatures.h"
67 #include "SpeechInputClientImpl.h" 67 #include "SpeechInputClientImpl.h"
68 #include "SpeechRecognitionClientProxy.h" 68 #include "SpeechRecognitionClientProxy.h"
69 #include "ValidationMessageClientImpl.h" 69 #include "ValidationMessageClientImpl.h"
70 #include "ViewportAnchor.h" 70 #include "ViewportAnchor.h"
71 #include "WebAccessibilityObject.h" 71 #include "WebAXObject.h"
72 #include "WebActiveWheelFlingParameters.h" 72 #include "WebActiveWheelFlingParameters.h"
73 #include "WebAutofillClient.h" 73 #include "WebAutofillClient.h"
74 #include "WebDevToolsAgentImpl.h" 74 #include "WebDevToolsAgentImpl.h"
75 #include "WebDevToolsAgentPrivate.h" 75 #include "WebDevToolsAgentPrivate.h"
76 #include "WebFrameImpl.h" 76 #include "WebFrameImpl.h"
77 #include "WebHelperPluginImpl.h" 77 #include "WebHelperPluginImpl.h"
78 #include "WebHitTestResult.h" 78 #include "WebHitTestResult.h"
79 #include "WebInputElement.h" 79 #include "WebInputElement.h"
80 #include "WebInputEvent.h" 80 #include "WebInputEvent.h"
81 #include "WebInputEventConversion.h" 81 #include "WebInputEventConversion.h"
(...skipping 3330 matching lines...) Expand 10 before | Expand all | Expand 10 after
3412 { 3412 {
3413 m_inspectorSettingsMap->set(key, value); 3413 m_inspectorSettingsMap->set(key, value);
3414 client()->didUpdateInspectorSetting(key, value); 3414 client()->didUpdateInspectorSetting(key, value);
3415 } 3415 }
3416 3416
3417 WebDevToolsAgent* WebViewImpl::devToolsAgent() 3417 WebDevToolsAgent* WebViewImpl::devToolsAgent()
3418 { 3418 {
3419 return m_devToolsAgent.get(); 3419 return m_devToolsAgent.get();
3420 } 3420 }
3421 3421
3422 WebAccessibilityObject WebViewImpl::accessibilityObject() 3422 WebAXObject WebViewImpl::accessibilityObject()
3423 { 3423 {
3424 if (!mainFrameImpl()) 3424 if (!mainFrameImpl())
3425 return WebAccessibilityObject(); 3425 return WebAXObject();
3426 3426
3427 Document* document = mainFrameImpl()->frame()->document(); 3427 Document* document = mainFrameImpl()->frame()->document();
3428 return WebAccessibilityObject( 3428 return WebAXObject(
3429 document->axObjectCache()->getOrCreate(document->renderer())); 3429 document->axObjectCache()->getOrCreate(document->renderer()));
3430 } 3430 }
3431 3431
3432 void WebViewImpl::applyAutofillSuggestions( 3432 void WebViewImpl::applyAutofillSuggestions(
3433 const WebNode& node, 3433 const WebNode& node,
3434 const WebVector<WebString>& names, 3434 const WebVector<WebString>& names,
3435 const WebVector<WebString>& labels, 3435 const WebVector<WebString>& labels,
3436 const WebVector<WebString>& icons, 3436 const WebVector<WebString>& icons,
3437 const WebVector<int>& itemIDs, 3437 const WebVector<int>& itemIDs,
3438 int separatorIndex) 3438 int separatorIndex)
(...skipping 678 matching lines...) Expand 10 before | Expand all | Expand 10 after
4117 } 4117 }
4118 4118
4119 bool WebViewImpl::shouldDisableDesktopWorkarounds() 4119 bool WebViewImpl::shouldDisableDesktopWorkarounds()
4120 { 4120 {
4121 ViewportArguments arguments = mainFrameImpl()->frame()->document()->viewport Arguments(); 4121 ViewportArguments arguments = mainFrameImpl()->frame()->document()->viewport Arguments();
4122 return arguments.width == ViewportArguments::ValueDeviceWidth || !arguments. userZoom 4122 return arguments.width == ViewportArguments::ValueDeviceWidth || !arguments. userZoom
4123 || (arguments.minZoom == arguments.maxZoom && arguments.minZoom != Viewp ortArguments::ValueAuto); 4123 || (arguments.minZoom == arguments.maxZoom && arguments.minZoom != Viewp ortArguments::ValueAuto);
4124 } 4124 }
4125 4125
4126 } // namespace WebKit 4126 } // namespace WebKit
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698