OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "content/browser/web_contents/web_contents_view_mus.h" | 5 #include "content/browser/web_contents/web_contents_view_mus.h" |
6 | 6 |
7 #include "build/build_config.h" | 7 #include "build/build_config.h" |
8 #include "content/browser/frame_host/interstitial_page_impl.h" | 8 #include "content/browser/frame_host/interstitial_page_impl.h" |
9 #include "content/browser/renderer_host/render_widget_host_view_mus.h" | 9 #include "content/browser/renderer_host/render_widget_host_view_mus.h" |
10 #include "content/browser/web_contents/web_contents_impl.h" | 10 #include "content/browser/web_contents/web_contents_impl.h" |
(...skipping 135 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
146 void WebContentsViewMus::RenderViewCreated(RenderViewHost* host) { | 146 void WebContentsViewMus::RenderViewCreated(RenderViewHost* host) { |
147 } | 147 } |
148 | 148 |
149 void WebContentsViewMus::RenderViewSwappedIn(RenderViewHost* host) { | 149 void WebContentsViewMus::RenderViewSwappedIn(RenderViewHost* host) { |
150 } | 150 } |
151 | 151 |
152 void WebContentsViewMus::SetOverscrollControllerEnabled(bool enabled) { | 152 void WebContentsViewMus::SetOverscrollControllerEnabled(bool enabled) { |
153 // This should never override the setting of the embedder view. | 153 // This should never override the setting of the embedder view. |
154 } | 154 } |
155 | 155 |
| 156 ui::Compositor* WebContentsViewMus::GetCompositor() const { |
| 157 return nullptr; |
| 158 } |
| 159 |
156 #if defined(OS_MACOSX) | 160 #if defined(OS_MACOSX) |
157 bool WebContentsViewMus::IsEventTracking() const { | 161 bool WebContentsViewMus::IsEventTracking() const { |
158 return false; | 162 return false; |
159 } | 163 } |
160 | 164 |
161 void WebContentsViewMus::CloseTabAfterEventTracking() {} | 165 void WebContentsViewMus::CloseTabAfterEventTracking() {} |
162 #endif | 166 #endif |
163 | 167 |
164 WebContents* WebContentsViewMus::web_contents() { | 168 WebContents* WebContentsViewMus::web_contents() { |
165 return web_contents_; | 169 return web_contents_; |
(...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
260 | 264 |
261 void WebContentsViewMus::OnWindowTargetVisibilityChanged(bool visible) {} | 265 void WebContentsViewMus::OnWindowTargetVisibilityChanged(bool visible) {} |
262 | 266 |
263 bool WebContentsViewMus::HasHitTestMask() const { | 267 bool WebContentsViewMus::HasHitTestMask() const { |
264 return false; | 268 return false; |
265 } | 269 } |
266 | 270 |
267 void WebContentsViewMus::GetHitTestMask(gfx::Path* mask) const {} | 271 void WebContentsViewMus::GetHitTestMask(gfx::Path* mask) const {} |
268 | 272 |
269 } // namespace content | 273 } // namespace content |
OLD | NEW |