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

Side by Side Diff: Source/web/WebViewImpl.h

Issue 23506013: Make the embedder responsible for creating the WebFrame (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Add WebViewHelper for unittests. Created 7 years, 3 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
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2010 Google Inc. All rights reserved. 2 * Copyright (C) 2010 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 163 matching lines...) Expand 10 before | Expand all | Expand 10 after
174 virtual void setTextDirection(WebTextDirection direction); 174 virtual void setTextDirection(WebTextDirection direction);
175 virtual bool isAcceleratedCompositingActive() const; 175 virtual bool isAcceleratedCompositingActive() const;
176 virtual void willCloseLayerTreeView(); 176 virtual void willCloseLayerTreeView();
177 virtual void didAcquirePointerLock(); 177 virtual void didAcquirePointerLock();
178 virtual void didNotAcquirePointerLock(); 178 virtual void didNotAcquirePointerLock();
179 virtual void didLosePointerLock(); 179 virtual void didLosePointerLock();
180 virtual void didChangeWindowResizerRect(); 180 virtual void didChangeWindowResizerRect();
181 virtual void didExitCompositingMode(); 181 virtual void didExitCompositingMode();
182 182
183 // WebView methods: 183 // WebView methods:
184 virtual void initializeMainFrame(WebFrameClient*); 184 virtual void initializeMainFrame(WebFrame*);
185 virtual void initializeHelperPluginFrame(WebFrameClient*);
186 virtual void setAutofillClient(WebAutofillClient*); 185 virtual void setAutofillClient(WebAutofillClient*);
187 virtual void setDevToolsAgentClient(WebDevToolsAgentClient*); 186 virtual void setDevToolsAgentClient(WebDevToolsAgentClient*);
188 virtual void setPermissionClient(WebPermissionClient*); 187 virtual void setPermissionClient(WebPermissionClient*);
189 virtual void setPrerendererClient(WebPrerendererClient*) OVERRIDE; 188 virtual void setPrerendererClient(WebPrerendererClient*) OVERRIDE;
190 virtual void setSpellCheckClient(WebSpellCheckClient*); 189 virtual void setSpellCheckClient(WebSpellCheckClient*);
191 virtual void setValidationMessageClient(WebValidationMessageClient*) OVERRID E; 190 virtual void setValidationMessageClient(WebValidationMessageClient*) OVERRID E;
192 virtual void setPasswordGeneratorClient(WebPasswordGeneratorClient*) OVERRID E; 191 virtual void setPasswordGeneratorClient(WebPasswordGeneratorClient*) OVERRID E;
193 virtual WebSettings* settings(); 192 virtual WebSettings* settings();
194 virtual WebString pageEncoding() const; 193 virtual WebString pageEncoding() const;
195 virtual void setPageEncoding(const WebString& encoding); 194 virtual void setPageEncoding(const WebString& encoding);
(...skipping 631 matching lines...) Expand 10 before | Expand all | Expand 10 after
827 inline WebViewImpl* toWebViewImpl(WebView* webView) 826 inline WebViewImpl* toWebViewImpl(WebView* webView)
828 { 827 {
829 // We have no ways to check if the specified WebView is an instance of 828 // We have no ways to check if the specified WebView is an instance of
830 // WebViewImpl because WebViewImpl is the only implementation of WebView. 829 // WebViewImpl because WebViewImpl is the only implementation of WebView.
831 return static_cast<WebViewImpl*>(webView); 830 return static_cast<WebViewImpl*>(webView);
832 } 831 }
833 832
834 } // namespace WebKit 833 } // namespace WebKit
835 834
836 #endif 835 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698