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

Side by Side Diff: ui/platform_window/stub/stub_window.cc

Issue 1999083002: Finish eliminating PlatformWindowMus (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 years, 6 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 | « ui/platform_window/stub/stub_window.h ('k') | ui/views/mus/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 // 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 "ui/platform_window/stub/stub_window.h" 5 #include "ui/platform_window/stub/stub_window.h"
6 6
7 #include "ui/gfx/native_widget_types.h"
7 #include "ui/platform_window/platform_window_delegate.h" 8 #include "ui/platform_window/platform_window_delegate.h"
8 9
9 namespace ui { 10 namespace ui {
10 11
11 StubWindow::StubWindow(PlatformWindowDelegate* delegate) : delegate_(delegate) { 12 StubWindow::StubWindow(
12 delegate_->OnAcceleratedWidgetAvailable(gfx::kNullAcceleratedWidget, 1.f); 13 PlatformWindowDelegate* delegate, gfx::AcceleratedWidget accelerated_widget)
14 : delegate_(delegate) {
15 delegate_->OnAcceleratedWidgetAvailable(accelerated_widget, 1.f);
13 } 16 }
14 17
15 StubWindow::~StubWindow() { 18 StubWindow::~StubWindow() {
16 } 19 }
17 20
18 void StubWindow::Show() { 21 void StubWindow::Show() {
19 } 22 }
20 23
21 void StubWindow::Hide() { 24 void StubWindow::Hide() {
22 } 25 }
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
63 } 66 }
64 67
65 void StubWindow::ConfineCursorToBounds(const gfx::Rect& bounds) { 68 void StubWindow::ConfineCursorToBounds(const gfx::Rect& bounds) {
66 } 69 }
67 70
68 PlatformImeController* StubWindow::GetPlatformImeController() { 71 PlatformImeController* StubWindow::GetPlatformImeController() {
69 return nullptr; 72 return nullptr;
70 } 73 }
71 74
72 } // namespace ui 75 } // namespace ui
OLDNEW
« no previous file with comments | « ui/platform_window/stub/stub_window.h ('k') | ui/views/mus/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698