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

Side by Side Diff: ui/web_dialogs/web_dialog_delegate.cc

Issue 889403004: Rename initial_pos to initial_rect in ShowWidget and ShowView IPCs. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 5 years, 10 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
« no previous file with comments | « ui/web_dialogs/web_dialog_delegate.h ('k') | ui/web_dialogs/web_dialog_web_contents_delegate.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 "ui/web_dialogs/web_dialog_delegate.h" 5 #include "ui/web_dialogs/web_dialog_delegate.h"
6 6
7 namespace ui { 7 namespace ui {
8 8
9 std::string WebDialogDelegate::GetDialogName() const { 9 std::string WebDialogDelegate::GetDialogName() const {
10 return std::string(); 10 return std::string();
(...skipping 25 matching lines...) Expand all
36 content::WebContents* source, 36 content::WebContents* source,
37 const content::OpenURLParams& params, 37 const content::OpenURLParams& params,
38 content::WebContents** out_new_contents) { 38 content::WebContents** out_new_contents) {
39 return false; 39 return false;
40 } 40 }
41 41
42 bool WebDialogDelegate::HandleAddNewContents( 42 bool WebDialogDelegate::HandleAddNewContents(
43 content::WebContents* source, 43 content::WebContents* source,
44 content::WebContents* new_contents, 44 content::WebContents* new_contents,
45 WindowOpenDisposition disposition, 45 WindowOpenDisposition disposition,
46 const gfx::Rect& initial_pos, 46 const gfx::Rect& initial_rect,
47 bool user_gesture) { 47 bool user_gesture) {
48 return false; 48 return false;
49 } 49 }
50 50
51 bool WebDialogDelegate::HandleShouldCreateWebContents() { 51 bool WebDialogDelegate::HandleShouldCreateWebContents() {
52 return true; 52 return true;
53 } 53 }
54 54
55 } // namespace ui 55 } // namespace ui
OLDNEW
« no previous file with comments | « ui/web_dialogs/web_dialog_delegate.h ('k') | ui/web_dialogs/web_dialog_web_contents_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698