OLD | NEW |
1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "config.h" | 5 #include "config.h" |
6 | 6 |
7 #include "base/compiler_specific.h" | 7 #include "base/compiler_specific.h" |
8 | 8 |
9 MSVC_PUSH_WARNING_LEVEL(0); | 9 MSVC_PUSH_WARNING_LEVEL(0); |
10 #include "Cursor.h" | 10 #include "Cursor.h" |
11 #include "FramelessScrollView.h" | 11 #include "FramelessScrollView.h" |
12 #include "FrameView.h" | 12 #include "FrameView.h" |
13 #include "IntRect.h" | 13 #include "IntRect.h" |
14 #include "PlatformContextSkia.h" | 14 #include "PlatformContextSkia.h" |
15 #include "PlatformKeyboardEvent.h" | 15 #include "PlatformKeyboardEvent.h" |
16 #include "PlatformMouseEvent.h" | 16 #include "PlatformMouseEvent.h" |
17 #include "PlatformWheelEvent.h" | 17 #include "PlatformWheelEvent.h" |
18 #include "SkiaUtils.h" | 18 #include "SkiaUtils.h" |
19 MSVC_POP_WARNING(); | 19 MSVC_POP_WARNING(); |
20 | 20 |
21 #undef LOG | 21 #undef LOG |
22 #include "base/gfx/platform_canvas.h" | |
23 #include "base/gfx/rect.h" | 22 #include "base/gfx/rect.h" |
24 #include "base/logging.h" | 23 #include "base/logging.h" |
| 24 #include "skia/ext/platform_canvas.h" |
25 #include "webkit/glue/event_conversion.h" | 25 #include "webkit/glue/event_conversion.h" |
26 #include "webkit/glue/glue_util.h" | 26 #include "webkit/glue/glue_util.h" |
27 #include "webkit/glue/webinputevent.h" | 27 #include "webkit/glue/webinputevent.h" |
28 #include "webkit/glue/webwidget_delegate.h" | 28 #include "webkit/glue/webwidget_delegate.h" |
29 #include "webkit/glue/webwidget_impl.h" | 29 #include "webkit/glue/webwidget_impl.h" |
30 | 30 |
31 using namespace WebCore; | 31 using namespace WebCore; |
32 | 32 |
33 // WebWidget ---------------------------------------------------------------- | 33 // WebWidget ---------------------------------------------------------------- |
34 | 34 |
(...skipping 240 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
275 return kNoTickmark; | 275 return kNoTickmark; |
276 } | 276 } |
277 | 277 |
278 bool WebWidgetImpl::isHidden() { | 278 bool WebWidgetImpl::isHidden() { |
279 if (!delegate_) | 279 if (!delegate_) |
280 return true; | 280 return true; |
281 | 281 |
282 return delegate_->IsHidden(); | 282 return delegate_->IsHidden(); |
283 } | 283 } |
284 #endif | 284 #endif |
OLD | NEW |