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

Unified Diff: chrome/browser/platform_util_aura.cc

Issue 7841012: Get chrome to link with USE_AURA (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 3 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/first_run/first_run_aura.cc ('k') | chrome/browser/process_singleton_aura.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/platform_util_aura.cc
===================================================================
--- chrome/browser/platform_util_aura.cc (revision 0)
+++ chrome/browser/platform_util_aura.cc (revision 0)
@@ -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
Property changes on: chrome\browser\platform_util_aura.cc
___________________________________________________________________
Added: svn:eol-style
+ LF
« no previous file with comments | « chrome/browser/first_run/first_run_aura.cc ('k') | chrome/browser/process_singleton_aura.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698