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

Side by Side Diff: chrome/browser/ui/autofill/autofill_dialog_sign_in_delegate.h

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
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 #ifndef CHROME_BROWSER_UI_AUTOFILL_AUTOFILL_DIALOG_SIGN_IN_DELEGATE_H_ 5 #ifndef CHROME_BROWSER_UI_AUTOFILL_AUTOFILL_DIALOG_SIGN_IN_DELEGATE_H_
6 #define CHROME_BROWSER_UI_AUTOFILL_AUTOFILL_DIALOG_SIGN_IN_DELEGATE_H_ 6 #define CHROME_BROWSER_UI_AUTOFILL_AUTOFILL_DIALOG_SIGN_IN_DELEGATE_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "content/public/browser/web_contents_delegate.h" 9 #include "content/public/browser/web_contents_delegate.h"
10 #include "content/public/browser/web_contents_observer.h" 10 #include "content/public/browser/web_contents_observer.h"
(...skipping 20 matching lines...) Expand all
31 31
32 // WebContentsDelegate implementation. 32 // WebContentsDelegate implementation.
33 void ResizeDueToAutoResize(content::WebContents* source, 33 void ResizeDueToAutoResize(content::WebContents* source,
34 const gfx::Size& preferred_size) override; 34 const gfx::Size& preferred_size) override;
35 content::WebContents* OpenURLFromTab( 35 content::WebContents* OpenURLFromTab(
36 content::WebContents* source, 36 content::WebContents* source,
37 const content::OpenURLParams& params) override; 37 const content::OpenURLParams& params) override;
38 void AddNewContents(content::WebContents* source, 38 void AddNewContents(content::WebContents* source,
39 content::WebContents* new_contents, 39 content::WebContents* new_contents,
40 WindowOpenDisposition disposition, 40 WindowOpenDisposition disposition,
41 const gfx::Rect& initial_pos, 41 const gfx::Rect& initial_rect,
42 bool user_gesture, 42 bool user_gesture,
43 bool* was_blocked) override; 43 bool* was_blocked) override;
44 bool PreHandleGestureEvent(content::WebContents* source, 44 bool PreHandleGestureEvent(content::WebContents* source,
45 const blink::WebGestureEvent& event) override; 45 const blink::WebGestureEvent& event) override;
46 46
47 // WebContentsObserver implementation. 47 // WebContentsObserver implementation.
48 void RenderViewCreated(content::RenderViewHost* render_view_host) override; 48 void RenderViewCreated(content::RenderViewHost* render_view_host) override;
49 49
50 // Updates the size limits and enables auto-resize for this view. 50 // Updates the size limits and enables auto-resize for this view.
51 void UpdateLimitsAndEnableAutoResize(const gfx::Size& minimum_size, 51 void UpdateLimitsAndEnableAutoResize(const gfx::Size& minimum_size,
(...skipping 15 matching lines...) Expand all
67 // The minimum and maximum sizes that the sign-in view may have. 67 // The minimum and maximum sizes that the sign-in view may have.
68 gfx::Size minimum_size_; 68 gfx::Size minimum_size_;
69 gfx::Size maximum_size_; 69 gfx::Size maximum_size_;
70 70
71 DISALLOW_COPY_AND_ASSIGN(AutofillDialogSignInDelegate); 71 DISALLOW_COPY_AND_ASSIGN(AutofillDialogSignInDelegate);
72 }; 72 };
73 73
74 } // namespace autofill 74 } // namespace autofill
75 75
76 #endif // CHROME_BROWSER_UI_AUTOFILL_AUTOFILL_DIALOG_SIGN_IN_DELEGATE_H_ 76 #endif // CHROME_BROWSER_UI_AUTOFILL_AUTOFILL_DIALOG_SIGN_IN_DELEGATE_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/apps/chrome_app_delegate.cc ('k') | chrome/browser/ui/autofill/autofill_dialog_sign_in_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698