| 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 #include <string> | 9 #include <string> |
| 10 #include <vector> | 10 #include <vector> |
| (...skipping 136 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 147 virtual void SetIsTransparent(bool is_transparent); | 147 virtual void SetIsTransparent(bool is_transparent); |
| 148 virtual bool GetIsTransparent() const; | 148 virtual bool GetIsTransparent() const; |
| 149 | 149 |
| 150 virtual void MediaPlayerActionAt(int x, | 150 virtual void MediaPlayerActionAt(int x, |
| 151 int y, | 151 int y, |
| 152 const MediaPlayerAction& action); | 152 const MediaPlayerAction& action); |
| 153 | 153 |
| 154 virtual void SetActive(bool active); | 154 virtual void SetActive(bool active); |
| 155 virtual bool IsActive(); | 155 virtual bool IsActive(); |
| 156 | 156 |
| 157 #if defined(OS_LINUX) |
| 158 virtual void SetCaretBlinkInterval(double interval); |
| 159 #endif |
| 160 |
| 157 // WebViewImpl | 161 // WebViewImpl |
| 158 | 162 |
| 159 const WebKit::WebPoint& last_mouse_down_point() const { | 163 const WebKit::WebPoint& last_mouse_down_point() const { |
| 160 return last_mouse_down_point_; | 164 return last_mouse_down_point_; |
| 161 } | 165 } |
| 162 | 166 |
| 163 WebCore::Frame* GetFocusedWebCoreFrame(); | 167 WebCore::Frame* GetFocusedWebCoreFrame(); |
| 164 | 168 |
| 165 // Returns the currently focused Node or NULL if no node has focus. | 169 // Returns the currently focused Node or NULL if no node has focus. |
| 166 WebCore::Node* GetFocusedNode(); | 170 WebCore::Node* GetFocusedNode(); |
| (...skipping 257 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 424 static const WebKit::WebInputEvent* current_input_event() { | 428 static const WebKit::WebInputEvent* current_input_event() { |
| 425 return g_current_input_event; | 429 return g_current_input_event; |
| 426 } | 430 } |
| 427 private: | 431 private: |
| 428 static const WebKit::WebInputEvent* g_current_input_event; | 432 static const WebKit::WebInputEvent* g_current_input_event; |
| 429 | 433 |
| 430 DISALLOW_COPY_AND_ASSIGN(WebViewImpl); | 434 DISALLOW_COPY_AND_ASSIGN(WebViewImpl); |
| 431 }; | 435 }; |
| 432 | 436 |
| 433 #endif // WEBKIT_GLUE_WEBVIEW_IMPL_H_ | 437 #endif // WEBKIT_GLUE_WEBVIEW_IMPL_H_ |
| OLD | NEW |