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

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

Issue 24436002: Remove screen dimensions from image sent with Feedback. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 3 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/ash/chrome_shell_delegate.h
diff --git a/chrome/browser/ui/ash/chrome_shell_delegate.h b/chrome/browser/ui/ash/chrome_shell_delegate.h
index ef8ea0f7d440e2897523c8d8d27e40cd4a507035..70b75e4a788acc1e61b51f57b3d18586440b7b37 100644
--- a/chrome/browser/ui/ash/chrome_shell_delegate.h
+++ b/chrome/browser/ui/ash/chrome_shell_delegate.h
@@ -108,6 +108,11 @@ class ChromeShellDelegate : public ash::ShellDelegate,
// for a browser or create one for default profile and returns it.
Browser* GetTargetBrowser();
+ // This returns the active ash window if any. Unlike the method above, it
+ // does not create a window if one isn't available, instead it returns NULL
+ // in that case.
+ Browser* GetTargetBrowserIfAvailable();
+
static ChromeShellDelegate* instance_;
content::NotificationRegistrar registrar_;

Powered by Google App Engine
This is Rietveld 408576698