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

Unified Diff: ash/shell.h

Issue 10054038: Support WebView in ash. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 8 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
« no previous file with comments | « ash/ash.gyp ('k') | ash/shell/DEPS » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/shell.h
===================================================================
--- ash/shell.h (revision 131874)
+++ ash/shell.h (working copy)
@@ -28,6 +28,10 @@
class RootWindow;
class Window;
}
+namespace content {
+class BrowserContext;
+}
+
namespace gfx {
class Point;
class Rect;
@@ -248,6 +252,11 @@
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);
@@ -345,6 +354,9 @@
// |status_widget_|).
scoped_ptr<SystemTray> tray_;
+ // Used by ash/shell.
+ content::BrowserContext* browser_context_;
+
DISALLOW_COPY_AND_ASSIGN(Shell);
};
« no previous file with comments | « ash/ash.gyp ('k') | ash/shell/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698