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

Side by Side Diff: content/browser/frame_host/render_widget_host_view_child_frame.cc

Issue 268543008: Cross-process iframe accessibility. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 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 | Annotate | Revision Log
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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/frame_host/render_widget_host_view_child_frame.h" 5 #include "content/browser/frame_host/render_widget_host_view_child_frame.h"
6 6
7 #include "content/browser/frame_host/cross_process_frame_connector.h" 7 #include "content/browser/frame_host/cross_process_frame_connector.h"
8 #include "content/browser/renderer_host/render_widget_host_impl.h" 8 #include "content/browser/renderer_host/render_widget_host_impl.h"
9 #include "content/common/gpu/gpu_messages.h" 9 #include "content/common/gpu/gpu_messages.h"
10 #include "content/common/view_messages.h" 10 #include "content/common/view_messages.h"
(...skipping 231 matching lines...) Expand 10 before | Expand all | Expand 10 after
242 } 242 }
243 #endif // defined(USE_AURA) 243 #endif // defined(USE_AURA)
244 244
245 bool RenderWidgetHostViewChildFrame::LockMouse() { 245 bool RenderWidgetHostViewChildFrame::LockMouse() {
246 return false; 246 return false;
247 } 247 }
248 248
249 void RenderWidgetHostViewChildFrame::UnlockMouse() { 249 void RenderWidgetHostViewChildFrame::UnlockMouse() {
250 } 250 }
251 251
252 void RenderWidgetHostViewChildFrame::
253 CreateBrowserAccessibilityManagerIfNeeded() {
254 if (GetBrowserAccessibilityManager())
255 return;
256
257 SetBrowserAccessibilityManager(BrowserAccessibilityManager::Create(
258 BrowserAccessibilityManager::GetEmptyDocument(), host_));
259 }
260
252 #if defined(OS_MACOSX) 261 #if defined(OS_MACOSX)
253 void RenderWidgetHostViewChildFrame::SetActive(bool active) { 262 void RenderWidgetHostViewChildFrame::SetActive(bool active) {
254 } 263 }
255 264
256 void RenderWidgetHostViewChildFrame::SetTakesFocusOnlyOnMouseDown(bool flag) { 265 void RenderWidgetHostViewChildFrame::SetTakesFocusOnlyOnMouseDown(bool flag) {
257 } 266 }
258 267
259 void RenderWidgetHostViewChildFrame::SetWindowVisibility(bool visible) { 268 void RenderWidgetHostViewChildFrame::SetWindowVisibility(bool visible) {
260 } 269 }
261 270
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after
345 const { 354 const {
346 return NULL; 355 return NULL;
347 } 356 }
348 #endif // defined(OS_WIN) 357 #endif // defined(OS_WIN)
349 358
350 SkBitmap::Config RenderWidgetHostViewChildFrame::PreferredReadbackFormat() { 359 SkBitmap::Config RenderWidgetHostViewChildFrame::PreferredReadbackFormat() {
351 return SkBitmap::kARGB_8888_Config; 360 return SkBitmap::kARGB_8888_Config;
352 } 361 }
353 362
354 } // namespace content 363 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698