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

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

Issue 7129022: Move last of event handlers down to NativeWidgetWin/Gtk. (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/widget/widget.cc ('k') | views/window/native_window_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) 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_WIDGET_NATIVE_WINDOW_H_ 5 #ifndef VIEWS_WIDGET_NATIVE_WINDOW_H_
6 #define VIEWS_WIDGET_NATIVE_WINDOW_H_ 6 #define VIEWS_WIDGET_NATIVE_WINDOW_H_
7 #pragma once 7 #pragma once
8 8
9 #include "ui/base/accessibility/accessibility_types.h" 9 #include "ui/base/accessibility/accessibility_types.h"
10 #include "ui/gfx/native_widget_types.h" 10 #include "ui/gfx/native_widget_types.h"
(...skipping 26 matching lines...) Expand all
37 internal::NativeWindowDelegate* delegate); 37 internal::NativeWindowDelegate* delegate);
38 38
39 virtual Window* GetWindow() = 0; 39 virtual Window* GetWindow() = 0;
40 virtual const Window* GetWindow() const = 0; 40 virtual const Window* GetWindow() const = 0;
41 41
42 virtual NativeWidget* AsNativeWidget() = 0; 42 virtual NativeWidget* AsNativeWidget() = 0;
43 virtual const NativeWidget* AsNativeWidget() const = 0; 43 virtual const NativeWidget* AsNativeWidget() const = 0;
44 44
45 protected: 45 protected:
46 friend class Window; 46 friend class Window;
47
48 // Makes the NativeWindow modal.
49 virtual void BecomeModal() = 0;
50 }; 47 };
51 48
52 } // namespace views 49 } // namespace views
53 50
54 #endif // VIEWS_WIDGET_NATIVE_WINDOW_H_ 51 #endif // VIEWS_WIDGET_NATIVE_WINDOW_H_
OLDNEW
« no previous file with comments | « views/widget/widget.cc ('k') | views/window/native_window_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698