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

Unified Diff: ash/shell.h

Issue 9166014: Allow a Views client to provide a default frameview for window widgets. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 8 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
Index: ash/shell.h
===================================================================
--- ash/shell.h (revision 117091)
+++ ash/shell.h (working copy)
@@ -27,6 +27,10 @@
class Rect;
class Size;
}
+namespace views {
+class NonClientFrameView;
+class Widget;
+}
namespace ash {
@@ -84,6 +88,11 @@
// See enum WindowMode for details.
bool IsWindowModeCompact() const { return window_mode_ == COMPACT_MODE; }
+ // Creates a default views::NonClientFrameView for use by windows in the
+ // Ash environment.
+ views::NonClientFrameView* CreateDefaultNonClientFrameView(
+ views::Widget* widget);
+
AcceleratorController* accelerator_controller() {
return accelerator_controller_.get();
}

Powered by Google App Engine
This is Rietveld 408576698