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

Unified Diff: Source/core/page/BarProp.h

Issue 14773013: Rename BarInfo to BarProp and remove [NoInterfaceObject] attribute (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
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
« no previous file with comments | « Source/core/page/BarInfo.idl ('k') | Source/core/page/BarProp.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/page/BarProp.h
diff --git a/Source/core/page/BarInfo.h b/Source/core/page/BarProp.h
similarity index 83%
rename from Source/core/page/BarInfo.h
rename to Source/core/page/BarProp.h
index 4bc33c9402ecb365d0957742f431eef8b21af986..9c6b7241710d55f122817e0901139943597c356c 100644
--- a/Source/core/page/BarInfo.h
+++ b/Source/core/page/BarProp.h
@@ -6,13 +6,13 @@
* are met:
*
* 1. Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer.
+ * notice, this list of conditions and the following disclaimer.
* 2. Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
- * documentation and/or other materials provided with the distribution.
+ * documentation and/or other materials provided with the distribution.
* 3. Neither the name of Apple Computer, Inc. ("Apple") nor the names of
* its contributors may be used to endorse or promote products derived
- * from this software without specific prior written permission.
+ * from this software without specific prior written permission.
*
* THIS SOFTWARE IS PROVIDED BY APPLE AND ITS CONTRIBUTORS "AS IS" AND ANY
* EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
@@ -26,32 +26,32 @@
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-#ifndef BarInfo_h
-#define BarInfo_h
+#ifndef BarProp_h
+#define BarProp_h
#include "bindings/v8/ScriptWrappable.h"
#include "core/page/DOMWindowProperty.h"
-#include <wtf/PassRefPtr.h>
-#include <wtf/RefCounted.h>
+#include "wtf/PassRefPtr.h"
+#include "wtf/RefCounted.h"
namespace WebCore {
class Frame;
- class BarInfo : public ScriptWrappable, public RefCounted<BarInfo>, public DOMWindowProperty {
+ class BarProp : public ScriptWrappable, public RefCounted<BarProp>, public DOMWindowProperty {
public:
enum Type { Locationbar, Menubar, Personalbar, Scrollbars, Statusbar, Toolbar };
- static PassRefPtr<BarInfo> create(Frame* frame, Type type) { return adoptRef(new BarInfo(frame, type)); }
+ static PassRefPtr<BarProp> create(Frame* frame, Type type) { return adoptRef(new BarProp(frame, type)); }
Type type() const;
bool visible() const;
private:
- BarInfo(Frame*, Type);
+ BarProp(Frame*, Type);
Type m_type;
};
} // namespace WebCore
-#endif // BarInfo_h
+#endif // BarProp_h
« no previous file with comments | « Source/core/page/BarInfo.idl ('k') | Source/core/page/BarProp.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698