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_H_ | 5 #ifndef WEBKIT_GLUE_WEBVIEW_H_ |
6 #define WEBKIT_GLUE_WEBVIEW_H_ | 6 #define WEBKIT_GLUE_WEBVIEW_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
(...skipping 230 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
241 virtual WebDevToolsAgent* GetWebDevToolsAgent() = 0; | 241 virtual WebDevToolsAgent* GetWebDevToolsAgent() = 0; |
242 | 242 |
243 // Makes the webview transparent. Useful if you want to have some custom | 243 // Makes the webview transparent. Useful if you want to have some custom |
244 // background behind it. | 244 // background behind it. |
245 virtual void SetIsTransparent(bool is_transparent) = 0; | 245 virtual void SetIsTransparent(bool is_transparent) = 0; |
246 virtual bool GetIsTransparent() const = 0; | 246 virtual bool GetIsTransparent() const = 0; |
247 | 247 |
248 virtual void SetSpellingPanelVisibility(bool is_visible) = 0; | 248 virtual void SetSpellingPanelVisibility(bool is_visible) = 0; |
249 virtual bool GetSpellingPanelVisibility() = 0; | 249 virtual bool GetSpellingPanelVisibility() = 0; |
250 | 250 |
251 virtual void SetTabsToLinks(bool enable) = 0; | |
252 virtual bool GetTabsToLinks() const = 0; | |
darin (slow to review)
2009/09/17 19:24:54
hmm... only the setter is really needed on the int
| |
253 | |
251 // Performs an action from a context menu for the node at the given | 254 // Performs an action from a context menu for the node at the given |
252 // location. | 255 // location. |
253 virtual void MediaPlayerActionAt(int x, | 256 virtual void MediaPlayerActionAt(int x, |
254 int y, | 257 int y, |
255 const MediaPlayerAction& action) = 0; | 258 const MediaPlayerAction& action) = 0; |
256 | 259 |
257 // Updates the WebView's active state (i.e., control tints). | 260 // Updates the WebView's active state (i.e., control tints). |
258 virtual void SetActive(bool active) = 0; | 261 virtual void SetActive(bool active) = 0; |
259 | 262 |
260 // Gets the WebView's active state (i.e., state of control tints). | 263 // Gets the WebView's active state (i.e., state of control tints). |
261 virtual bool IsActive() = 0; | 264 virtual bool IsActive() = 0; |
262 | 265 |
263 private: | 266 private: |
264 DISALLOW_COPY_AND_ASSIGN(WebView); | 267 DISALLOW_COPY_AND_ASSIGN(WebView); |
265 }; | 268 }; |
266 | 269 |
267 #endif // WEBKIT_GLUE_WEBVIEW_H_ | 270 #endif // WEBKIT_GLUE_WEBVIEW_H_ |
OLD | NEW |