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

Side by Side Diff: Source/core/css/WebKitCSSViewportRule.h

Issue 13973026: remove memoryinstrumentation Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: remove the rest part of MemoryInstrumentation Created 7 years, 8 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « Source/core/css/WebKitCSSTransformValue.cpp ('k') | Source/core/css/WebKitCSSViewportRule.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2012 Intel Corporation. All rights reserved. 2 * Copyright (C) 2012 Intel Corporation. All rights reserved.
3 * Copyright (C) 2012 Apple Inc. All rights reserved. 3 * Copyright (C) 2012 Apple Inc. All rights reserved.
4 * 4 *
5 * Redistribution and use in source and binary forms, with or without 5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions 6 * modification, are permitted provided that the following conditions
7 * are met: 7 * are met:
8 * 8 *
9 * 1. Redistributions of source code must retain the above 9 * 1. Redistributions of source code must retain the above
10 * copyright notice, this list of conditions and the following 10 * copyright notice, this list of conditions and the following
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
45 public: 45 public:
46 static PassRefPtr<WebKitCSSViewportRule> create(StyleRuleViewport* viewportR ule, CSSStyleSheet* sheet) 46 static PassRefPtr<WebKitCSSViewportRule> create(StyleRuleViewport* viewportR ule, CSSStyleSheet* sheet)
47 { 47 {
48 return adoptRef(new WebKitCSSViewportRule(viewportRule, sheet)); 48 return adoptRef(new WebKitCSSViewportRule(viewportRule, sheet));
49 } 49 }
50 ~WebKitCSSViewportRule(); 50 ~WebKitCSSViewportRule();
51 51
52 virtual CSSRule::Type type() const OVERRIDE { return WEBKIT_VIEWPORT_RULE; } 52 virtual CSSRule::Type type() const OVERRIDE { return WEBKIT_VIEWPORT_RULE; }
53 virtual String cssText() const OVERRIDE; 53 virtual String cssText() const OVERRIDE;
54 virtual void reattach(StyleRuleBase*) OVERRIDE; 54 virtual void reattach(StyleRuleBase*) OVERRIDE;
55 virtual void reportMemoryUsage(MemoryObjectInfo*) const OVERRIDE;
56 55
57 CSSStyleDeclaration* style() const; 56 CSSStyleDeclaration* style() const;
58 57
59 private: 58 private:
60 WebKitCSSViewportRule(StyleRuleViewport*, CSSStyleSheet*); 59 WebKitCSSViewportRule(StyleRuleViewport*, CSSStyleSheet*);
61 60
62 RefPtr<StyleRuleViewport> m_viewportRule; 61 RefPtr<StyleRuleViewport> m_viewportRule;
63 mutable RefPtr<StyleRuleCSSStyleDeclaration> m_propertiesCSSOMWrapper; 62 mutable RefPtr<StyleRuleCSSStyleDeclaration> m_propertiesCSSOMWrapper;
64 }; 63 };
65 64
66 } // namespace WebCore 65 } // namespace WebCore
67 66
68 #endif // WebKitCSSViewportRule_h 67 #endif // WebKitCSSViewportRule_h
69 68
70 #endif // ENABLE(CSS_DEVICE_ADAPTATION) 69 #endif // ENABLE(CSS_DEVICE_ADAPTATION)
OLDNEW
« no previous file with comments | « Source/core/css/WebKitCSSTransformValue.cpp ('k') | Source/core/css/WebKitCSSViewportRule.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698