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

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

Issue 2284573004: Don't allow navigations in inactive windows to change window focus. (Closed)
Patch Set: Add more comments. Created 4 years, 4 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 | « no previous file | chrome/browser/ui/browser.cc » ('j') | chrome/test/base/web_ui_browser_test.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/browser.h
diff --git a/chrome/browser/ui/browser.h b/chrome/browser/ui/browser.h
index 693e84d96148a486101ae1a1e7ed6401e516c791..5ee2e2045ef5d5bb0a1be8431ff245b150a5e171 100644
--- a/chrome/browser/ui/browser.h
+++ b/chrome/browser/ui/browser.h
@@ -24,6 +24,7 @@
#include "chrome/browser/ui/bookmarks/bookmark_bar.h"
#include "chrome/browser/ui/bookmarks/bookmark_tab_helper_delegate.h"
#include "chrome/browser/ui/browser_navigator.h"
+#include "chrome/browser/ui/browser_navigator_params.h"
#include "chrome/browser/ui/chrome_bubble_manager.h"
#include "chrome/browser/ui/chrome_web_modal_dialog_manager_delegate.h"
#include "chrome/browser/ui/exclusive_access/exclusive_access_manager.h"
@@ -403,6 +404,7 @@ class Browser : public TabStripModelObserver,
// this Browser. Updates the UI for the start of this navigation.
void UpdateUIForNavigationInTab(content::WebContents* contents,
ui::PageTransition transition,
+ chrome::NavigateParams::WindowAction action,
bool user_initiated);
// Shows the signin flow for |mode| in a tab-modal dialog.
« no previous file with comments | « no previous file | chrome/browser/ui/browser.cc » ('j') | chrome/test/base/web_ui_browser_test.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698