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

Side by Side Diff: ash/shell_delegate.h

Issue 132173006: Provide real GPUSupport to ash for Chrome (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix win (gpu_support) Created 6 years, 10 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « ash/shell/shell_delegate_impl.cc ('k') | ash/test/test_shell_delegate.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef ASH_SHELL_DELEGATE_H_ 5 #ifndef ASH_SHELL_DELEGATE_H_
6 #define ASH_SHELL_DELEGATE_H_ 6 #define ASH_SHELL_DELEGATE_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "ash/ash_export.h" 10 #include "ash/ash_export.h"
(...skipping 120 matching lines...) Expand 10 before | Expand all | Expand 10 after
131 // passes its ShelfItemDelegate and LauncherItem. 131 // passes its ShelfItemDelegate and LauncherItem.
132 virtual ui::MenuModel* CreateContextMenu( 132 virtual ui::MenuModel* CreateContextMenu(
133 aura::Window* root_window, 133 aura::Window* root_window,
134 ash::ShelfItemDelegate* item_delegate, 134 ash::ShelfItemDelegate* item_delegate,
135 ash::LauncherItem* item) = 0; 135 ash::LauncherItem* item) = 0;
136 136
137 // Creates a root window host factory. Shell takes ownership of the returned 137 // Creates a root window host factory. Shell takes ownership of the returned
138 // value. 138 // value.
139 virtual WindowTreeHostFactory* CreateWindowTreeHostFactory() = 0; 139 virtual WindowTreeHostFactory* CreateWindowTreeHostFactory() = 0;
140 140
141 // Creates a GPU support object. Shell takes ownership of the object.
142 virtual GPUSupport* CreateGPUSupport() = 0;
143
141 // Get the product name. 144 // Get the product name.
142 virtual base::string16 GetProductName() const = 0; 145 virtual base::string16 GetProductName() const = 0;
143 }; 146 };
144 147
145 } // namespace ash 148 } // namespace ash
146 149
147 #endif // ASH_SHELL_DELEGATE_H_ 150 #endif // ASH_SHELL_DELEGATE_H_
OLDNEW
« no previous file with comments | « ash/shell/shell_delegate_impl.cc ('k') | ash/test/test_shell_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698