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

Unified Diff: views/window/native_window_views.cc

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, 7 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « views/window/native_window_views.h ('k') | views/window/native_window_win.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: views/window/native_window_views.cc
===================================================================
--- views/window/native_window_views.cc (revision 86938)
+++ views/window/native_window_views.cc (working copy)
@@ -92,6 +92,48 @@
GetView()->SetBoundsRect(bounds);
}
+void NativeWindowViews::HideWindow() {
+ GetView()->SetVisible(false);
+}
+
+void NativeWindowViews::Activate() {
+ NOTIMPLEMENTED();
+}
+
+void NativeWindowViews::Deactivate() {
+ NOTIMPLEMENTED();
+}
+
+void NativeWindowViews::Maximize() {
+ NOTIMPLEMENTED();
+}
+
+void NativeWindowViews::Minimize() {
+ NOTIMPLEMENTED();
+}
+
+void NativeWindowViews::Restore() {
+ NOTIMPLEMENTED();
+}
+
+bool NativeWindowViews::IsActive() const {
+ return NativeWidgetViews::IsActive();
+}
+
+bool NativeWindowViews::IsVisible() const {
+ return GetView()->IsVisible();
+}
+
+bool NativeWindowViews::IsMaximized() const {
+ NOTIMPLEMENTED();
+ return false;
+}
+
+bool NativeWindowViews::IsMinimized() const {
+ NOTIMPLEMENTED();
+ return false;
+}
+
void NativeWindowViews::SetFullscreen(bool fullscreen) {
}
@@ -100,6 +142,9 @@
return false;
}
+void NativeWindowViews::SetAlwaysOnTop(bool always_on_top) {
+}
+
void NativeWindowViews::SetUseDragFrame(bool use_drag_frame) {
}
@@ -110,6 +155,10 @@
void NativeWindowViews::UpdateFrameAfterFrameChange() {
}
+gfx::NativeWindow NativeWindowViews::GetNativeWindow() const {
+ return NULL;
+}
+
bool NativeWindowViews::ShouldUseNativeFrame() const {
NOTIMPLEMENTED();
return false;
« 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