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

Unified Diff: chrome/browser/ui/browser_window.h

Issue 6881073: Cleanup popup related browser navigation code. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix Popup tests for ChromeOS. Created 9 years, 8 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/ui/browser_window.h
diff --git a/chrome/browser/ui/browser_window.h b/chrome/browser/ui/browser_window.h
index 2802afba79a8711333c1045f194f4cb1ac06eeec..53cca76daa96a21c92a84fb7869c2369f94ac3eb 100644
--- a/chrome/browser/ui/browser_window.h
+++ b/chrome/browser/ui/browser_window.h
@@ -37,6 +37,10 @@ namespace views {
class Window;
}
+namespace browser {
+struct NavigateParams;
+}
+
class Extension;
////////////////////////////////////////////////////////////////////////////////
@@ -326,6 +330,10 @@ class BrowserWindow {
// placed at.
virtual gfx::Rect GetInstantBounds() = 0;
+ // Adjust navigation params if necessary for the type of browser window,
+ // e.g. change large panels into tabs for ChromeOS.
+ virtual void AdjustNavigateParams(browser::NavigateParams* params) = 0;
+
#if defined(OS_CHROMEOS)
// Shows the keyboard overlay dialog box.
virtual void ShowKeyboardOverlay(gfx::NativeWindow owning_window) = 0;

Powered by Google App Engine
This is Rietveld 408576698