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

Side by Side Diff: Source/WebCore/page/BarInfo.cpp

Issue 13814002: First part of work to move V8 binding integrity off of vtables. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: 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/WebCore/loader/appcache/DOMApplicationCache.cpp ('k') | Source/WebCore/page/Console.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) 2007, 2010 Apple Inc. All rights reserved. 2 * Copyright (C) 2007, 2010 Apple Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 7 *
8 * 1. Redistributions of source code must retain the above copyright 8 * 1. Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * 2. Redistributions in binary form must reproduce the above copyright 10 * 2. Redistributions in binary form must reproduce the above copyright
(...skipping 21 matching lines...) Expand all
32 #include "Chrome.h" 32 #include "Chrome.h"
33 #include "Frame.h" 33 #include "Frame.h"
34 #include "Page.h" 34 #include "Page.h"
35 35
36 namespace WebCore { 36 namespace WebCore {
37 37
38 BarInfo::BarInfo(Frame* frame, Type type) 38 BarInfo::BarInfo(Frame* frame, Type type)
39 : DOMWindowProperty(frame) 39 : DOMWindowProperty(frame)
40 , m_type(type) 40 , m_type(type)
41 { 41 {
42 ScriptWrappable::init(this);
42 } 43 }
43 44
44 BarInfo::Type BarInfo::type() const 45 BarInfo::Type BarInfo::type() const
45 { 46 {
46 return m_type; 47 return m_type;
47 } 48 }
48 49
49 bool BarInfo::visible() const 50 bool BarInfo::visible() const
50 { 51 {
51 if (!m_frame) 52 if (!m_frame)
(...skipping 13 matching lines...) Expand all
65 return page->chrome()->scrollbarsVisible(); 66 return page->chrome()->scrollbarsVisible();
66 case Statusbar: 67 case Statusbar:
67 return page->chrome()->statusbarVisible(); 68 return page->chrome()->statusbarVisible();
68 } 69 }
69 70
70 ASSERT_NOT_REACHED(); 71 ASSERT_NOT_REACHED();
71 return false; 72 return false;
72 } 73 }
73 74
74 } // namespace WebCore 75 } // namespace WebCore
OLDNEW
« no previous file with comments | « Source/WebCore/loader/appcache/DOMApplicationCache.cpp ('k') | Source/WebCore/page/Console.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698