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

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

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