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

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

Issue 8808003: aura: Fix file-opening functions in platform_util. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | chrome/browser/platform_util_linux.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 (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 namespace platform_util { 10 namespace platform_util {
11 11
12 void ShowItemInFolder(const FilePath& full_path) {
13 // TODO(beng):
14 NOTIMPLEMENTED();
15 }
16
17 void OpenItem(const FilePath& full_path) {
18 // TODO(beng):
19 NOTIMPLEMENTED();
20 }
21
22 void OpenExternal(const GURL& url) {
23 // TODO(beng):
24 NOTIMPLEMENTED();
25 }
26
27 gfx::NativeWindow GetTopLevel(gfx::NativeView view) { 12 gfx::NativeWindow GetTopLevel(gfx::NativeView view) {
28 return view->GetToplevelWindow(); 13 return view->GetToplevelWindow();
29 } 14 }
30 15
31 gfx::NativeView GetParent(gfx::NativeView view) { 16 gfx::NativeView GetParent(gfx::NativeView view) {
32 return view->parent(); 17 return view->parent();
33 } 18 }
34 19
35 bool IsWindowActive(gfx::NativeWindow window) { 20 bool IsWindowActive(gfx::NativeWindow window) {
36 return window->IsActive(); 21 return window->IsActive();
37 } 22 }
38 23
39 void ActivateWindow(gfx::NativeWindow window) { 24 void ActivateWindow(gfx::NativeWindow window) {
40 window->Activate(); 25 window->Activate();
41 } 26 }
42 27
43 bool IsVisible(gfx::NativeView view) { 28 bool IsVisible(gfx::NativeView view) {
44 return view->IsVisible(); 29 return view->IsVisible();
45 } 30 }
46 31
47 } // namespace platform_util 32 } // namespace platform_util
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/platform_util_linux.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698