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

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

Issue 6976040: Revert 86914 - Move a bunch of functions 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/widget/widget.cc ('k') | views/window/native_window_gtk.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 73 matching lines...) Expand 10 before | Expand all | Expand 10 after
84 // Update native accessibility properties on the native window. 84 // Update native accessibility properties on the native window.
85 virtual void SetAccessibleName(const std::wstring& name) = 0; 85 virtual void SetAccessibleName(const std::wstring& name) = 0;
86 virtual void SetAccessibleRole(ui::AccessibilityTypes::Role role) = 0; 86 virtual void SetAccessibleRole(ui::AccessibilityTypes::Role role) = 0;
87 virtual void SetAccessibleState(ui::AccessibilityTypes::State state) = 0; 87 virtual void SetAccessibleState(ui::AccessibilityTypes::State state) = 0;
88 88
89 // Window pass-thrus --------------------------------------------------------- 89 // Window pass-thrus ---------------------------------------------------------
90 // See documentation in window.h 90 // See documentation in window.h
91 91
92 virtual void SetWindowBounds(const gfx::Rect& bounds, 92 virtual void SetWindowBounds(const gfx::Rect& bounds,
93 gfx::NativeWindow other_window) = 0; 93 gfx::NativeWindow other_window) = 0;
94 virtual void HideWindow() = 0;
95 virtual void Activate() = 0;
96 virtual void Deactivate() = 0;
97 virtual void Maximize() = 0;
98 virtual void Minimize() = 0;
99 virtual void Restore() = 0;
100 virtual bool IsActive() const = 0;
101 virtual bool IsVisible() const = 0;
102 virtual bool IsMaximized() const = 0;
103 virtual bool IsMinimized() const = 0;
94 virtual void SetFullscreen(bool fullscreen) = 0; 104 virtual void SetFullscreen(bool fullscreen) = 0;
95 virtual bool IsFullscreen() const = 0; 105 virtual bool IsFullscreen() const = 0;
106 virtual void SetAlwaysOnTop(bool always_on_top) = 0;
96 virtual void SetUseDragFrame(bool use_drag_frame) = 0; 107 virtual void SetUseDragFrame(bool use_drag_frame) = 0;
97 virtual NonClientFrameView* CreateFrameViewForWindow() = 0; 108 virtual NonClientFrameView* CreateFrameViewForWindow() = 0;
98 virtual void UpdateFrameAfterFrameChange() = 0; 109 virtual void UpdateFrameAfterFrameChange() = 0;
110 virtual gfx::NativeWindow GetNativeWindow() const = 0;
99 virtual bool ShouldUseNativeFrame() const = 0; 111 virtual bool ShouldUseNativeFrame() const = 0;
100 virtual void FrameTypeChanged() = 0; 112 virtual void FrameTypeChanged() = 0;
101 }; 113 };
102 114
103 } // namespace views 115 } // namespace views
104 116
105 #endif // VIEWS_WIDGET_NATIVE_WINDOW_H_ 117 #endif // VIEWS_WIDGET_NATIVE_WINDOW_H_
OLDNEW
« no previous file with comments | « views/widget/widget.cc ('k') | views/window/native_window_gtk.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698