diff options
author | ben@chromium.org <ben@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-09-07 20:09:54 +0000 |
---|---|---|
committer | ben@chromium.org <ben@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-09-07 20:09:54 +0000 |
commit | 94fbaa41f59f3dcb859627b698338d133fec1eb1 (patch) | |
tree | f5ee660a40ee6fafc99eccd64a50645f57e44ea1 /chrome/browser/platform_util_aura.cc | |
parent | a8ca1a99ddee3b8c1c60bddb27c0c6b4893ec92a (diff) | |
download | chromium_src-94fbaa41f59f3dcb859627b698338d133fec1eb1.zip chromium_src-94fbaa41f59f3dcb859627b698338d133fec1eb1.tar.gz chromium_src-94fbaa41f59f3dcb859627b698338d133fec1eb1.tar.bz2 |
Get chrome to link with USE_AURA
http://crbug.com/93947
TEST=none
R=sadrul
TBR=jabdelmalek for the content/webkit stubs
Review URL: http://codereview.chromium.org/7841012
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@99993 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/platform_util_aura.cc')
-rw-r--r-- | chrome/browser/platform_util_aura.cc | 52 |
1 files changed, 52 insertions, 0 deletions
diff --git a/chrome/browser/platform_util_aura.cc b/chrome/browser/platform_util_aura.cc new file mode 100644 index 0000000..d9d8dde --- /dev/null +++ b/chrome/browser/platform_util_aura.cc @@ -0,0 +1,52 @@ +// Copyright (c) 2011 The Chromium Authors. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. + +#include "chrome/browser/platform_util.h" + +#include "aura/window.h" +#include "base/logging.h" + +namespace platform_util { + +void ShowItemInFolder(const FilePath& full_path) { + // TODO(beng): + NOTIMPLEMENTED(); +} + +void OpenItem(const FilePath& full_path) { + // TODO(beng): + NOTIMPLEMENTED(); +} + +void OpenExternal(const GURL& url) { + // TODO(beng): + NOTIMPLEMENTED(); +} + +gfx::NativeWindow GetTopLevel(gfx::NativeView view) { + // TODO(beng): + NOTIMPLEMENTED(); + return NULL; +} + +gfx::NativeView GetParent(gfx::NativeView view) { + return view->parent(); +} + +bool IsWindowActive(gfx::NativeWindow window) { + // TODO(beng): + NOTIMPLEMENTED(); + return false; +} + +void ActivateWindow(gfx::NativeWindow window) { + // TODO(beng): + NOTIMPLEMENTED(); +} + +bool IsVisible(gfx::NativeView view) { + return view->visibility() != aura::Window::VISIBILITY_HIDDEN; +} + +} // namespace platform_util |