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

Side by Side Diff: chrome/browser/ui/panels/panel_host.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 (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 #ifndef CHROME_BROWSER_UI_PANELS_PANEL_HOST_H_ 5 #ifndef CHROME_BROWSER_UI_PANELS_PANEL_HOST_H_
6 #define CHROME_BROWSER_UI_PANELS_PANEL_HOST_H_ 6 #define CHROME_BROWSER_UI_PANELS_PANEL_HOST_H_
7 7
8 #include "base/memory/scoped_ptr.h" 8 #include "base/memory/scoped_ptr.h"
9 #include "base/memory/weak_ptr.h" 9 #include "base/memory/weak_ptr.h"
10 #include "content/public/browser/web_contents_delegate.h" 10 #include "content/public/browser/web_contents_delegate.h"
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
49 49
50 // content::WebContentsDelegate overrides. 50 // content::WebContentsDelegate overrides.
51 content::WebContents* OpenURLFromTab( 51 content::WebContents* OpenURLFromTab(
52 content::WebContents* source, 52 content::WebContents* source,
53 const content::OpenURLParams& params) override; 53 const content::OpenURLParams& params) override;
54 void NavigationStateChanged(content::WebContents* source, 54 void NavigationStateChanged(content::WebContents* source,
55 content::InvalidateTypes changed_flags) override; 55 content::InvalidateTypes changed_flags) override;
56 void AddNewContents(content::WebContents* source, 56 void AddNewContents(content::WebContents* source,
57 content::WebContents* new_contents, 57 content::WebContents* new_contents,
58 WindowOpenDisposition disposition, 58 WindowOpenDisposition disposition,
59 const gfx::Rect& initial_pos, 59 const gfx::Rect& initial_rect,
60 bool user_gesture, 60 bool user_gesture,
61 bool* was_blocked) override; 61 bool* was_blocked) override;
62 void ActivateContents(content::WebContents* contents) override; 62 void ActivateContents(content::WebContents* contents) override;
63 void DeactivateContents(content::WebContents* contents) override; 63 void DeactivateContents(content::WebContents* contents) override;
64 void LoadingStateChanged(content::WebContents* source, 64 void LoadingStateChanged(content::WebContents* source,
65 bool to_different_document) override; 65 bool to_different_document) override;
66 void CloseContents(content::WebContents* source) override; 66 void CloseContents(content::WebContents* source) override;
67 void MoveContents(content::WebContents* source, 67 void MoveContents(content::WebContents* source,
68 const gfx::Rect& pos) override; 68 const gfx::Rect& pos) override;
69 bool IsPopupOrPanel(const content::WebContents* source) const override; 69 bool IsPopupOrPanel(const content::WebContents* source) const override;
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
104 104
105 scoped_ptr<content::WebContents> web_contents_; 105 scoped_ptr<content::WebContents> web_contents_;
106 106
107 // The following factory is used to close the panel via the message loop. 107 // The following factory is used to close the panel via the message loop.
108 base::WeakPtrFactory<PanelHost> weak_factory_; 108 base::WeakPtrFactory<PanelHost> weak_factory_;
109 109
110 DISALLOW_COPY_AND_ASSIGN(PanelHost); 110 DISALLOW_COPY_AND_ASSIGN(PanelHost);
111 }; 111 };
112 112
113 #endif // CHROME_BROWSER_UI_PANELS_PANEL_HOST_H_ 113 #endif // CHROME_BROWSER_UI_PANELS_PANEL_HOST_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/cocoa/web_dialog_window_controller.mm ('k') | chrome/browser/ui/panels/panel_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698