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

Side by Side Diff: services/navigation/view_impl.cc

Issue 2657873006: Remove WindowTreeClientDelegate::GetCaptureClient() and WindowTreeClient::GetCaptureClient(). (Closed)
Patch Set: rebase Created 3 years, 10 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
« no previous file with comments | « services/navigation/view_impl.h ('k') | services/ui/demo/mus_demo.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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 "services/navigation/view_impl.h" 5 #include "services/navigation/view_impl.h"
6 6
7 #include "base/memory/ptr_util.h" 7 #include "base/memory/ptr_util.h"
8 #include "base/strings/utf_string_conversions.h" 8 #include "base/strings/utf_string_conversions.h"
9 #include "content/public/browser/browser_context.h" 9 #include "content/public/browser/browser_context.h"
10 #include "content/public/browser/interstitial_page.h" 10 #include "content/public/browser/interstitial_page.h"
(...skipping 282 matching lines...) Expand 10 before | Expand all | Expand 10 after
293 DeleteTreeAndWidget(); 293 DeleteTreeAndWidget();
294 } 294 }
295 295
296 void ViewImpl::OnLostConnection(aura::WindowTreeClient* client) { 296 void ViewImpl::OnLostConnection(aura::WindowTreeClient* client) {
297 DeleteTreeAndWidget(); 297 DeleteTreeAndWidget();
298 } 298 }
299 299
300 void ViewImpl::OnPointerEventObserved(const ui::PointerEvent& event, 300 void ViewImpl::OnPointerEventObserved(const ui::PointerEvent& event,
301 aura::Window* target) {} 301 aura::Window* target) {}
302 302
303 aura::client::CaptureClient* ViewImpl::GetCaptureClient() {
304 // TODO: wire this up. This typically comes from WMState.
305 return nullptr;
306 }
307
308 aura::PropertyConverter* ViewImpl::GetPropertyConverter() { 303 aura::PropertyConverter* ViewImpl::GetPropertyConverter() {
309 // TODO: wire this up. 304 // TODO: wire this up.
310 return nullptr; 305 return nullptr;
311 } 306 }
312 307
313 views::View* ViewImpl::GetContentsView() { 308 views::View* ViewImpl::GetContentsView() {
314 return web_view_; 309 return web_view_;
315 } 310 }
316 311
317 views::Widget* ViewImpl::GetWidget() { 312 views::Widget* ViewImpl::GetWidget() {
318 return web_view_->GetWidget(); 313 return web_view_->GetWidget();
319 } 314 }
320 315
321 const views::Widget* ViewImpl::GetWidget() const { 316 const views::Widget* ViewImpl::GetWidget() const {
322 return web_view_->GetWidget(); 317 return web_view_->GetWidget();
323 } 318 }
324 319
325 } // navigation 320 } // navigation
OLDNEW
« no previous file with comments | « services/navigation/view_impl.h ('k') | services/ui/demo/mus_demo.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698