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

Unified Diff: chrome/browser/ui/views/frame/browser_frame.cc

Issue 9027020: Bypass ToplevelWindowEventFilter for panels. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years 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 | ui/aura/client/aura_constants.h » ('j') | ui/aura_shell/shell_window_ids.h » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/views/frame/browser_frame.cc
diff --git a/chrome/browser/ui/views/frame/browser_frame.cc b/chrome/browser/ui/views/frame/browser_frame.cc
index ce40733eaf830cccf07057f663feae1f97c7a74c..5a6eb6b18dfee533c747a8cb085b708411e4d3b7 100644
--- a/chrome/browser/ui/views/frame/browser_frame.cc
+++ b/chrome/browser/ui/views/frame/browser_frame.cc
@@ -63,6 +63,7 @@ void BrowserFrame::InitBrowserFrame() {
// from being changed to top-most after the window is created without
// activation.
params.keep_on_top = true;
+ params.is_panel = true;
}
#if defined(USE_AURA)
CommandLine* command_line = CommandLine::ForCurrentProcess();
« no previous file with comments | « no previous file | ui/aura/client/aura_constants.h » ('j') | ui/aura_shell/shell_window_ids.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698