diff options
author | viettrungluu@chromium.org <viettrungluu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-08-14 16:23:56 +0000 |
---|---|---|
committer | viettrungluu@chromium.org <viettrungluu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-08-14 16:23:56 +0000 |
commit | b1d08c68cf8cc377fa6250642cf668dc67bda05d (patch) | |
tree | 32645963281688647dca79fd52951f5e05a5b0bd /chrome/browser/cocoa/browser_window_controller_private.mm | |
parent | cd4bcde2bc5243828845ad57dae062648ece19d3 (diff) | |
download | chromium_src-b1d08c68cf8cc377fa6250642cf668dc67bda05d.zip chromium_src-b1d08c68cf8cc377fa6250642cf668dc67bda05d.tar.gz chromium_src-b1d08c68cf8cc377fa6250642cf668dc67bda05d.tar.bz2 |
Convert some obvious wide strings in browser/cocoa.
BUG=23581
TEST=builds and passes tests
Review URL: http://codereview.chromium.org/3124023
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@56140 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/cocoa/browser_window_controller_private.mm')
-rw-r--r-- | chrome/browser/cocoa/browser_window_controller_private.mm | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/chrome/browser/cocoa/browser_window_controller_private.mm b/chrome/browser/cocoa/browser_window_controller_private.mm index 21d6f2b..c4615d5 100644 --- a/chrome/browser/cocoa/browser_window_controller_private.mm +++ b/chrome/browser/cocoa/browser_window_controller_private.mm @@ -99,16 +99,16 @@ const CGFloat kLocBarBottomInset = 1; DictionaryValue* windowPreferences = prefs->GetMutableDictionary( browser_->GetWindowPlacementKey().c_str()); - windowPreferences->SetInteger(L"left", bounds.x()); - windowPreferences->SetInteger(L"top", bounds.y()); - windowPreferences->SetInteger(L"right", bounds.right()); - windowPreferences->SetInteger(L"bottom", bounds.bottom()); - windowPreferences->SetBoolean(L"maximized", false); - windowPreferences->SetBoolean(L"always_on_top", false); - windowPreferences->SetInteger(L"work_area_left", workArea.x()); - windowPreferences->SetInteger(L"work_area_top", workArea.y()); - windowPreferences->SetInteger(L"work_area_right", workArea.right()); - windowPreferences->SetInteger(L"work_area_bottom", workArea.bottom()); + windowPreferences->SetInteger("left", bounds.x()); + windowPreferences->SetInteger("top", bounds.y()); + windowPreferences->SetInteger("right", bounds.right()); + windowPreferences->SetInteger("bottom", bounds.bottom()); + windowPreferences->SetBoolean("maximized", false); + windowPreferences->SetBoolean("always_on_top", false); + windowPreferences->SetInteger("work_area_left", workArea.x()); + windowPreferences->SetInteger("work_area_top", workArea.y()); + windowPreferences->SetInteger("work_area_right", workArea.right()); + windowPreferences->SetInteger("work_area_bottom", workArea.bottom()); } - (NSRect)window:(NSWindow*)window |