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

Side by Side Diff: extensions/browser/guest_view/web_view/web_view_guest.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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 EXTENSIONS_BROWSER_GUEST_VIEW_WEB_VIEW_WEB_VIEW_GUEST_H_ 5 #ifndef EXTENSIONS_BROWSER_GUEST_VIEW_WEB_VIEW_WEB_VIEW_GUEST_H_
6 #define EXTENSIONS_BROWSER_GUEST_VIEW_WEB_VIEW_WEB_VIEW_GUEST_H_ 6 #define EXTENSIONS_BROWSER_GUEST_VIEW_WEB_VIEW_WEB_VIEW_GUEST_H_
7 7
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/observer_list.h" 10 #include "base/observer_list.h"
(...skipping 130 matching lines...) Expand 10 before | Expand all | Expand 10 after
141 content::MediaStreamType type) override; 141 content::MediaStreamType type) override;
142 void CanDownload(content::RenderViewHost* render_view_host, 142 void CanDownload(content::RenderViewHost* render_view_host,
143 const GURL& url, 143 const GURL& url,
144 const std::string& request_method, 144 const std::string& request_method,
145 const base::Callback<void(bool)>& callback) override; 145 const base::Callback<void(bool)>& callback) override;
146 content::JavaScriptDialogManager* GetJavaScriptDialogManager( 146 content::JavaScriptDialogManager* GetJavaScriptDialogManager(
147 content::WebContents* source) override; 147 content::WebContents* source) override;
148 void AddNewContents(content::WebContents* source, 148 void AddNewContents(content::WebContents* source,
149 content::WebContents* new_contents, 149 content::WebContents* new_contents,
150 WindowOpenDisposition disposition, 150 WindowOpenDisposition disposition,
151 const gfx::Rect& initial_pos, 151 const gfx::Rect& initial_rect,
152 bool user_gesture, 152 bool user_gesture,
153 bool* was_blocked) override; 153 bool* was_blocked) override;
154 content::WebContents* OpenURLFromTab( 154 content::WebContents* OpenURLFromTab(
155 content::WebContents* source, 155 content::WebContents* source,
156 const content::OpenURLParams& params) override; 156 const content::OpenURLParams& params) override;
157 void WebContentsCreated(content::WebContents* source_contents, 157 void WebContentsCreated(content::WebContents* source_contents,
158 int opener_render_frame_id, 158 int opener_render_frame_id,
159 const base::string16& frame_name, 159 const base::string16& frame_name,
160 const GURL& target_url, 160 const GURL& target_url,
161 content::WebContents* new_contents) override; 161 content::WebContents* new_contents) override;
(...skipping 202 matching lines...) Expand 10 before | Expand all | Expand 10 after
364 // This is used to ensure pending tasks will not fire after this object is 364 // This is used to ensure pending tasks will not fire after this object is
365 // destroyed. 365 // destroyed.
366 base::WeakPtrFactory<WebViewGuest> weak_ptr_factory_; 366 base::WeakPtrFactory<WebViewGuest> weak_ptr_factory_;
367 367
368 DISALLOW_COPY_AND_ASSIGN(WebViewGuest); 368 DISALLOW_COPY_AND_ASSIGN(WebViewGuest);
369 }; 369 };
370 370
371 } // namespace extensions 371 } // namespace extensions
372 372
373 #endif // EXTENSIONS_BROWSER_GUEST_VIEW_WEB_VIEW_WEB_VIEW_GUEST_H_ 373 #endif // EXTENSIONS_BROWSER_GUEST_VIEW_WEB_VIEW_WEB_VIEW_GUEST_H_
OLDNEW
« no previous file with comments | « extensions/browser/extension_host_delegate.h ('k') | extensions/browser/guest_view/web_view/web_view_guest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698