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

Unified Diff: views/desktop/desktop_window.h

Issue 7206055: Add an option to run Chrome in the views desktop. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 6 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 | « views/desktop/desktop_main.cc ('k') | views/desktop/desktop_window.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: views/desktop/desktop_window.h
===================================================================
--- views/desktop/desktop_window.h (revision 89890)
+++ views/desktop/desktop_window.h (working copy)
@@ -15,17 +15,22 @@
class DesktopWindow : public WidgetDelegateView {
public:
- static DesktopWindow* desktop_window;
+ static DesktopWindow* desktop_window;
- DesktopWindow();
- virtual ~DesktopWindow();
+ DesktopWindow();
+ virtual ~DesktopWindow();
- static void CreateDesktopWindow();
+ static void CreateDesktopWindow();
- // Changes activation to the specified Widget. The currently active Widget
- // is de-activated.
- void ActivateWidget(Widget* widget);
+ // Changes activation to the specified Widget. The currently active Widget
+ // is de-activated.
+ void ActivateWidget(Widget* widget);
+ void CreateTestWindow(const std::wstring& title,
+ SkColor color,
+ gfx::Rect initial_bounds,
+ bool rotate);
+
private:
// Overridden from View:
virtual void Layout() OVERRIDE;
@@ -40,11 +45,6 @@
virtual void WindowClosing() OVERRIDE;
virtual View* GetContentsView() OVERRIDE;
- void CreateTestWindow(const std::wstring& title,
- SkColor color,
- gfx::Rect initial_bounds,
- bool rotate);
-
NativeWidgetViews* active_widget_;
DISALLOW_COPY_AND_ASSIGN(DesktopWindow);
« no previous file with comments | « views/desktop/desktop_main.cc ('k') | views/desktop/desktop_window.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698