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

Unified Diff: ui/views/examples/examples_export.h

Issue 8687013: Get the examples to run in aura_shell. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 1 month 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
Index: ui/views/examples/examples_export.h
===================================================================
--- ui/views/examples/examples_export.h (revision 0)
+++ ui/views/examples/examples_export.h (revision 0)
@@ -0,0 +1,29 @@
+// 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.
+
+#ifndef UI_VIEWS_EXAMPLES_EXAMPLES_EXPORT_H_
+#define UI_VIEWS_EXAMPLES_EXAMPLES_EXPORT_H_
+#pragma once
+
+// Defines VIEWS_EXAMPLES_EXPORT so that functionality implemented by the Views
+// Examples module can be exported to consumers.
+
+#if defined(COMPONENT_BUILD)
+#if defined(WIN32)
+
+#if defined(VIEWS_EXAMPLES_IMPLEMENTATION)
+#define VIEWS_EXAMPLES_EXPORT __declspec(dllexport)
+#else
+#define VIEWS_EXAMPLES_EXPORT __declspec(dllimport)
+#endif // defined(VIEWS_EXAMPLES_IMPLEMENTATION)
+
+#else // defined(WIN32)
+#define VIEWS_EXAMPLES_EXPORT __attribute__((visibility("default")))
+#endif
+
+#else // defined(COMPONENT_BUILD)
+#define VIEWS_EXAMPLES_EXPORT
+#endif
+
+#endif // UI_VIEWS_EXAMPLES_EXAMPLES_EXPORT_H_
Property changes on: ui\views\examples\examples_export.h
___________________________________________________________________
Added: svn:eol-style
+ LF

Powered by Google App Engine
This is Rietveld 408576698