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 "Page.h" | 10 #include "Page.h" |
(...skipping 126 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
137 | 137 |
138 virtual void SetIsTransparent(bool is_transparent); | 138 virtual void SetIsTransparent(bool is_transparent); |
139 virtual bool GetIsTransparent() const; | 139 virtual bool GetIsTransparent() const; |
140 | 140 |
141 virtual void MediaPlayerActionAt(int x, | 141 virtual void MediaPlayerActionAt(int x, |
142 int y, | 142 int y, |
143 const MediaPlayerAction& action); | 143 const MediaPlayerAction& action); |
144 | 144 |
145 virtual void SetActive(bool active); | 145 virtual void SetActive(bool active); |
146 virtual bool IsActive(); | 146 virtual bool IsActive(); |
| 147 #if defined(OS_LINUX) |
| 148 virtual void SetThemeFocusRingColor(int r, int g, int b); |
| 149 #endif |
147 | 150 |
148 // WebViewImpl | 151 // WebViewImpl |
149 | 152 |
150 const WebKit::WebPoint& last_mouse_down_point() const { | 153 const WebKit::WebPoint& last_mouse_down_point() const { |
151 return last_mouse_down_point_; | 154 return last_mouse_down_point_; |
152 } | 155 } |
153 | 156 |
154 WebCore::Frame* GetFocusedWebCoreFrame(); | 157 WebCore::Frame* GetFocusedWebCoreFrame(); |
155 | 158 |
156 // Returns the currently focused Node or NULL if no node has focus. | 159 // Returns the currently focused Node or NULL if no node has focus. |
(...skipping 227 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
384 static const WebKit::WebInputEvent* current_input_event() { | 387 static const WebKit::WebInputEvent* current_input_event() { |
385 return g_current_input_event; | 388 return g_current_input_event; |
386 } | 389 } |
387 private: | 390 private: |
388 static const WebKit::WebInputEvent* g_current_input_event; | 391 static const WebKit::WebInputEvent* g_current_input_event; |
389 | 392 |
390 DISALLOW_COPY_AND_ASSIGN(WebViewImpl); | 393 DISALLOW_COPY_AND_ASSIGN(WebViewImpl); |
391 }; | 394 }; |
392 | 395 |
393 #endif // WEBKIT_GLUE_WEBVIEW_IMPL_H_ | 396 #endif // WEBKIT_GLUE_WEBVIEW_IMPL_H_ |
OLD | NEW |