| OLD | NEW |
| 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 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 52 if (!m_frame) | 52 if (!m_frame) |
| 53 return false; | 53 return false; |
| 54 Page* page = m_frame->page(); | 54 Page* page = m_frame->page(); |
| 55 if (!page) | 55 if (!page) |
| 56 return false; | 56 return false; |
| 57 | 57 |
| 58 switch (m_type) { | 58 switch (m_type) { |
| 59 case Locationbar: | 59 case Locationbar: |
| 60 case Personalbar: | 60 case Personalbar: |
| 61 case Toolbar: | 61 case Toolbar: |
| 62 return page->chrome()->toolbarsVisible(); | 62 return page->chrome().toolbarsVisible(); |
| 63 case Menubar: | 63 case Menubar: |
| 64 return page->chrome()->menubarVisible(); | 64 return page->chrome().menubarVisible(); |
| 65 case Scrollbars: | 65 case Scrollbars: |
| 66 return page->chrome()->scrollbarsVisible(); | 66 return page->chrome().scrollbarsVisible(); |
| 67 case Statusbar: | 67 case Statusbar: |
| 68 return page->chrome()->statusbarVisible(); | 68 return page->chrome().statusbarVisible(); |
| 69 } | 69 } |
| 70 | 70 |
| 71 ASSERT_NOT_REACHED(); | 71 ASSERT_NOT_REACHED(); |
| 72 return false; | 72 return false; |
| 73 } | 73 } |
| 74 | 74 |
| 75 } // namespace WebCore | 75 } // namespace WebCore |
| OLD | NEW |