| OLD | NEW |
| 1 /* | 1 /* |
| 2 * This file is part of the WebKit project. | 2 * This file is part of the WebKit project. |
| 3 * | 3 * |
| 4 * Copyright (C) 2006 Apple Computer, Inc. | 4 * Copyright (C) 2006 Apple Computer, Inc. |
| 5 * Copyright (C) 2008, 2009 Google, Inc. | 5 * Copyright (C) 2008, 2009 Google, Inc. |
| 6 * Copyright (C) 2009 Kenneth Rohde Christiansen | 6 * Copyright (C) 2009 Kenneth Rohde Christiansen |
| 7 * | 7 * |
| 8 * This library is free software; you can redistribute it and/or | 8 * This library is free software; you can redistribute it and/or |
| 9 * modify it under the terms of the GNU Library General Public | 9 * modify it under the terms of the GNU Library General Public |
| 10 * License as published by the Free Software Foundation; either | 10 * License as published by the Free Software Foundation; either |
| (...skipping 124 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 135 | 135 |
| 136 // Internal static helper functions. We don't put them in an anonymous | 136 // Internal static helper functions. We don't put them in an anonymous |
| 137 // namespace so they have easier access to the WebCore namespace. | 137 // namespace so they have easier access to the WebCore namespace. |
| 138 | 138 |
| 139 static bool supportsFocus(ControlPart appearance) | 139 static bool supportsFocus(ControlPart appearance) |
| 140 { | 140 { |
| 141 switch (appearance) { | 141 switch (appearance) { |
| 142 case SquareButtonPart: | 142 case SquareButtonPart: |
| 143 case PushButtonPart: | 143 case PushButtonPart: |
| 144 case ButtonPart: | 144 case ButtonPart: |
| 145 case DefaultButtonPart: | |
| 146 case SearchFieldPart: | 145 case SearchFieldPart: |
| 147 case TextFieldPart: | 146 case TextFieldPart: |
| 148 case TextAreaPart: | 147 case TextAreaPart: |
| 149 return true; | 148 return true; |
| 150 } | 149 } |
| 151 return false; | 150 return false; |
| 152 } | 151 } |
| 153 | 152 |
| 154 static double querySystemBlinkInterval(double defaultInterval) | 153 static double querySystemBlinkInterval(double defaultInterval) |
| 155 { | 154 { |
| (...skipping 499 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 655 WebKit::Platform::current()->themeEngine()->paintProgressBar(canvas, WebKit:
:WebRect(r), WebKit::WebRect(valueRect), renderProgress->isDeterminate(), animat
edSeconds); | 654 WebKit::Platform::current()->themeEngine()->paintProgressBar(canvas, WebKit:
:WebRect(r), WebKit::WebRect(valueRect), renderProgress->isDeterminate(), animat
edSeconds); |
| 656 return false; | 655 return false; |
| 657 } | 656 } |
| 658 | 657 |
| 659 bool RenderThemeChromiumWin::shouldOpenPickerWithF4Key() const | 658 bool RenderThemeChromiumWin::shouldOpenPickerWithF4Key() const |
| 660 { | 659 { |
| 661 return true; | 660 return true; |
| 662 } | 661 } |
| 663 | 662 |
| 664 } // namespace WebCore | 663 } // namespace WebCore |
| OLD | NEW |