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

Unified Diff: Source/core/css/CSSViewportRule.h

Issue 15797004: Cleanup WebKit prefixed names for classes in css directory. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 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
Index: Source/core/css/CSSViewportRule.h
diff --git a/Source/core/css/WebKitCSSViewportRule.h b/Source/core/css/CSSViewportRule.h
similarity index 83%
rename from Source/core/css/WebKitCSSViewportRule.h
rename to Source/core/css/CSSViewportRule.h
index f275f4cb4d4e27d146f54d5726a59800c06cb6a6..d800e166ed43d1f7367c48eb2ea0aee4b82db75a 100644
--- a/Source/core/css/WebKitCSSViewportRule.h
+++ b/Source/core/css/CSSViewportRule.h
@@ -28,8 +28,8 @@
* SUCH DAMAGE.
*/
-#ifndef WebKitCSSViewportRule_h
-#define WebKitCSSViewportRule_h
+#ifndef CSSViewportRule_h
+#define CSSViewportRule_h
#if ENABLE(CSS_DEVICE_ADAPTATION)
@@ -41,13 +41,13 @@ class CSSStyleDeclaration;
class StyleRuleViewport;
class StyleRuleCSSStyleDeclaration;
-class WebKitCSSViewportRule: public CSSRule {
+class CSSViewportRule: public CSSRule {
public:
- static PassRefPtr<WebKitCSSViewportRule> create(StyleRuleViewport* viewportRule, CSSStyleSheet* sheet)
+ static PassRefPtr<CSSViewportRule> create(StyleRuleViewport* viewportRule, CSSStyleSheet* sheet)
{
- return adoptRef(new WebKitCSSViewportRule(viewportRule, sheet));
+ return adoptRef(new CSSViewportRule(viewportRule, sheet));
}
- ~WebKitCSSViewportRule();
+ ~CSSViewportRule();
virtual CSSRule::Type type() const OVERRIDE { return WEBKIT_VIEWPORT_RULE; }
virtual String cssText() const OVERRIDE;
@@ -57,7 +57,7 @@ public:
CSSStyleDeclaration* style() const;
private:
- WebKitCSSViewportRule(StyleRuleViewport*, CSSStyleSheet*);
+ CSSViewportRule(StyleRuleViewport*, CSSStyleSheet*);
RefPtr<StyleRuleViewport> m_viewportRule;
mutable RefPtr<StyleRuleCSSStyleDeclaration> m_propertiesCSSOMWrapper;
@@ -65,6 +65,6 @@ private:
} // namespace WebCore
-#endif // WebKitCSSViewportRule_h
+#endif // CSSViewportRule_h
#endif // ENABLE(CSS_DEVICE_ADAPTATION)

Powered by Google App Engine
This is Rietveld 408576698