summaryrefslogtreecommitdiffstats
path: root/ash/shell.h
diff options
context:
space:
mode:
authorben@chromium.org <ben@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-04-12 21:32:48 +0000
committerben@chromium.org <ben@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-04-12 21:32:48 +0000
commitfa4a458315fa15f2077a63ce3f5578bc499655be (patch)
treee208c18768533bf3260cd8c03d916953e5e7dce0 /ash/shell.h
parentd78e2b28e27bafe18efbfd2caeac68fbf7ef0f75 (diff)
downloadchromium_src-fa4a458315fa15f2077a63ce3f5578bc499655be.zip
chromium_src-fa4a458315fa15f2077a63ce3f5578bc499655be.tar.gz
chromium_src-fa4a458315fa15f2077a63ce3f5578bc499655be.tar.bz2
Support WebView in ash.
BUG=none TEST=none Review URL: https://chromiumcodereview.appspot.com/10054038 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@132063 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ash/shell.h')
-rw-r--r--ash/shell.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/ash/shell.h b/ash/shell.h
index 35632a5..690ae79 100644
--- a/ash/shell.h
+++ b/ash/shell.h
@@ -28,6 +28,10 @@ class Monitor;
class RootWindow;
class Window;
}
+namespace content {
+class BrowserContext;
+}
+
namespace gfx {
class Point;
class Rect;
@@ -251,6 +255,11 @@ class ASH_EXPORT Shell {
return shadow_controller_.get();
}
+ content::BrowserContext* browser_context() { return browser_context_; }
+ void set_browser_context(content::BrowserContext* browser_context) {
+ browser_context_ = browser_context;
+ }
+
private:
FRIEND_TEST_ALL_PREFIXES(RootWindowEventFilterTest, MouseEventCursors);
FRIEND_TEST_ALL_PREFIXES(RootWindowEventFilterTest, TransformActivate);
@@ -348,6 +357,9 @@ class ASH_EXPORT Shell {
// |status_widget_|).
scoped_ptr<SystemTray> tray_;
+ // Used by ash/shell.
+ content::BrowserContext* browser_context_;
+
DISALLOW_COPY_AND_ASSIGN(Shell);
};