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

Side by Side Diff: third_party/WebKit/public/web/WebView.h

Issue 2873503002: NOT YET READY: Improve granularity of window namespaces in Blink.
Patch Set: Rebasing... Created 3 years, 6 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 | « third_party/WebKit/public/web/WebFrameClient.h ('k') | no next file » | no next file with comments »
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 102 matching lines...) Expand 10 before | Expand all | Expand 10 after
113 using WebWidget::BackgroundColor; 113 using WebWidget::BackgroundColor;
114 using WebWidget::GetPagePopup; 114 using WebWidget::GetPagePopup;
115 using WebWidget::UpdateBrowserControlsState; 115 using WebWidget::UpdateBrowserControlsState;
116 116
117 // Initialization ------------------------------------------------------ 117 // Initialization ------------------------------------------------------
118 118
119 // Creates a WebView that is NOT yet initialized. You will need to 119 // Creates a WebView that is NOT yet initialized. You will need to
120 // call setMainFrame to finish the initialization. It is valid 120 // call setMainFrame to finish the initialization. It is valid
121 // to pass a null client pointer. The WebPageVisibilityState defines the 121 // to pass a null client pointer. The WebPageVisibilityState defines the
122 // initial visibility of the page. 122 // initial visibility of the page.
123 BLINK_EXPORT static WebView* Create(WebViewClient*, WebPageVisibilityState); 123 BLINK_EXPORT static WebView* Create(WebViewClient*,
124 WebPageVisibilityState,
125 WebView* opener = nullptr);
124 126
125 // After creating a WebView, you should immediately call this method. 127 // After creating a WebView, you should immediately call this method.
126 // You can optionally modify the settings before calling this method. 128 // You can optionally modify the settings before calling this method.
127 // This WebFrame will receive events for the main frame and must not 129 // This WebFrame will receive events for the main frame and must not
128 // be null. 130 // be null.
129 // TODO(mustaq): The non-null param should be a reference. 131 // TODO(mustaq): The non-null param should be a reference.
130 virtual void SetMainFrame(WebFrame*) = 0; 132 virtual void SetMainFrame(WebFrame*) = 0;
131 133
132 // Initializes the various client interfaces. 134 // Initializes the various client interfaces.
133 virtual void SetCredentialManagerClient(WebCredentialManagerClient*) = 0; 135 virtual void SetCredentialManagerClient(WebCredentialManagerClient*) = 0;
(...skipping 340 matching lines...) Expand 10 before | Expand all | Expand 10 after
474 // completed. 476 // completed.
475 WebWidget* GetWidget() { return this; } 477 WebWidget* GetWidget() { return this; }
476 478
477 protected: 479 protected:
478 ~WebView() {} 480 ~WebView() {}
479 }; 481 };
480 482
481 } // namespace blink 483 } // namespace blink
482 484
483 #endif 485 #endif
OLDNEW
« no previous file with comments | « third_party/WebKit/public/web/WebFrameClient.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698