summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorrsesek@chromium.org <rsesek@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-04-28 14:50:22 +0000
committerrsesek@chromium.org <rsesek@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-04-28 14:50:22 +0000
commit99eaf75cf14010d67abea9c0fa9e917dd317f81e (patch)
treeea696c16ebbd98fbfe34115e6eb41595d99d0d39
parent2cf07bdeda8a8a18ca4b66cbdebbfc9b061632c1 (diff)
downloadchromium_src-99eaf75cf14010d67abea9c0fa9e917dd317f81e.zip
chromium_src-99eaf75cf14010d67abea9c0fa9e917dd317f81e.tar.gz
chromium_src-99eaf75cf14010d67abea9c0fa9e917dd317f81e.tar.bz2
Rename ui/gfx/scoped_cg_context_state_mac.h -> scoped_cg_context_save_gstate_mac.h
This is to match the actual name of the class and the AppKit/NS version that will be landed soon. BUG=none TEST=none Review URL: http://codereview.chromium.org/6903040 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@83332 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r--chrome/browser/ui/cocoa/tabpose_window.mm2
-rw-r--r--ui/gfx/scoped_cg_context_save_gstate_mac.h (renamed from ui/gfx/scoped_cg_context_state_mac.h)8
-rw-r--r--ui/ui_gfx.gypi2
3 files changed, 6 insertions, 6 deletions
diff --git a/chrome/browser/ui/cocoa/tabpose_window.mm b/chrome/browser/ui/cocoa/tabpose_window.mm
index 4a0d7fd..bf9e8c3 100644
--- a/chrome/browser/ui/cocoa/tabpose_window.mm
+++ b/chrome/browser/ui/cocoa/tabpose_window.mm
@@ -38,7 +38,7 @@
#include "third_party/skia/include/utils/mac/SkCGUtils.h"
#include "ui/base/resource/resource_bundle.h"
#include "ui/gfx/image.h"
-#include "ui/gfx/scoped_cg_context_state_mac.h"
+#include "ui/gfx/scoped_cg_context_save_gstate_mac.h"
// Height of the bottom gradient, in pixels.
const CGFloat kBottomGradientHeight = 50;
diff --git a/ui/gfx/scoped_cg_context_state_mac.h b/ui/gfx/scoped_cg_context_save_gstate_mac.h
index 6380bf1..dd84a4e 100644
--- a/ui/gfx/scoped_cg_context_state_mac.h
+++ b/ui/gfx/scoped_cg_context_save_gstate_mac.h
@@ -1,9 +1,9 @@
-// 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.
-#ifndef UI_GFX_SCOPED_CG_CONTEXT_STATE_MAC_H_
-#define UI_GFX_SCOPED_CG_CONTEXT_STATE_MAC_H_
+#ifndef UI_GFX_SCOPED_CG_CONTEXT_SAVE_GSTATE_MAC_H
+#define UI_GFX_SCOPED_CG_CONTEXT_SAVE_GSTATE_MAC_H
#import <QuartzCore/QuartzCore.h>
@@ -27,4 +27,4 @@ class ScopedCGContextSaveGState {
} // namespace gfx
-#endif // UI_GFX_SCOPED_CG_CONTEXT_STATE_MAC_H_
+#endif // UI_GFX_SCOPED_CG_CONTEXT_SAVE_GSTATE_MAC_H
diff --git a/ui/ui_gfx.gypi b/ui/ui_gfx.gypi
index 4e92e91..e4c9857 100644
--- a/ui/ui_gfx.gypi
+++ b/ui/ui_gfx.gypi
@@ -97,7 +97,7 @@
'gfx/point.h',
'gfx/rect.cc',
'gfx/rect.h',
- 'gfx/scoped_cg_context_state_mac.h',
+ 'gfx/scoped_cg_context_save_gstate_mac.h',
'gfx/scoped_ns_graphics_context_save_gstate_mac.h',
'gfx/scoped_ns_graphics_context_save_gstate_mac.mm',
'gfx/scrollbar_size.cc',