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 <set> | 8 #include <set> |
9 | 9 |
10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
88 virtual void SetPreferences(const WebPreferences& preferences); | 88 virtual void SetPreferences(const WebPreferences& preferences); |
89 virtual const WebPreferences& GetPreferences(); | 89 virtual const WebPreferences& GetPreferences(); |
90 virtual void SetPageEncoding(const std::wstring& encoding_name); | 90 virtual void SetPageEncoding(const std::wstring& encoding_name); |
91 virtual std::wstring GetMainFrameEncodingName(); | 91 virtual std::wstring GetMainFrameEncodingName(); |
92 virtual void ZoomIn(bool text_only); | 92 virtual void ZoomIn(bool text_only); |
93 virtual void ZoomOut(bool text_only); | 93 virtual void ZoomOut(bool text_only); |
94 virtual void ResetZoom(); | 94 virtual void ResetZoom(); |
95 virtual void CopyImageAt(int x, int y); | 95 virtual void CopyImageAt(int x, int y); |
96 virtual void InspectElement(int x, int y); | 96 virtual void InspectElement(int x, int y); |
97 virtual void ShowJavaScriptConsole(); | 97 virtual void ShowJavaScriptConsole(); |
| 98 virtual void DragSourceCancelledAt( |
| 99 const WebKit::WebPoint& client_point, |
| 100 const WebKit::WebPoint& screen_point); |
98 virtual void DragSourceEndedAt( | 101 virtual void DragSourceEndedAt( |
99 const WebKit::WebPoint& client_point, | 102 const WebKit::WebPoint& client_point, |
100 const WebKit::WebPoint& screen_point); | 103 const WebKit::WebPoint& screen_point); |
101 virtual void DragSourceMovedTo( | 104 virtual void DragSourceMovedTo( |
102 const WebKit::WebPoint& client_point, | 105 const WebKit::WebPoint& client_point, |
103 const WebKit::WebPoint& screen_point); | 106 const WebKit::WebPoint& screen_point); |
104 virtual void DragSourceSystemDragEnded(); | 107 virtual void DragSourceSystemDragEnded(); |
105 virtual bool DragTargetDragEnter( | 108 virtual bool DragTargetDragEnter( |
106 const WebKit::WebDragData& drag_data, int identity, | 109 const WebKit::WebDragData& drag_data, int identity, |
107 const WebKit::WebPoint& client_point, | 110 const WebKit::WebPoint& client_point, |
(...skipping 243 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
351 static const WebKit::WebInputEvent* current_input_event() { | 354 static const WebKit::WebInputEvent* current_input_event() { |
352 return g_current_input_event; | 355 return g_current_input_event; |
353 } | 356 } |
354 private: | 357 private: |
355 static const WebKit::WebInputEvent* g_current_input_event; | 358 static const WebKit::WebInputEvent* g_current_input_event; |
356 | 359 |
357 DISALLOW_COPY_AND_ASSIGN(WebViewImpl); | 360 DISALLOW_COPY_AND_ASSIGN(WebViewImpl); |
358 }; | 361 }; |
359 | 362 |
360 #endif // WEBKIT_GLUE_WEBVIEW_IMPL_H_ | 363 #endif // WEBKIT_GLUE_WEBVIEW_IMPL_H_ |
OLD | NEW |