| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2010 Google Inc. All rights reserved. | 2 * Copyright (C) 2010 Google 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 are | 5 * modification, are permitted provided that the following conditions are |
| 6 * met: | 6 * met: |
| 7 * | 7 * |
| 8 * * Redistributions of source code must retain the above copyright | 8 * * 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 * * Redistributions in binary form must reproduce the above | 10 * * Redistributions in binary form must reproduce the above |
| (...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 93 , statusBarVisible(f.statusBarVisible) | 93 , statusBarVisible(f.statusBarVisible) |
| 94 , toolBarVisible(f.toolBarVisible) | 94 , toolBarVisible(f.toolBarVisible) |
| 95 , locationBarVisible(f.locationBarVisible) | 95 , locationBarVisible(f.locationBarVisible) |
| 96 , scrollbarsVisible(f.scrollbarsVisible) | 96 , scrollbarsVisible(f.scrollbarsVisible) |
| 97 , resizable(f.resizable) | 97 , resizable(f.resizable) |
| 98 , fullscreen(f.fullscreen) | 98 , fullscreen(f.fullscreen) |
| 99 , dialog(f.dialog) | 99 , dialog(f.dialog) |
| 100 , additionalFeatures(f.additionalFeatures) | 100 , additionalFeatures(f.additionalFeatures) |
| 101 { | 101 { |
| 102 } | 102 } |
| 103 |
| 104 operator WebCore::WindowFeatures() const |
| 105 { |
| 106 WebCore::WindowFeatures result; |
| 107 result.x = x; |
| 108 result.xSet = xSet; |
| 109 result.y = y; |
| 110 result.ySet = ySet; |
| 111 result.width = width; |
| 112 result.widthSet = widthSet; |
| 113 result.height = height; |
| 114 result.heightSet = heightSet; |
| 115 result.menuBarVisible = menuBarVisible; |
| 116 result.statusBarVisible = statusBarVisible; |
| 117 result.toolBarVisible = toolBarVisible; |
| 118 result.locationBarVisible = locationBarVisible; |
| 119 result.scrollbarsVisible = scrollbarsVisible; |
| 120 result.resizable = resizable; |
| 121 result.fullscreen = fullscreen; |
| 122 result.dialog = dialog; |
| 123 for (size_t i = 0; i < additionalFeatures.size(); ++i) |
| 124 result.additionalFeatures.append(additionalFeatures[i]); |
| 125 return result; |
| 126 } |
| 103 #endif | 127 #endif |
| 104 }; | 128 }; |
| 105 | 129 |
| 106 } // namespace WebKit | 130 } // namespace WebKit |
| 107 | 131 |
| 108 #endif | 132 #endif |
| OLD | NEW |