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

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

Issue 758233004: Remove SchemeRegistry and WebSecurityPolicy. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 years 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 | « sky/engine/public/web/WebSecurityPolicy.h ('k') | sky/engine/web/BUILD.gn » ('j') | 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 87 matching lines...) Expand 10 before | Expand all | Expand 10 after
98 // Method that controls whether pressing Tab key cycles through page 98 // Method that controls whether pressing Tab key cycles through page
99 // elements or inserts a '\t' char in the focused text area. 99 // elements or inserts a '\t' char in the focused text area.
100 virtual bool tabKeyCyclesThroughElements() const = 0; 100 virtual bool tabKeyCyclesThroughElements() const = 0;
101 virtual void setTabKeyCyclesThroughElements(bool) = 0; 101 virtual void setTabKeyCyclesThroughElements(bool) = 0;
102 102
103 // Controls the WebView's active state, which may affect the rendering 103 // Controls the WebView's active state, which may affect the rendering
104 // of elements on the page (i.e., tinting of input elements). 104 // of elements on the page (i.e., tinting of input elements).
105 virtual bool isActive() const = 0; 105 virtual bool isActive() const = 0;
106 virtual void setIsActive(bool) = 0; 106 virtual void setIsActive(bool) = 0;
107 107
108 // Allows disabling domain relaxation.
109 virtual void setDomainRelaxationForbidden(bool, const WebString& scheme) = 0 ;
110
111 // Frames -------------------------------------------------------------- 108 // Frames --------------------------------------------------------------
112 109
113 virtual WebFrame* mainFrame() = 0; 110 virtual WebFrame* mainFrame() = 0;
114 111
115 virtual void injectModule(const WebString& path) = 0; 112 virtual void injectModule(const WebString& path) = 0;
116 113
117 // Focus --------------------------------------------------------------- 114 // Focus ---------------------------------------------------------------
118 115
119 virtual WebFrame* focusedFrame() = 0; 116 virtual WebFrame* focusedFrame() = 0;
120 virtual void setFocusedFrame(WebFrame*) = 0; 117 virtual void setFocusedFrame(WebFrame*) = 0;
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after
185 182
186 // Testing functionality for TestRunner --------------------------------- 183 // Testing functionality for TestRunner ---------------------------------
187 184
188 protected: 185 protected:
189 ~WebView() {} 186 ~WebView() {}
190 }; 187 };
191 188
192 } // namespace blink 189 } // namespace blink
193 190
194 #endif // SKY_ENGINE_PUBLIC_WEB_WEBVIEW_H_ 191 #endif // SKY_ENGINE_PUBLIC_WEB_WEBVIEW_H_
OLDNEW
« no previous file with comments | « sky/engine/public/web/WebSecurityPolicy.h ('k') | sky/engine/web/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698