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

Side by Side Diff: views/window/native_window_views.h

Issue 7054052: Move more from Window onto Widget. (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
« no previous file with comments | « views/window/native_window_gtk.cc ('k') | views/window/native_window_views.cc » ('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) 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_WINDOW_NATIVE_WINDOW_VIEWS_H_ 5 #ifndef VIEWS_WINDOW_NATIVE_WINDOW_VIEWS_H_
6 #define VIEWS_WINDOW_NATIVE_WINDOW_VIEWS_H_ 6 #define VIEWS_WINDOW_NATIVE_WINDOW_VIEWS_H_
7 #pragma once 7 #pragma once
8 8
9 #include "base/message_loop.h" 9 #include "base/message_loop.h"
10 #include "views/window/native_window.h" 10 #include "views/window/native_window.h"
(...skipping 11 matching lines...) Expand all
22 public: 22 public:
23 NativeWindowViews(View* host, internal::NativeWindowDelegate* delegate); 23 NativeWindowViews(View* host, internal::NativeWindowDelegate* delegate);
24 virtual ~NativeWindowViews(); 24 virtual ~NativeWindowViews();
25 25
26 private: 26 private:
27 // Overridden from NativeWindow: 27 // Overridden from NativeWindow:
28 virtual Window* GetWindow() OVERRIDE; 28 virtual Window* GetWindow() OVERRIDE;
29 virtual const Window* GetWindow() const OVERRIDE; 29 virtual const Window* GetWindow() const OVERRIDE;
30 virtual NativeWidget* AsNativeWidget() OVERRIDE; 30 virtual NativeWidget* AsNativeWidget() OVERRIDE;
31 virtual const NativeWidget* AsNativeWidget() const OVERRIDE; 31 virtual const NativeWidget* AsNativeWidget() const OVERRIDE;
32 virtual gfx::Rect GetRestoredBounds() const OVERRIDE;
33 virtual void ShowNativeWindow(ShowState state) OVERRIDE;
34 virtual void BecomeModal() OVERRIDE; 32 virtual void BecomeModal() OVERRIDE;
35 virtual void EnableClose(bool enable) OVERRIDE;
36 33
37 internal::NativeWindowDelegate* delegate_; 34 internal::NativeWindowDelegate* delegate_;
38 35
39 DISALLOW_COPY_AND_ASSIGN(NativeWindowViews); 36 DISALLOW_COPY_AND_ASSIGN(NativeWindowViews);
40 }; 37 };
41 38
42 } 39 }
43 40
44 #endif // VIEWS_WINDOW_NATIVE_WINDOW_VIEWS_H_ 41 #endif // VIEWS_WINDOW_NATIVE_WINDOW_VIEWS_H_
OLDNEW
« no previous file with comments | « views/window/native_window_gtk.cc ('k') | views/window/native_window_views.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698