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

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

Issue 7075019: 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/window/native_window_views.h ('k') | views/window/native_window_win.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 #include "views/window/native_window_views.h" 5 #include "views/window/native_window_views.h"
6 6
7 #include "views/view.h" 7 #include "views/view.h"
8 8
9 namespace views { 9 namespace views {
10 10
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after
85 ui::AccessibilityTypes::State state) { 85 ui::AccessibilityTypes::State state) {
86 } 86 }
87 87
88 void NativeWindowViews::SetWindowBounds(const gfx::Rect& bounds, 88 void NativeWindowViews::SetWindowBounds(const gfx::Rect& bounds,
89 gfx::NativeWindow other_window) { 89 gfx::NativeWindow other_window) {
90 if (other_window) 90 if (other_window)
91 NOTIMPLEMENTED(); 91 NOTIMPLEMENTED();
92 GetView()->SetBoundsRect(bounds); 92 GetView()->SetBoundsRect(bounds);
93 } 93 }
94 94
95 void NativeWindowViews::HideWindow() {
96 GetView()->SetVisible(false);
97 }
98
99 void NativeWindowViews::Activate() {
100 NOTIMPLEMENTED();
101 }
102
103 void NativeWindowViews::Deactivate() {
104 NOTIMPLEMENTED();
105 }
106
107 void NativeWindowViews::Maximize() {
108 NOTIMPLEMENTED();
109 }
110
111 void NativeWindowViews::Minimize() {
112 NOTIMPLEMENTED();
113 }
114
115 void NativeWindowViews::Restore() {
116 NOTIMPLEMENTED();
117 }
118
119 bool NativeWindowViews::IsActive() const {
120 return NativeWidgetViews::IsActive();
121 }
122
123 bool NativeWindowViews::IsVisible() const {
124 return GetView()->IsVisible();
125 }
126
127 bool NativeWindowViews::IsMaximized() const {
128 NOTIMPLEMENTED();
129 return false;
130 }
131
132 bool NativeWindowViews::IsMinimized() const {
133 NOTIMPLEMENTED();
134 return false;
135 }
136
137 void NativeWindowViews::SetFullscreen(bool fullscreen) { 95 void NativeWindowViews::SetFullscreen(bool fullscreen) {
138 } 96 }
139 97
140 bool NativeWindowViews::IsFullscreen() const { 98 bool NativeWindowViews::IsFullscreen() const {
141 NOTIMPLEMENTED(); 99 NOTIMPLEMENTED();
142 return false; 100 return false;
143 } 101 }
144 102
145 void NativeWindowViews::SetAlwaysOnTop(bool always_on_top) {
146 }
147
148 void NativeWindowViews::SetUseDragFrame(bool use_drag_frame) { 103 void NativeWindowViews::SetUseDragFrame(bool use_drag_frame) {
149 } 104 }
150 105
151 NonClientFrameView* NativeWindowViews::CreateFrameViewForWindow() { 106 NonClientFrameView* NativeWindowViews::CreateFrameViewForWindow() {
152 return NULL; 107 return NULL;
153 } 108 }
154 109
155 void NativeWindowViews::UpdateFrameAfterFrameChange() { 110 void NativeWindowViews::UpdateFrameAfterFrameChange() {
156 } 111 }
157 112
158 gfx::NativeWindow NativeWindowViews::GetNativeWindow() const {
159 return NULL;
160 }
161
162 bool NativeWindowViews::ShouldUseNativeFrame() const { 113 bool NativeWindowViews::ShouldUseNativeFrame() const {
163 NOTIMPLEMENTED(); 114 NOTIMPLEMENTED();
164 return false; 115 return false;
165 } 116 }
166 117
167 void NativeWindowViews::FrameTypeChanged() { 118 void NativeWindowViews::FrameTypeChanged() {
168 } 119 }
169 120
170 } // namespace views 121 } // namespace views
OLDNEW
« no previous file with comments | « views/window/native_window_views.h ('k') | views/window/native_window_win.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698