summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--chrome/browser/chromeos/native_dialog_window.h4
-rw-r--r--chrome/browser/ui/views/constrained_window_views.cc2
-rw-r--r--ui/views/window/non_client_view.h6
3 files changed, 6 insertions, 6 deletions
diff --git a/chrome/browser/chromeos/native_dialog_window.h b/chrome/browser/chromeos/native_dialog_window.h
index 1a28365..06510f9 100644
--- a/chrome/browser/chromeos/native_dialog_window.h
+++ b/chrome/browser/chromeos/native_dialog_window.h
@@ -1,4 +1,4 @@
-// Copyright (c) 2010 The Chromium Authors. All rights reserved.
+// Copyright (c) 2011 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
@@ -22,7 +22,7 @@ enum NativeDialogFlags {
DIALOG_FLAG_MODAL = 0x02, // For modal dialog.
};
-// Shows a |native_dialog| hosted in a views::Window. |flags| are combinations
+// Shows a |native_dialog| hosted in a views::Widget. |flags| are combinations
// of the NativeDialogFlags. |size| is a default size. Zero width/height of
// |size| means let gtk choose a proper size for that dimension. |min_size| is
// the minimum size of the final host Window.
diff --git a/chrome/browser/ui/views/constrained_window_views.cc b/chrome/browser/ui/views/constrained_window_views.cc
index c027cc3..8522392 100644
--- a/chrome/browser/ui/views/constrained_window_views.cc
+++ b/chrome/browser/ui/views/constrained_window_views.cc
@@ -599,7 +599,7 @@ gfx::NativeWindow ConstrainedWindowViews::GetNativeWindow() {
}
////////////////////////////////////////////////////////////////////////////////
-// ConstrainedWindowViews, views::Window overrides:
+// ConstrainedWindowViews, views::Widget overrides:
views::NonClientFrameView* ConstrainedWindowViews::CreateNonClientFrameView() {
return new ConstrainedWindowFrameView(this);
diff --git a/ui/views/window/non_client_view.h b/ui/views/window/non_client_view.h
index eaea2bc..55ad896 100644
--- a/ui/views/window/non_client_view.h
+++ b/ui/views/window/non_client_view.h
@@ -103,21 +103,21 @@ class VIEWS_EXPORT NonClientFrameView : public View {
// portions of the window, and the ClientView, which is responsible for the
// same for the client area of the window:
//
-// +- views::Window ------------------------------------+
+// +- views::Widget ------------------------------------+
// | +- views::RootView ------------------------------+ |
// | | +- views::NonClientView ---------------------+ | |
// | | | +- views::NonClientFrameView subclas ---+ | | |
// | | | | | | | |
// | | | | << all painting and event receiving >> | | | |
// | | | | << of the non-client areas of a >> | | | |
-// | | | | << views::Window. >> | | | |
+// | | | | << views::Widget. >> | | | |
// | | | | | | | |
// | | | +----------------------------------------+ | | |
// | | | +- views::ClientView or subclass --------+ | | |
// | | | | | | | |
// | | | | << all painting and event receiving >> | | | |
// | | | | << of the client areas of a >> | | | |
-// | | | | << views::Window. >> | | | |
+// | | | | << views::Widget. >> | | | |
// | | | | | | | |
// | | | +----------------------------------------+ | | |
// | | +--------------------------------------------+ | |