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

Side by Side Diff: ui/wayland/wayland_task.cc

Issue 17265006: wayland patch for inspection Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 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 | Annotate | Revision Log
« no previous file with comments | « ui/wayland/wayland_task.h ('k') | ui/wayland/wayland_widget.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #include "ui/wayland/wayland_task.h"
6
7 #include <wayland-client.h>
8
9 #include "ui/wayland/wayland_display.h"
10 #include "ui/wayland/wayland_window.h"
11
12 namespace ui {
13
14 ////////////////// WaylandTask Implementation ////////////////////////////
15 WaylandTask::WaylandTask(WaylandWindow *window) : window_(window)
16 {
17 }
18
19 WaylandTask::~WaylandTask()
20 {
21 }
22
23 ////////////////// WaylandResizeTask Implementation ////////////////////////////
24 WaylandResizeTask::WaylandResizeTask(WaylandWindow *window) : WaylandTask(window )
25 {
26 }
27
28 WaylandResizeTask::~WaylandResizeTask()
29 {
30 }
31
32 void WaylandResizeTask::Run()
33 {
34 window_->OnResize();
35 }
36
37 ////////////////// WaylandRedrawTask Implementation ////////////////////////////
38 WaylandRedrawTask::WaylandRedrawTask(WaylandWindow *window) : WaylandTask(window )
39 {
40 }
41
42 WaylandRedrawTask::~WaylandRedrawTask()
43 {
44 }
45
46 void WaylandRedrawTask::Run()
47 {
48 window_->OnRedraw();
49 }
50
51 } // namespace ui
52
OLDNEW
« no previous file with comments | « ui/wayland/wayland_task.h ('k') | ui/wayland/wayland_widget.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698