Index: ash/shell_delegate.h |
diff --git a/ash/shell_delegate.h b/ash/shell_delegate.h |
index 0a86aa33f48183d3a2724d3ecf96af693e23dc08..3e7aca893736d313f777ffc867261df6ff58b5b8 100644 |
--- a/ash/shell_delegate.h |
+++ b/ash/shell_delegate.h |
@@ -59,6 +59,9 @@ class ASH_EXPORT ShellDelegate { |
// Invoked when the user uses Ctrl-N or Ctrl-Shift-N to open a new window. |
virtual void NewWindow(bool incognito) = 0; |
+ // Returns true if |window| is one of the browser windows. |
+ virtual bool IsBrowserWindow(const aura::Window* window) = 0; |
Ben Goodger (Google)
2012/05/01 16:00:37
IsWebContentsView()
Yusuke Sato
2012/05/02 16:40:11
I've added code directly to accelerator_filter.cc
Ben Goodger (Google)
2012/05/03 17:29:38
Why do you need to know if it is a browser window?
Yusuke Sato
2012/05/03 17:45:59
This is because when it is a (non-app) browser win
|
+ |
// Invoked when the user presses the Search key. |
virtual void Search() = 0; |