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

Side by Side Diff: views/desktop/desktop_window.h

Issue 7189019: Fix even more crashes. To help identify remaining crashes now and in the future, I have made the ... (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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 VIEWS_DESKTOP_DESKTOP_WINDOW_H_ 5 #ifndef VIEWS_DESKTOP_DESKTOP_WINDOW_H_
6 #define VIEWS_DESKTOP_DESKTOP_WINDOW_H_ 6 #define VIEWS_DESKTOP_DESKTOP_WINDOW_H_
7 7
8 #include "views/view.h" 8 #include "views/view.h"
9 #include "views/widget/widget_delegate.h" 9 #include "views/widget/widget_delegate.h"
10 10
11 namespace views { 11 namespace views {
12 class NativeWidgetViews; 12 class NativeWidgetViews;
13 13
14 namespace desktop { 14 namespace desktop {
15 15
16 class DesktopWindow : public View, 16 class DesktopWindow : public WidgetDelegateView {
17 public WidgetDelegate {
18 public: 17 public:
19 DesktopWindow(); 18 DesktopWindow();
20 virtual ~DesktopWindow(); 19 virtual ~DesktopWindow();
21 20
22 static void CreateDesktopWindow(); 21 static void CreateDesktopWindow();
23 22
24 // Changes activation to the specified Widget. The currently active Widget 23 // Changes activation to the specified Widget. The currently active Widget
25 // is de-activated. 24 // is de-activated.
26 void ActivateWidget(Widget* widget); 25 void ActivateWidget(Widget* widget);
27 26
(...skipping 18 matching lines...) Expand all
46 45
47 NativeWidgetViews* active_widget_; 46 NativeWidgetViews* active_widget_;
48 47
49 DISALLOW_COPY_AND_ASSIGN(DesktopWindow); 48 DISALLOW_COPY_AND_ASSIGN(DesktopWindow);
50 }; 49 };
51 50
52 } // namespace desktop 51 } // namespace desktop
53 } // namespace views 52 } // namespace views
54 53
55 #endif // VIEWS_DESKTOP_DESKTOP_WINDOW_H_ 54 #endif // VIEWS_DESKTOP_DESKTOP_WINDOW_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698