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

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

Issue 1391893003: NOT FOR REVIEW: Aura on Android (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 2 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
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 "base/logging.h" 5 #include "base/logging.h"
6 #include "chrome/browser/platform_util.h" 6 #include "chrome/browser/platform_util.h"
7 #include "ui/android/view_android.h" 7 #include "ui/android/view_android.h"
8 #if defined(USE_AURA)
9 #include "ui/aura/window.h"
10 #endif
8 11
9 namespace platform_util { 12 namespace platform_util {
10 13
11 // TODO: crbug/115682 to track implementation of the following methods. 14 // TODO: crbug/115682 to track implementation of the following methods.
12 15
13 void ShowItemInFolder(Profile* profile, const base::FilePath& full_path) { 16 void ShowItemInFolder(Profile* profile, const base::FilePath& full_path) {
14 NOTIMPLEMENTED(); 17 NOTIMPLEMENTED();
15 } 18 }
16 19
17 void OpenItem(Profile* profile, 20 void OpenItem(Profile* profile,
18 const base::FilePath& full_path, 21 const base::FilePath& full_path,
19 OpenItemType item_type, 22 OpenItemType item_type,
20 const OpenOperationCallback& callback) { 23 const OpenOperationCallback& callback) {
21 NOTIMPLEMENTED(); 24 NOTIMPLEMENTED();
22 } 25 }
23 26
24 void OpenExternal(Profile* profile, const GURL& url) { 27 void OpenExternal(Profile* profile, const GURL& url) {
25 NOTIMPLEMENTED(); 28 NOTIMPLEMENTED();
26 } 29 }
27 30
28 gfx::NativeWindow GetTopLevel(gfx::NativeView view) { 31 gfx::NativeWindow GetTopLevel(gfx::NativeView view) {
32 #if !defined(USE_AURA)
29 NOTIMPLEMENTED(); 33 NOTIMPLEMENTED();
30 return view->GetWindowAndroid(); 34 return view->GetWindowAndroid();
35 #else
36 return view;
37 #endif
31 } 38 }
32 39
33 gfx::NativeView GetParent(gfx::NativeView view) { 40 gfx::NativeView GetParent(gfx::NativeView view) {
34 NOTIMPLEMENTED(); 41 NOTIMPLEMENTED();
35 return view; 42 return view;
36 } 43 }
37 44
38 bool IsWindowActive(gfx::NativeWindow window) { 45 bool IsWindowActive(gfx::NativeWindow window) {
39 NOTIMPLEMENTED(); 46 NOTIMPLEMENTED();
40 return false; 47 return false;
41 } 48 }
42 49
43 void ActivateWindow(gfx::NativeWindow window) { 50 void ActivateWindow(gfx::NativeWindow window) {
44 NOTIMPLEMENTED(); 51 NOTIMPLEMENTED();
45 } 52 }
46 53
47 bool IsVisible(gfx::NativeView view) { 54 bool IsVisible(gfx::NativeView view) {
48 NOTIMPLEMENTED(); 55 NOTIMPLEMENTED();
49 return true; 56 return true;
50 } 57 }
51 58
52 } // namespace platform_util 59 } // namespace platform_util
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698