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

Side by Side Diff: content/browser/renderer_host/render_widget_host_view_aura.cc

Issue 23651003: Use Blink accessibility enums in Chromium (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fixed compile errors 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 // 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 "content/browser/renderer_host/render_widget_host_view_aura.h" 5 #include "content/browser/renderer_host/render_widget_host_view_aura.h"
6 6
7 #include "base/bind.h" 7 #include "base/bind.h"
8 #include "base/bind_helpers.h" 8 #include "base/bind_helpers.h"
9 #include "base/command_line.h" 9 #include "base/command_line.h"
10 #include "base/debug/trace_event.h" 10 #include "base/debug/trace_event.h"
(...skipping 2025 matching lines...) Expand 10 before | Expand all | Expand 10 after
2036 void RenderWidgetHostViewAura::SetHasHorizontalScrollbar( 2036 void RenderWidgetHostViewAura::SetHasHorizontalScrollbar(
2037 bool has_horizontal_scrollbar) { 2037 bool has_horizontal_scrollbar) {
2038 // Not needed. Mac-only. 2038 // Not needed. Mac-only.
2039 } 2039 }
2040 2040
2041 void RenderWidgetHostViewAura::SetScrollOffsetPinning( 2041 void RenderWidgetHostViewAura::SetScrollOffsetPinning(
2042 bool is_pinned_to_left, bool is_pinned_to_right) { 2042 bool is_pinned_to_left, bool is_pinned_to_right) {
2043 // Not needed. Mac-only. 2043 // Not needed. Mac-only.
2044 } 2044 }
2045 2045
2046 void RenderWidgetHostViewAura::OnAccessibilityNotifications( 2046 void RenderWidgetHostViewAura::OnAccessibilityEvents(
2047 const std::vector<AccessibilityHostMsg_NotificationParams>& params) { 2047 const std::vector<AccessibilityHostMsg_EventParams>& params) {
2048 BrowserAccessibilityManager* manager = 2048 BrowserAccessibilityManager* manager =
2049 GetOrCreateBrowserAccessibilityManager(); 2049 GetOrCreateBrowserAccessibilityManager();
2050 if (manager) 2050 if (manager)
2051 manager->OnAccessibilityNotifications(params); 2051 manager->OnAccessibilityEvents(params);
2052 } 2052 }
2053 2053
2054 gfx::GLSurfaceHandle RenderWidgetHostViewAura::GetCompositingSurface() { 2054 gfx::GLSurfaceHandle RenderWidgetHostViewAura::GetCompositingSurface() {
2055 if (shared_surface_handle_.is_null()) { 2055 if (shared_surface_handle_.is_null()) {
2056 ImageTransportFactory* factory = ImageTransportFactory::GetInstance(); 2056 ImageTransportFactory* factory = ImageTransportFactory::GetInstance();
2057 shared_surface_handle_ = factory->CreateSharedSurfaceHandle(); 2057 shared_surface_handle_ = factory->CreateSharedSurfaceHandle();
2058 if (!shared_surface_handle_.is_null()) 2058 if (!shared_surface_handle_.is_null())
2059 factory->AddObserver(this); 2059 factory->AddObserver(this);
2060 } 2060 }
2061 return shared_surface_handle_; 2061 return shared_surface_handle_;
(...skipping 1196 matching lines...) Expand 10 before | Expand all | Expand 10 after
3258 RenderWidgetHost* widget) { 3258 RenderWidgetHost* widget) {
3259 return new RenderWidgetHostViewAura(widget); 3259 return new RenderWidgetHostViewAura(widget);
3260 } 3260 }
3261 3261
3262 // static 3262 // static
3263 void RenderWidgetHostViewPort::GetDefaultScreenInfo(WebScreenInfo* results) { 3263 void RenderWidgetHostViewPort::GetDefaultScreenInfo(WebScreenInfo* results) {
3264 GetScreenInfoForWindow(results, NULL); 3264 GetScreenInfoForWindow(results, NULL);
3265 } 3265 }
3266 3266
3267 } // namespace content 3267 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698