| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2009, 2010, 2011, 2012 Google Inc. All rights reserved. | 2 * Copyright (C) 2009, 2010, 2011, 2012 Google Inc. All rights reserved. |
| 3 * | 3 * |
| 4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
| 5 * modification, are permitted provided that the following conditions are | 5 * modification, are permitted provided that the following conditions are |
| 6 * met: | 6 * met: |
| 7 * | 7 * |
| 8 * * Redistributions of source code must retain the above copyright | 8 * * Redistributions of source code must retain the above copyright |
| 9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
| 10 * * Redistributions in binary form must reproduce the above | 10 * * Redistributions in binary form must reproduce the above |
| (...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 43 | 43 |
| 44 class WebFrame; | 44 class WebFrame; |
| 45 class WebFrameClient; | 45 class WebFrameClient; |
| 46 class WebSettings; | 46 class WebSettings; |
| 47 class WebSpellCheckClient; | 47 class WebSpellCheckClient; |
| 48 class WebViewClient; | 48 class WebViewClient; |
| 49 struct WebPoint; | 49 struct WebPoint; |
| 50 | 50 |
| 51 class WebView : public WebWidget { | 51 class WebView : public WebWidget { |
| 52 public: | 52 public: |
| 53 // I've added this here so that it dies when WebView does. :) | |
| 54 static bool shouldUseWebView(const GURL& url); | |
| 55 | |
| 56 // Initialization ------------------------------------------------------ | 53 // Initialization ------------------------------------------------------ |
| 57 | 54 |
| 58 // Creates a WebView that is NOT yet initialized. You will need to | 55 // Creates a WebView that is NOT yet initialized. You will need to |
| 59 // call setMainFrame to finish the initialization. It is valid | 56 // call setMainFrame to finish the initialization. It is valid |
| 60 // to pass a null client pointer. | 57 // to pass a null client pointer. |
| 61 BLINK_EXPORT static WebView* create(WebViewClient*); | 58 BLINK_EXPORT static WebView* create(WebViewClient*); |
| 62 | 59 |
| 63 // After creating a WebView, you should immediately call this method. | 60 // After creating a WebView, you should immediately call this method. |
| 64 // You can optionally modify the settings before calling this method. | 61 // You can optionally modify the settings before calling this method. |
| 65 // This WebFrame will receive events for the main frame and must not | 62 // This WebFrame will receive events for the main frame and must not |
| (...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 153 | 150 |
| 154 // Testing functionality for TestRunner --------------------------------- | 151 // Testing functionality for TestRunner --------------------------------- |
| 155 | 152 |
| 156 protected: | 153 protected: |
| 157 ~WebView() {} | 154 ~WebView() {} |
| 158 }; | 155 }; |
| 159 | 156 |
| 160 } // namespace blink | 157 } // namespace blink |
| 161 | 158 |
| 162 #endif // SKY_ENGINE_PUBLIC_WEB_WEBVIEW_H_ | 159 #endif // SKY_ENGINE_PUBLIC_WEB_WEBVIEW_H_ |
| OLD | NEW |