summaryrefslogtreecommitdiffstats
path: root/views/window
diff options
context:
space:
mode:
authorben@chromium.org <ben@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-02-16 00:13:01 +0000
committerben@chromium.org <ben@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-02-16 00:13:01 +0000
commita8add2b949474a43d9852966b98c2774af060e1e (patch)
treee50a9987226f3d32b4ec8fbc188403ca67490792 /views/window
parente118ff727561aa0472333ea0fef9ff3b9ed8c541 (diff)
downloadchromium_src-a8add2b949474a43d9852966b98c2774af060e1e.zip
chromium_src-a8add2b949474a43d9852966b98c2774af060e1e.tar.gz
chromium_src-a8add2b949474a43d9852966b98c2774af060e1e.tar.bz2
Rename Paint* -> OnPaint*
http://crbug.com/72040 TEST=none TBR=sky Review URL: http://codereview.chromium.org/6499030 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@75033 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'views/window')
-rw-r--r--views/window/custom_frame_view.cc2
-rw-r--r--views/window/custom_frame_view.h2
-rw-r--r--views/window/dialog_client_view.cc2
-rw-r--r--views/window/dialog_client_view.h2
4 files changed, 4 insertions, 4 deletions
diff --git a/views/window/custom_frame_view.cc b/views/window/custom_frame_view.cc
index 9c7c616..cd687b7 100644
--- a/views/window/custom_frame_view.cc
+++ b/views/window/custom_frame_view.cc
@@ -206,7 +206,7 @@ void CustomFrameView::ResetWindowControls() {
///////////////////////////////////////////////////////////////////////////////
// CustomFrameView, View overrides:
-void CustomFrameView::Paint(gfx::Canvas* canvas) {
+void CustomFrameView::OnPaint(gfx::Canvas* canvas) {
if (frame_->IsMaximized())
PaintMaximizedFrameBorder(canvas);
else
diff --git a/views/window/custom_frame_view.h b/views/window/custom_frame_view.h
index e424f29..3c0517a 100644
--- a/views/window/custom_frame_view.h
+++ b/views/window/custom_frame_view.h
@@ -45,7 +45,7 @@ class CustomFrameView : public NonClientFrameView,
virtual void ResetWindowControls();
// View overrides:
- virtual void Paint(gfx::Canvas* canvas);
+ virtual void OnPaint(gfx::Canvas* canvas);
virtual void Layout();
virtual gfx::Size GetPreferredSize();
diff --git a/views/window/dialog_client_view.cc b/views/window/dialog_client_view.cc
index a7f9078..730972e 100644
--- a/views/window/dialog_client_view.cc
+++ b/views/window/dialog_client_view.cc
@@ -300,7 +300,7 @@ int DialogClientView::NonClientHitTest(const gfx::Point& point) {
////////////////////////////////////////////////////////////////////////////////
// DialogClientView, View overrides:
-void DialogClientView::Paint(gfx::Canvas* canvas) {
+void DialogClientView::OnPaint(gfx::Canvas* canvas) {
#if defined(OS_WIN)
FillViewWithSysColor(canvas, this, GetSysColor(COLOR_3DFACE));
#else
diff --git a/views/window/dialog_client_view.h b/views/window/dialog_client_view.h
index 0f83186..d6d87a5 100644
--- a/views/window/dialog_client_view.h
+++ b/views/window/dialog_client_view.h
@@ -75,7 +75,7 @@ class DialogClientView : public ClientView,
protected:
// View overrides:
- virtual void Paint(gfx::Canvas* canvas);
+ virtual void OnPaint(gfx::Canvas* canvas);
virtual void PaintChildren(gfx::Canvas* canvas);
virtual void Layout();
virtual void ViewHierarchyChanged(bool is_add, View* parent, View* child);