| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2009 Google Inc. All rights reserved. | 2 * Copyright (C) 2009 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 30 matching lines...) Expand all Loading... |
| 41 namespace WebCore { | 41 namespace WebCore { |
| 42 class Frame; | 42 class Frame; |
| 43 class FramelessScrollView; | 43 class FramelessScrollView; |
| 44 class KeyboardEvent; | 44 class KeyboardEvent; |
| 45 class Page; | 45 class Page; |
| 46 class PlatformKeyboardEvent; | 46 class PlatformKeyboardEvent; |
| 47 class Range; | 47 class Range; |
| 48 class Widget; | 48 class Widget; |
| 49 } | 49 } |
| 50 | 50 |
| 51 namespace WebKit { | 51 namespace blink { |
| 52 class WebGestureEvent; | 52 class WebGestureEvent; |
| 53 class WebKeyboardEvent; | 53 class WebKeyboardEvent; |
| 54 class WebMouseEvent; | 54 class WebMouseEvent; |
| 55 class WebMouseWheelEvent; | 55 class WebMouseWheelEvent; |
| 56 class WebRange; | 56 class WebRange; |
| 57 struct WebRect; | 57 struct WebRect; |
| 58 class WebTouchEvent; | 58 class WebTouchEvent; |
| 59 | 59 |
| 60 class WebPopupMenuImpl : public WebPopupMenu, | 60 class WebPopupMenuImpl : public WebPopupMenu, |
| 61 public WebCore::FramelessScrollViewClient, | 61 public WebCore::FramelessScrollViewClient, |
| (...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 140 return static_cast<WebPopupMenuImpl*>(widget); | 140 return static_cast<WebPopupMenuImpl*>(widget); |
| 141 } | 141 } |
| 142 | 142 |
| 143 inline WebPopupMenuImpl* toWebPopupMenuImpl(WebCore::FramelessScrollViewClient*
client) | 143 inline WebPopupMenuImpl* toWebPopupMenuImpl(WebCore::FramelessScrollViewClient*
client) |
| 144 { | 144 { |
| 145 // WebPopupMenuImpl is the only implementation of FramelessScrollViewClient, | 145 // WebPopupMenuImpl is the only implementation of FramelessScrollViewClient, |
| 146 // so no need for further checking. | 146 // so no need for further checking. |
| 147 return static_cast<WebPopupMenuImpl*>(client); | 147 return static_cast<WebPopupMenuImpl*>(client); |
| 148 } | 148 } |
| 149 | 149 |
| 150 } // namespace WebKit | 150 } // namespace blink |
| 151 | 151 |
| 152 #endif | 152 #endif |
| OLD | NEW |