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

Unified Diff: ui/aura_shell/shell.h

Issue 8591003: aura: Fix Chrome OS status area browser tests. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: add some casts Created 9 years, 1 month 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: ui/aura_shell/shell.h
diff --git a/ui/aura_shell/shell.h b/ui/aura_shell/shell.h
index 75643c558c75ae3b6aa2cb766d880dd1f484b804..26ed93cfba428b802760ed70834e52dc87b83756 100644
--- a/ui/aura_shell/shell.h
+++ b/ui/aura_shell/shell.h
@@ -23,6 +23,9 @@ class Window;
namespace gfx {
class Rect;
}
+namespace views {
+class Widget;
+}
namespace aura_shell {
@@ -50,6 +53,9 @@ class AURA_SHELL_EXPORT Shell {
static void DeleteInstanceForTesting();
+ ShellDelegate* delegate() { return delegate_.get(); }
+ Launcher* launcher() { return launcher_.get(); }
+
aura::Window* GetContainer(int container_id);
const aura::Window* GetContainer(int container_id) const;
@@ -60,8 +66,7 @@ class AURA_SHELL_EXPORT Shell {
// Toggles between overview mode and normal mode.
void ToggleOverview();
- ShellDelegate* delegate() { return delegate_.get(); }
- Launcher* launcher() { return launcher_.get(); }
+ views::Widget* GetStatusAreaWidget();
private:
typedef std::pair<aura::Window*, gfx::Rect> WindowAndBoundsPair;

Powered by Google App Engine
This is Rietveld 408576698