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

Side by Side Diff: chrome/browser/platform_util_aura.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 "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 void ShowItemInFolder(Profile* profile, const base::FilePath& full_path) {
18 NOTIMPLEMENTED();
19 }
20
21 void OpenExternal(Profile* profile, const GURL& url) {
22 NOTIMPLEMENTED();
23 }
24 #endif // OS_ANDROID
25
16 gfx::NativeWindow GetTopLevel(gfx::NativeView view) { 26 gfx::NativeWindow GetTopLevel(gfx::NativeView view) {
17 return view->GetToplevelWindow(); 27 return view->GetToplevelWindow();
18 } 28 }
19 29
20 gfx::NativeView GetViewForWindow(gfx::NativeWindow window) { 30 gfx::NativeView GetViewForWindow(gfx::NativeWindow window) {
21 DCHECK(window); 31 DCHECK(window);
22 return window; 32 return window;
23 } 33 }
24 34
25 gfx::NativeView GetParent(gfx::NativeView view) { 35 gfx::NativeView GetParent(gfx::NativeView view) {
(...skipping 15 matching lines...) Expand all
41 #else 51 #else
42 NOTIMPLEMENTED(); 52 NOTIMPLEMENTED();
43 #endif 53 #endif
44 } 54 }
45 55
46 bool IsVisible(gfx::NativeView view) { 56 bool IsVisible(gfx::NativeView view) {
47 return view->IsVisible(); 57 return view->IsVisible();
48 } 58 }
49 59
50 } // namespace platform_util 60 } // namespace platform_util
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698