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

Unified Diff: ash/shell.h

Issue 138223004: Inject GPUDataManager support into ash to abstract a content dependency. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 6 years, 11 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/screensaver/screensaver_view.h ('k') | ash/shell.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/shell.h
diff --git a/ash/shell.h b/ash/shell.h
index a452cd53ea473bf7e5d54b8df26ecba669c4cc16..ff58e66372b4a004ad81c46deec72f43d585fe14 100644
--- a/ash/shell.h
+++ b/ash/shell.h
@@ -83,6 +83,7 @@ class CapsLockDelegate;
class DesktopBackgroundController;
class DisplayController;
class FirstRunHelper;
+class GPUSupport;
class HighContrastController;
class LockStateController;
class MagnificationController;
@@ -535,6 +536,9 @@ class ASH_EXPORT Shell
}
#endif // defined(OS_CHROMEOS)
+ GPUSupport* gpu_support() { return gpu_support_.get(); }
+ void SetGPUSupport(scoped_ptr<GPUSupport> gpu_support);
+
private:
FRIEND_TEST_ALL_PREFIXES(ExtendedDesktopTest, TestCursor);
FRIEND_TEST_ALL_PREFIXES(WindowManagerTest, MouseEventCursors);
@@ -707,6 +711,9 @@ class ASH_EXPORT Shell
bool is_touch_hud_projection_enabled_;
+ // Injected content::GPUDataManager support.
+ scoped_ptr<GPUSupport> gpu_support_;
+
DISALLOW_COPY_AND_ASSIGN(Shell);
};
« no previous file with comments | « ash/screensaver/screensaver_view.h ('k') | ash/shell.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698