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

Side by Side Diff: sky/engine/web/WebViewImpl.h

Issue 689373003: Remove most of the media stack. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 years, 1 month 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/WebRuntimeFeatures.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 138 matching lines...) Expand 10 before | Expand all | Expand 10 after
149 virtual bool zoomToMultipleTargetsRect(const WebRect&) override; 149 virtual bool zoomToMultipleTargetsRect(const WebRect&) override;
150 virtual void setMainFrameScrollOffset(const WebPoint&) override; 150 virtual void setMainFrameScrollOffset(const WebPoint&) override;
151 virtual void resetScrollAndScaleState() override; 151 virtual void resetScrollAndScaleState() override;
152 virtual WebSize contentsPreferredMinimumSize() override; 152 virtual WebSize contentsPreferredMinimumSize() override;
153 153
154 virtual float deviceScaleFactor() const override; 154 virtual float deviceScaleFactor() const override;
155 virtual void setDeviceScaleFactor(float) override; 155 virtual void setDeviceScaleFactor(float) override;
156 156
157 virtual void setFixedLayoutSize(const WebSize&) override; 157 virtual void setFixedLayoutSize(const WebSize&) override;
158 158
159 virtual void performMediaPlayerAction(
160 const WebMediaPlayerAction& action,
161 const WebPoint& location) override;
162 virtual WebHitTestResult hitTestResultAt(const WebPoint&) override; 159 virtual WebHitTestResult hitTestResultAt(const WebPoint&) override;
163 virtual void copyImageAt(const WebPoint&) override; 160 virtual void copyImageAt(const WebPoint&) override;
164 virtual void saveImageAt(const WebPoint&) override; 161 virtual void saveImageAt(const WebPoint&) override;
165 virtual void dragSourceSystemDragEnded() override; 162 virtual void dragSourceSystemDragEnded() override;
166 virtual void spellingMarkers(WebVector<uint32_t>* markers) override; 163 virtual void spellingMarkers(WebVector<uint32_t>* markers) override;
167 virtual void removeSpellingMarkersUnderWords(const WebVector<WebString>& wor ds) override; 164 virtual void removeSpellingMarkersUnderWords(const WebVector<WebString>& wor ds) override;
168 virtual void setCompositorDeviceScaleFactorOverride(float) override; 165 virtual void setCompositorDeviceScaleFactorOverride(float) override;
169 virtual void setRootLayerTransform(const WebSize& offset, float scale) overr ide; 166 virtual void setRootLayerTransform(const WebSize& offset, float scale) overr ide;
170 virtual void setSelectionColors(unsigned activeBackgroundColor, 167 virtual void setSelectionColors(unsigned activeBackgroundColor,
171 unsigned activeForegroundColor, 168 unsigned activeForegroundColor,
(...skipping 311 matching lines...) Expand 10 before | Expand all | Expand 10 after
483 bool m_userGestureObserved; 480 bool m_userGestureObserved;
484 }; 481 };
485 482
486 // We have no ways to check if the specified WebView is an instance of 483 // We have no ways to check if the specified WebView is an instance of
487 // WebViewImpl because WebViewImpl is the only implementation of WebView. 484 // WebViewImpl because WebViewImpl is the only implementation of WebView.
488 DEFINE_TYPE_CASTS(WebViewImpl, WebView, webView, true, true); 485 DEFINE_TYPE_CASTS(WebViewImpl, WebView, webView, true, true);
489 486
490 } // namespace blink 487 } // namespace blink
491 488
492 #endif 489 #endif
OLDNEW
« no previous file with comments | « sky/engine/web/WebRuntimeFeatures.cpp ('k') | sky/engine/web/WebViewImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698