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

Unified Diff: chrome/browser/accessibility/accessibility_win_browsertest.cc

Issue 10702029: Move tab functions off Browser into browser_tabstrip and browser_tabrestore. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 6 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/accessibility/accessibility_win_browsertest.cc
===================================================================
--- chrome/browser/accessibility/accessibility_win_browsertest.cc (revision 145001)
+++ chrome/browser/accessibility/accessibility_win_browsertest.cc (working copy)
@@ -10,6 +10,7 @@
#include "base/utf_string_conversions.h"
#include "base/win/scoped_comptr.h"
#include "chrome/browser/ui/browser.h"
+#include "chrome/browser/ui/browser_tabstrip.h"
#include "chrome/browser/ui/browser_window.h"
#include "chrome/common/url_constants.h"
#include "chrome/test/base/in_process_browser_test.h"
@@ -210,10 +211,10 @@
IAccessible*
AccessibilityWinBrowserTest::GetRendererAccessible() {
content::RenderViewHostTester::EnableAccessibilityUpdatedNotifications(
- browser()->GetActiveWebContents()->GetRenderViewHost());
+ chrome::GetActiveWebContents(browser())->GetRenderViewHost());
HWND hwnd_render_widget_host_view =
- browser()->GetActiveWebContents()->GetRenderWidgetHostView()->
+ chrome::GetActiveWebContents(browser())->GetRenderWidgetHostView()->
GetNativeView();
// Invoke windows screen reader detection by sending the WM_GETOBJECT message
@@ -233,7 +234,7 @@
}
void AccessibilityWinBrowserTest::ExecuteScript(wstring script) {
- browser()->GetActiveWebContents()->GetRenderViewHost()->
+ chrome::GetActiveWebContents(browser())->GetRenderViewHost()->
ExecuteJavascriptInWebFrame(L"", script);
}
« no previous file with comments | « chrome/browser/accessibility/accessibility_extension_apitest.cc ('k') | chrome/browser/app_controller_mac_browsertest.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698