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

Side by Side Diff: chrome/browser/ui/webui/options2/chromeos/change_picture_options_handler2.cc

Issue 10538039: Renamed BrowserWindow::GetNativeHandle() to GetNativeWindow() (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Update copyrights Created 8 years, 6 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "chrome/browser/ui/webui/options2/chromeos/change_picture_options_handl er2.h" 5 #include "chrome/browser/ui/webui/options2/chromeos/change_picture_options_handl er2.h"
6 6
7 #include "base/bind.h" 7 #include "base/bind.h"
8 #include "base/bind_helpers.h" 8 #include "base/bind_helpers.h"
9 #include "base/metrics/histogram.h" 9 #include "base/metrics/histogram.h"
10 #include "base/path_service.h" 10 #include "base/path_service.h"
(...skipping 324 matching lines...) Expand 10 before | Expand all | Expand 10 after
335 SendProfileImage(*content::Details<const gfx::ImageSkia>(details).ptr(), 335 SendProfileImage(*content::Details<const gfx::ImageSkia>(details).ptr(),
336 false); 336 false);
337 } 337 }
338 } 338 }
339 339
340 gfx::NativeWindow ChangePictureOptionsHandler::GetBrowserWindow() const { 340 gfx::NativeWindow ChangePictureOptionsHandler::GetBrowserWindow() const {
341 Browser* browser = 341 Browser* browser =
342 browser::FindBrowserWithProfile(Profile::FromWebUI(web_ui())); 342 browser::FindBrowserWithProfile(Profile::FromWebUI(web_ui()));
343 if (!browser) 343 if (!browser)
344 return NULL; 344 return NULL;
345 return browser->window()->GetNativeHandle(); 345 return browser->window()->GetNativeWindow();
346 } 346 }
347 347
348 } // namespace options2 348 } // namespace options2
349 } // namespace chromeos 349 } // namespace chromeos
OLDNEW
« no previous file with comments | « chrome/browser/ui/webui/feedback_ui.cc ('k') | chrome/browser/ui/webui/options2/chromeos/internet_options_handler2.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698