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

Side by Side Diff: sky/engine/web/WebViewImpl.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/web/WebSecurityPolicy.cpp ('k') | sky/engine/web/WebViewImpl.cpp » ('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) 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 96 matching lines...) Expand 10 before | Expand all | Expand 10 after
107 virtual void setPageEncoding(const WebString&) override; 107 virtual void setPageEncoding(const WebString&) override;
108 virtual bool isTransparent() const override; 108 virtual bool isTransparent() const override;
109 virtual void setIsTransparent(bool value) override; 109 virtual void setIsTransparent(bool value) override;
110 virtual void setBaseBackgroundColor(WebColor) override; 110 virtual void setBaseBackgroundColor(WebColor) override;
111 virtual bool tabsToLinks() const override; 111 virtual bool tabsToLinks() const override;
112 virtual void setTabsToLinks(bool value) override; 112 virtual void setTabsToLinks(bool value) override;
113 virtual bool tabKeyCyclesThroughElements() const override; 113 virtual bool tabKeyCyclesThroughElements() const override;
114 virtual void setTabKeyCyclesThroughElements(bool value) override; 114 virtual void setTabKeyCyclesThroughElements(bool value) override;
115 virtual bool isActive() const override; 115 virtual bool isActive() const override;
116 virtual void setIsActive(bool value) override; 116 virtual void setIsActive(bool value) override;
117 virtual void setDomainRelaxationForbidden(bool, const WebString& scheme) ove rride;
118 virtual WebFrame* mainFrame() override; 117 virtual WebFrame* mainFrame() override;
119 virtual WebFrame* focusedFrame() override; 118 virtual WebFrame* focusedFrame() override;
120 virtual void setFocusedFrame(WebFrame*) override; 119 virtual void setFocusedFrame(WebFrame*) override;
121 virtual void setInitialFocus(bool reverse) override; 120 virtual void setInitialFocus(bool reverse) override;
122 virtual void clearFocusedElement() override; 121 virtual void clearFocusedElement() override;
123 virtual void advanceFocus(bool reverse) override; 122 virtual void advanceFocus(bool reverse) override;
124 123
125 virtual float deviceScaleFactor() const override; 124 virtual float deviceScaleFactor() const override;
126 virtual void setDeviceScaleFactor(float) override; 125 virtual void setDeviceScaleFactor(float) override;
127 126
(...skipping 227 matching lines...) Expand 10 before | Expand all | Expand 10 after
355 bool m_userGestureObserved; 354 bool m_userGestureObserved;
356 }; 355 };
357 356
358 // We have no ways to check if the specified WebView is an instance of 357 // We have no ways to check if the specified WebView is an instance of
359 // WebViewImpl because WebViewImpl is the only implementation of WebView. 358 // WebViewImpl because WebViewImpl is the only implementation of WebView.
360 DEFINE_TYPE_CASTS(WebViewImpl, WebView, webView, true, true); 359 DEFINE_TYPE_CASTS(WebViewImpl, WebView, webView, true, true);
361 360
362 } // namespace blink 361 } // namespace blink
363 362
364 #endif // SKY_ENGINE_WEB_WEBVIEWIMPL_H_ 363 #endif // SKY_ENGINE_WEB_WEBVIEWIMPL_H_
OLDNEW
« no previous file with comments | « sky/engine/web/WebSecurityPolicy.cpp ('k') | sky/engine/web/WebViewImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698