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

Unified Diff: content/shell/browser/shell.h

Issue 137993009: Remove more non-aura windows code. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 6 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
Index: content/shell/browser/shell.h
===================================================================
--- content/shell/browser/shell.h (revision 244775)
+++ content/shell/browser/shell.h (working copy)
@@ -69,8 +69,7 @@
void Close();
void ShowDevTools();
void CloseDevTools();
-#if (defined(OS_WIN) && !defined(USE_AURA)) || \
- defined(TOOLKIT_GTK) || defined(OS_MACOSX)
+#if defined(TOOLKIT_GTK) || defined(OS_MACOSX)
// Resizes the main window to the given dimensions.
void SizeTo(const gfx::Size& content_size);
#endif
@@ -206,11 +205,7 @@
void OnDevToolsWebContentsDestroyed();
-#if defined(OS_WIN) && !defined(USE_AURA)
- static ATOM RegisterWindowClass();
- static LRESULT CALLBACK WndProc(HWND, UINT, WPARAM, LPARAM);
- static LRESULT CALLBACK EditWndProc(HWND, UINT, WPARAM, LPARAM);
-#elif defined(TOOLKIT_GTK)
+#if defined(TOOLKIT_GTK)
CHROMEGTK_CALLBACK_0(Shell, void, OnBackButtonClicked);
CHROMEGTK_CALLBACK_0(Shell, void, OnForwardButtonClicked);
CHROMEGTK_CALLBACK_0(Shell, void, OnReloadButtonClicked);
@@ -242,10 +237,7 @@
gfx::Size content_size_;
-#if defined(OS_WIN) && !defined(USE_AURA)
- WNDPROC default_edit_wnd_proc_;
- static HINSTANCE instance_handle_;
-#elif defined(TOOLKIT_GTK)
+#if defined(TOOLKIT_GTK)
GtkWidget* vbox_;
GtkToolItem* back_button_;

Powered by Google App Engine
This is Rietveld 408576698