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

Side by Side Diff: chrome/browser/platform_util_aura.cc

Issue 1498273002: Revert of Aura Android: upstream platform_util* related files (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix conflict Created 5 years 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 | « chrome/browser/BUILD.gn ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 "chrome/browser/platform_util.h" 5 #include "chrome/browser/platform_util.h"
6 6
7 #include "base/logging.h" 7 #include "base/logging.h"
8 #include "ui/aura/window.h" 8 #include "ui/aura/window.h"
9 9
10 #if defined(USE_ASH) 10 #if defined(USE_ASH)
11 #include "ash/wm/window_util.h" 11 #include "ash/wm/window_util.h"
12 #endif 12 #endif
13 13
14 namespace platform_util { 14 namespace platform_util {
15 15
16 #if defined(OS_ANDROID)
17 // TODO(bshe): We might want to use platform_util_android.cc for Aura Android.
18 // See crbug.com/561664
19 void ShowItemInFolder(Profile* profile, const base::FilePath& full_path) {
20 NOTIMPLEMENTED();
21 }
22
23 void OpenItem(Profile* profile,
24 const base::FilePath& full_path,
25 OpenItemType item_type,
26 const OpenOperationCallback& callback) {
27 NOTIMPLEMENTED();
28 }
29
30 void OpenExternal(Profile* profile, const GURL& url) {
31 NOTIMPLEMENTED();
32 }
33 #endif
34
35 gfx::NativeWindow GetTopLevel(gfx::NativeView view) { 16 gfx::NativeWindow GetTopLevel(gfx::NativeView view) {
36 return view->GetToplevelWindow(); 17 return view->GetToplevelWindow();
37 } 18 }
38 19
39 gfx::NativeView GetViewForWindow(gfx::NativeWindow window) { 20 gfx::NativeView GetViewForWindow(gfx::NativeWindow window) {
40 DCHECK(window); 21 DCHECK(window);
41 return window; 22 return window;
42 } 23 }
43 24
44 gfx::NativeView GetParent(gfx::NativeView view) { 25 gfx::NativeView GetParent(gfx::NativeView view) {
(...skipping 15 matching lines...) Expand all
60 #else 41 #else
61 NOTIMPLEMENTED(); 42 NOTIMPLEMENTED();
62 #endif 43 #endif
63 } 44 }
64 45
65 bool IsVisible(gfx::NativeView view) { 46 bool IsVisible(gfx::NativeView view) {
66 return view->IsVisible(); 47 return view->IsVisible();
67 } 48 }
68 49
69 } // namespace platform_util 50 } // namespace platform_util
OLDNEW
« no previous file with comments | « chrome/browser/BUILD.gn ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698