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

Unified Diff: chrome/browser/ui/browser_window_state.cc

Issue 21854002: Remove experimental.record api completely (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 7 years, 5 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: chrome/browser/ui/browser_window_state.cc
diff --git a/chrome/browser/ui/browser_window_state.cc b/chrome/browser/ui/browser_window_state.cc
index bc2232562c14dc50bb5771d6e21debbc35f43792..91f34258a9ea79e771b570005419ca026856168b 100644
--- a/chrome/browser/ui/browser_window_state.cc
+++ b/chrome/browser/ui/browser_window_state.cc
@@ -91,10 +91,9 @@ void GetSavedWindowBoundsAndShowState(const Browser* browser,
show_state);
const CommandLine& parsed_command_line = *CommandLine::ForCurrentProcess();
- bool record_mode = parsed_command_line.HasSwitch(switches::kRecordMode);
Matt Perry 2013/08/02 21:19:08 This is used outside the record API. Please revert
pals 2013/08/05 05:35:55 Done. Oops, thought of removing this change before
bool playback_mode = parsed_command_line.HasSwitch(switches::kPlaybackMode);
- if (record_mode || playback_mode) {
- // In playback/record mode we always fix the size of the browser and
+ if (playback_mode) {
+ // In playback mode we always fix the size of the browser and
// move it to (0,0). The reason for this is two reasons: First we want
// resize/moves in the playback to still work, and Second we want
// playbacks to work (as much as possible) on machines w/ different
@@ -102,7 +101,7 @@ void GetSavedWindowBoundsAndShowState(const Browser* browser,
*bounds = gfx::Rect(0, 0, 800, 600);
}
- // The following options override playback/record.
+ // The following options override playback.
if (parsed_command_line.HasSwitch(switches::kWindowSize)) {
std::string str =
parsed_command_line.GetSwitchValueASCII(switches::kWindowSize);

Powered by Google App Engine
This is Rietveld 408576698