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

Unified Diff: chrome/test/data/webui/certificate_viewer_ui_test-inl.h

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
« no previous file with comments | « chrome/test/base/ui_test_utils.cc ('k') | chrome/test/gpu/gpu_pixel_browsertest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/data/webui/certificate_viewer_ui_test-inl.h
===================================================================
--- chrome/test/data/webui/certificate_viewer_ui_test-inl.h (revision 145001)
+++ chrome/test/data/webui/certificate_viewer_ui_test-inl.h (working copy)
@@ -4,6 +4,7 @@
#include "chrome/browser/certificate_viewer.h"
#include "chrome/browser/ui/browser.h"
+#include "chrome/browser/ui/browser_tabstrip.h"
#include "chrome/browser/ui/browser_window.h"
#include "chrome/browser/ui/webui/certificate_viewer_webui.h"
#include "chrome/browser/ui/webui/web_ui_browsertest.h"
@@ -38,7 +39,7 @@
CertificateViewerDialog* dialog = new CertificateViewerDialog(
google_cert);
dialog->AddObserver(&dialog_observer);
- dialog->Show(browser()->GetActiveWebContents(),
+ dialog->Show(chrome::GetActiveWebContents(browser()),
browser()->window()->GetNativeWindow());
dialog->RemoveObserver(&dialog_observer);
content::WebUI* webui = dialog_observer.GetWebUI();
« no previous file with comments | « chrome/test/base/ui_test_utils.cc ('k') | chrome/test/gpu/gpu_pixel_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698