Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1341)

Side by Side Diff: sky/engine/public/web/WebView.h

Issue 1222483002: Remove the ability to load ".sky" files (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | sky/engine/web/WebViewImpl.cpp » ('j') | sky/engine/web/WebViewImpl.cpp » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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_
OLDNEW
« no previous file with comments | « no previous file | sky/engine/web/WebViewImpl.cpp » ('j') | sky/engine/web/WebViewImpl.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698