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

Side by Side Diff: ui/base/cursor/cursor_loader_ozone.cc

Issue 312393002: ozone: Move the factory interfaces into a common target. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: tot-merge-r278697 Created 6 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/base/cursor/DEPS ('k') | ui/base/cursor/cursor_ozone.cc » ('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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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/base/cursor/cursor_loader_ozone.h" 5 #include "ui/base/cursor/cursor_loader_ozone.h"
6 6
7 #include "ui/base/cursor/cursor.h" 7 #include "ui/base/cursor/cursor.h"
8 #include "ui/base/cursor/ozone/cursor_factory_ozone.h"
9 #include "ui/base/resource/resource_bundle.h" 8 #include "ui/base/resource/resource_bundle.h"
10 #include "ui/gfx/image/image_skia.h" 9 #include "ui/gfx/image/image_skia.h"
10 #include "ui/ozone/public/cursor_factory_ozone.h"
11 11
12 namespace ui { 12 namespace ui {
13 13
14 CursorLoaderOzone::CursorLoaderOzone() {} 14 CursorLoaderOzone::CursorLoaderOzone() {}
15 15
16 CursorLoaderOzone::~CursorLoaderOzone() {} 16 CursorLoaderOzone::~CursorLoaderOzone() {}
17 17
18 void CursorLoaderOzone::LoadImageCursor(int id, 18 void CursorLoaderOzone::LoadImageCursor(int id,
19 int resource_id, 19 int resource_id,
20 const gfx::Point& hot) { 20 const gfx::Point& hot) {
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
59 } 59 }
60 60
61 cursor->SetPlatformCursor(platform); 61 cursor->SetPlatformCursor(platform);
62 } 62 }
63 63
64 CursorLoader* CursorLoader::Create() { 64 CursorLoader* CursorLoader::Create() {
65 return new CursorLoaderOzone(); 65 return new CursorLoaderOzone();
66 } 66 }
67 67
68 } // namespace ui 68 } // namespace ui
OLDNEW
« no previous file with comments | « ui/base/cursor/DEPS ('k') | ui/base/cursor/cursor_ozone.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698