| 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 #ifndef WEBKIT_GLUE_WEBVIEW_IMPL_H__ | 5 #ifndef WEBKIT_GLUE_WEBVIEW_IMPL_H__ |
| 6 #define WEBKIT_GLUE_WEBVIEW_IMPL_H__ | 6 #define WEBKIT_GLUE_WEBVIEW_IMPL_H__ |
| 7 | 7 |
| 8 #include <set> | 8 #include <set> |
| 9 | 9 |
| 10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
| 11 #include "base/compiler_specific.h" | 11 #include "base/compiler_specific.h" |
| 12 #include "base/gfx/platform_canvas.h" | 12 #include "base/gfx/platform_canvas.h" |
| 13 #include "base/gfx/point.h" | 13 #include "base/gfx/point.h" |
| 14 #include "base/gfx/size.h" | 14 #include "base/gfx/size.h" |
| 15 #include "webkit/glue/webdropdata.h" | 15 #include "webkit/glue/webdropdata.h" |
| 16 #include "webkit/glue/webframe_impl.h" | 16 #include "webkit/glue/webframe_impl.h" |
| 17 #include "webkit/glue/webpreferences.h" | 17 #include "webkit/glue/webpreferences.h" |
| 18 #include "webkit/glue/webview.h" | 18 #include "webkit/glue/webview.h" |
| 19 | 19 |
| 20 MSVC_PUSH_WARNING_LEVEL(0); | 20 MSVC_PUSH_WARNING_LEVEL(0); |
| 21 #include "webkit/port/history/BackForwardList.h" | 21 #include "webkit/port/history/BackForwardList.h" |
| 22 #include "webkit/port/platform/WidgetClientWin.h" | 22 #include "webkit/port/platform/chromium/WidgetClientChromium.h" |
| 23 MSVC_POP_WARNING(); | 23 MSVC_POP_WARNING(); |
| 24 | 24 |
| 25 namespace WebCore { | 25 namespace WebCore { |
| 26 class Frame; | 26 class Frame; |
| 27 class HistoryItem; | 27 class HistoryItem; |
| 28 class KeyboardEvent; | 28 class KeyboardEvent; |
| 29 class Page; | 29 class Page; |
| 30 class PlatformKeyboardEvent; | 30 class PlatformKeyboardEvent; |
| 31 class Range; | 31 class Range; |
| 32 class Widget; | 32 class Widget; |
| 33 } | 33 } |
| 34 | 34 |
| 35 class ImageResourceFetcher; | 35 class ImageResourceFetcher; |
| 36 class SearchableFormData; | 36 class SearchableFormData; |
| 37 struct WebDropData; | 37 struct WebDropData; |
| 38 class WebHistoryItemImpl; | 38 class WebHistoryItemImpl; |
| 39 class WebKeyboardEvent; | 39 class WebKeyboardEvent; |
| 40 class WebMouseEvent; | 40 class WebMouseEvent; |
| 41 class WebMouseWheelEvent; | 41 class WebMouseWheelEvent; |
| 42 class WebViewDelegate; | 42 class WebViewDelegate; |
| 43 | 43 |
| 44 class WebViewImpl : public WebView, | 44 class WebViewImpl : public WebView, |
| 45 public WebCore::WidgetClientWin, | 45 public WebCore::WidgetClientChromium, |
| 46 public WebCore::BackForwardListClient { | 46 public WebCore::BackForwardListClient { |
| 47 public: | 47 public: |
| 48 // WebView | 48 // WebView |
| 49 virtual bool ShouldClose(); | 49 virtual bool ShouldClose(); |
| 50 virtual void Close(); | 50 virtual void Close(); |
| 51 virtual WebViewDelegate* GetDelegate(); | 51 virtual WebViewDelegate* GetDelegate(); |
| 52 virtual void SetUseEditorDelegate(bool value); | 52 virtual void SetUseEditorDelegate(bool value); |
| 53 virtual void SetTabKeyCyclesThroughElements(bool value); | 53 virtual void SetTabKeyCyclesThroughElements(bool value); |
| 54 virtual WebFrame* GetMainFrame(); | 54 virtual WebFrame* GetMainFrame(); |
| 55 virtual WebFrame* GetFocusedFrame(); | 55 virtual WebFrame* GetFocusedFrame(); |
| (...skipping 246 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 302 return g_current_input_event; | 302 return g_current_input_event; |
| 303 } | 303 } |
| 304 private: | 304 private: |
| 305 static const WebInputEvent* g_current_input_event; | 305 static const WebInputEvent* g_current_input_event; |
| 306 | 306 |
| 307 DISALLOW_EVIL_CONSTRUCTORS(WebViewImpl); | 307 DISALLOW_EVIL_CONSTRUCTORS(WebViewImpl); |
| 308 }; | 308 }; |
| 309 | 309 |
| 310 #endif // WEBKIT_GLUE_WEBVIEW_IMPL_H__ | 310 #endif // WEBKIT_GLUE_WEBVIEW_IMPL_H__ |
| 311 | 311 |
| OLD | NEW |