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

Unified Diff: content/shell/shell_gtk.cc

Issue 10857057: [content shell] rip out code that moves windows off screen during layout tests (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 4 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 | « no previous file | content/shell/shell_mac.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/shell/shell_gtk.cc
diff --git a/content/shell/shell_gtk.cc b/content/shell/shell_gtk.cc
index cc181a219b483783ff4f5cc1950cabf6f3da4984..6261b805444719fbad90c143ffdb2783bf3f09f1 100644
--- a/content/shell/shell_gtk.cc
+++ b/content/shell/shell_gtk.cc
@@ -7,7 +7,6 @@
#include <gdk/gdkkeysyms.h>
#include <gtk/gtk.h>
-#include "base/command_line.h"
#include "base/logging.h"
#include "base/string_piece.h"
#include "base/utf_string_conversions.h"
@@ -18,7 +17,6 @@
#include "content/public/common/renderer_preferences.h"
#include "content/shell/shell_browser_context.h"
#include "content/shell/shell_content_browser_client.h"
-#include "content/shell/shell_switches.h"
#include "third_party/skia/include/core/SkColor.h"
namespace content {
@@ -186,9 +184,6 @@ void Shell::PlatformCreateWindow(int width, int height) {
gtk_container_add(GTK_CONTAINER(window_), vbox_);
gtk_widget_show_all(GTK_WIDGET(window_));
- if (CommandLine::ForCurrentProcess()->HasSwitch(switches::kDumpRenderTree))
- gtk_widget_set_uposition(GTK_WIDGET(window_), 10000, 10000);
-
SizeTo(width, height);
}
« no previous file with comments | « no previous file | content/shell/shell_mac.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698