Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2009 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 <wtf/OwnPtr.h> | 8 #include <wtf/OwnPtr.h> |
| 9 #include <wtf/RefCounted.h> | 9 #include <wtf/RefCounted.h> |
| 10 | 10 |
| 11 #include "webkit/api/public/WebPoint.h" | 11 #include "webkit/api/public/WebPoint.h" |
| 12 #include "webkit/api/public/WebSize.h" | 12 #include "webkit/api/public/WebSize.h" |
| 13 #include "webkit/api/public/WebString.h" | 13 #include "webkit/api/public/WebString.h" |
| 14 #include "webkit/api/public/WebView.h" | 14 #include "webkit/api/public/WebView.h" |
| 15 #include "webkit/api/src/NotificationPresenterImpl.h" | 15 #include "webkit/api/src/NotificationPresenterImpl.h" |
| 16 #include "webkit/api/src/WebContextMenuClientImpl.h" | 16 #include "webkit/api/src/ContextMenuClientImpl.h" |
|
darin (slow to review)
2009/10/27 16:52:04
nit: sort
| |
| 17 #include "webkit/glue/back_forward_list_client_impl.h" | 17 #include "webkit/glue/back_forward_list_client_impl.h" |
| 18 #include "webkit/glue/chrome_client_impl.h" | 18 #include "webkit/glue/chrome_client_impl.h" |
| 19 #include "webkit/glue/dragclient_impl.h" | 19 #include "webkit/glue/dragclient_impl.h" |
| 20 #include "webkit/glue/editor_client_impl.h" | 20 #include "webkit/glue/editor_client_impl.h" |
| 21 #include "webkit/glue/inspector_client_impl.h" | 21 #include "webkit/glue/inspector_client_impl.h" |
| 22 #include "webkit/glue/webframe_impl.h" | 22 #include "webkit/glue/webframe_impl.h" |
| 23 | 23 |
| 24 namespace WebCore { | 24 namespace WebCore { |
| 25 class ChromiumDataObject; | 25 class ChromiumDataObject; |
| 26 class Frame; | 26 class Frame; |
| 27 class HistoryItem; | 27 class HistoryItem; |
| 28 class HitTestResult; | 28 class HitTestResult; |
| 29 class KeyboardEvent; | 29 class KeyboardEvent; |
| 30 class Page; | 30 class Page; |
| 31 class PlatformKeyboardEvent; | 31 class PlatformKeyboardEvent; |
| 32 class PopupContainer; | 32 class PopupContainer; |
| 33 class Range; | 33 class Range; |
| 34 class RenderTheme; | 34 class RenderTheme; |
| 35 class Widget; | 35 class Widget; |
| 36 } | 36 } |
| 37 | 37 |
| 38 namespace WebKit { | 38 namespace WebKit { |
| 39 class ContextMenuClientImpl; | |
| 39 class WebAccessibilityObject; | 40 class WebAccessibilityObject; |
| 40 class WebContextMenuClientImpl; | |
| 41 class WebKeyboardEvent; | 41 class WebKeyboardEvent; |
| 42 class WebMouseEvent; | 42 class WebMouseEvent; |
| 43 class WebMouseWheelEvent; | 43 class WebMouseWheelEvent; |
| 44 class WebSettingsImpl; | 44 class WebSettingsImpl; |
| 45 } | 45 } |
| 46 | 46 |
| 47 namespace webkit_glue { | 47 namespace webkit_glue { |
| 48 class ImageResourceFetcher; | 48 class ImageResourceFetcher; |
| 49 } | 49 } |
| 50 | 50 |
| (...skipping 200 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 251 ~WebViewImpl(); | 251 ~WebViewImpl(); |
| 252 | 252 |
| 253 void ModifySelection(uint32 message, | 253 void ModifySelection(uint32 message, |
| 254 WebCore::Frame* frame, | 254 WebCore::Frame* frame, |
| 255 const WebCore::PlatformKeyboardEvent& e); | 255 const WebCore::PlatformKeyboardEvent& e); |
| 256 | 256 |
| 257 WebKit::WebViewClient* client_; | 257 WebKit::WebViewClient* client_; |
| 258 | 258 |
| 259 webkit_glue::BackForwardListClientImpl back_forward_list_client_impl_; | 259 webkit_glue::BackForwardListClientImpl back_forward_list_client_impl_; |
| 260 ChromeClientImpl chrome_client_impl_; | 260 ChromeClientImpl chrome_client_impl_; |
| 261 WebKit::WebContextMenuClientImpl context_menu_client_impl_; | 261 WebKit::ContextMenuClientImpl context_menu_client_impl_; |
| 262 DragClientImpl drag_client_impl_; | 262 DragClientImpl drag_client_impl_; |
| 263 EditorClientImpl editor_client_impl_; | 263 EditorClientImpl editor_client_impl_; |
| 264 InspectorClientImpl inspector_client_impl_; | 264 InspectorClientImpl inspector_client_impl_; |
| 265 | 265 |
| 266 WebKit::WebSize size_; | 266 WebKit::WebSize size_; |
| 267 | 267 |
| 268 WebKit::WebPoint last_mouse_position_; | 268 WebKit::WebPoint last_mouse_position_; |
| 269 OwnPtr<WebCore::Page> page_; | 269 OwnPtr<WebCore::Page> page_; |
| 270 | 270 |
| 271 // This flag is set when a new navigation is detected. It is used to satisfy | 271 // This flag is set when a new navigation is detected. It is used to satisfy |
| (...skipping 121 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 393 static const WebKit::WebInputEvent* current_input_event() { | 393 static const WebKit::WebInputEvent* current_input_event() { |
| 394 return g_current_input_event; | 394 return g_current_input_event; |
| 395 } | 395 } |
| 396 private: | 396 private: |
| 397 static const WebKit::WebInputEvent* g_current_input_event; | 397 static const WebKit::WebInputEvent* g_current_input_event; |
| 398 | 398 |
| 399 DISALLOW_COPY_AND_ASSIGN(WebViewImpl); | 399 DISALLOW_COPY_AND_ASSIGN(WebViewImpl); |
| 400 }; | 400 }; |
| 401 | 401 |
| 402 #endif // WEBKIT_GLUE_WEBVIEW_IMPL_H_ | 402 #endif // WEBKIT_GLUE_WEBVIEW_IMPL_H_ |
| OLD | NEW |