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

Unified Diff: chrome/views/table_view.h

Issue 18446: Porting in chrome/ (Closed)
Patch Set: last fixes Created 11 years, 11 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/common/security_filter_peer.h ('k') | chrome/views/tree_node_model.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/views/table_view.h
diff --git a/chrome/views/table_view.h b/chrome/views/table_view.h
index 88dada3d3b5d505e476b1cede27bd07d022b40ed..abe0f458a5c26cfb406142fac183c1962a947d28 100644
--- a/chrome/views/table_view.h
+++ b/chrome/views/table_view.h
@@ -5,7 +5,11 @@
#ifndef CHROME_VIEWS_TABLE_VIEW_H_
#define CHROME_VIEWS_TABLE_VIEW_H_
+#include "build/build_config.h"
+
+#if defined(OS_WIN)
#include <windows.h>
+#endif // defined(OS_WIN)
#include <map>
#include <unicode/coll.h>
@@ -14,7 +18,10 @@
#include "base/logging.h"
#include "chrome/common/l10n_util.h"
+#if defined(OS_WIN)
+// TODO(port): remove the ifdef when native_control.h is ported.
#include "chrome/views/native_control.h"
+#endif // defined(OS_WIN)
#include "SkColor.h"
class SkBitmap;
@@ -284,6 +291,8 @@ class TableViewObserver {
virtual void OnTableViewDelete(TableView* table_view) {}
};
+#if defined(OS_WIN)
+// TODO(port): Port TableView.
class TableView : public NativeControl,
public TableModelObserver {
public:
@@ -661,6 +670,7 @@ class TableView : public NativeControl,
DISALLOW_COPY_AND_ASSIGN(TableView);
};
+#endif // defined(OS_WIN)
} // namespace views
« no previous file with comments | « chrome/common/security_filter_peer.h ('k') | chrome/views/tree_node_model.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698