summaryrefslogtreecommitdiffstats
path: root/ui/views/window
diff options
context:
space:
mode:
authorben@chromium.org <ben@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-02-01 22:14:38 +0000
committerben@chromium.org <ben@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-02-01 22:14:38 +0000
commit2a3851ec96ce92e9d51ef2737bf8a7137dad49e3 (patch)
treea0abc20bc21cef3eda852c0b2556f2ffe2b527be /ui/views/window
parent4258ecebbc45339f390bf874726014eeff2400ed (diff)
downloadchromium_src-2a3851ec96ce92e9d51ef2737bf8a7137dad49e3.zip
chromium_src-2a3851ec96ce92e9d51ef2737bf8a7137dad49e3.tar.gz
chromium_src-2a3851ec96ce92e9d51ef2737bf8a7137dad49e3.tar.bz2
sFirst cut at an experiment with what a simplified View/Widget API would look like.
Of note: - Widget is a cross-platform class encapsulating widget-specific state - NativeWidget interface wraps different implementations of a native widget. Starting with HWND. - NativeWidget implementation should eventually be swappable at runtime. - Simpler Event construction directly from a NativeEvent (e.g. MSG struct) - Simpler View API with fewer, more clearly delineated overrides. Notes: - Window* are just empty files for now while I get View/Widget to work. BUG=none TEST=see unittests, in development Review URL: http://codereview.chromium.org/6286013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@73353 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ui/views/window')
-rw-r--r--ui/views/window/native_window.h3
-rw-r--r--ui/views/window/native_window_views.cc3
-rw-r--r--ui/views/window/native_window_views.h3
-rw-r--r--ui/views/window/native_window_win.cc3
-rw-r--r--ui/views/window/native_window_win.h3
-rw-r--r--ui/views/window/window.cc3
-rw-r--r--ui/views/window/window.h3
7 files changed, 21 insertions, 0 deletions
diff --git a/ui/views/window/native_window.h b/ui/views/window/native_window.h
new file mode 100644
index 0000000..7a37f38
--- /dev/null
+++ b/ui/views/window/native_window.h
@@ -0,0 +1,3 @@
+// 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.
diff --git a/ui/views/window/native_window_views.cc b/ui/views/window/native_window_views.cc
new file mode 100644
index 0000000..7a37f38
--- /dev/null
+++ b/ui/views/window/native_window_views.cc
@@ -0,0 +1,3 @@
+// 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.
diff --git a/ui/views/window/native_window_views.h b/ui/views/window/native_window_views.h
new file mode 100644
index 0000000..7a37f38
--- /dev/null
+++ b/ui/views/window/native_window_views.h
@@ -0,0 +1,3 @@
+// 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.
diff --git a/ui/views/window/native_window_win.cc b/ui/views/window/native_window_win.cc
new file mode 100644
index 0000000..7a37f38
--- /dev/null
+++ b/ui/views/window/native_window_win.cc
@@ -0,0 +1,3 @@
+// 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.
diff --git a/ui/views/window/native_window_win.h b/ui/views/window/native_window_win.h
new file mode 100644
index 0000000..7a37f38
--- /dev/null
+++ b/ui/views/window/native_window_win.h
@@ -0,0 +1,3 @@
+// 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.
diff --git a/ui/views/window/window.cc b/ui/views/window/window.cc
new file mode 100644
index 0000000..7a37f38
--- /dev/null
+++ b/ui/views/window/window.cc
@@ -0,0 +1,3 @@
+// 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.
diff --git a/ui/views/window/window.h b/ui/views/window/window.h
new file mode 100644
index 0000000..7a37f38
--- /dev/null
+++ b/ui/views/window/window.h
@@ -0,0 +1,3 @@
+// 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.