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

Side by Side Diff: content/browser/browser_plugin/browser_plugin_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 (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 // A BrowserPluginGuest is the browser side of a browser <--> embedder 5 // A BrowserPluginGuest is the browser side of a browser <--> embedder
6 // renderer channel. A BrowserPlugin (a WebPlugin) is on the embedder 6 // renderer channel. A BrowserPlugin (a WebPlugin) is on the embedder
7 // renderer side of browser <--> embedder renderer communication. 7 // renderer side of browser <--> embedder renderer communication.
8 // 8 //
9 // BrowserPluginGuest lives on the UI thread of the browser process. Any 9 // BrowserPluginGuest lives on the UI thread of the browser process. Any
10 // messages about the guest render process that the embedder might be interested 10 // messages about the guest render process that the embedder might be interested
(...skipping 313 matching lines...) Expand 10 before | Expand all | Expand 10 after
324 void OnHandleInputEventAck( 324 void OnHandleInputEventAck(
325 blink::WebInputEvent::Type event_type, 325 blink::WebInputEvent::Type event_type,
326 InputEventAckState ack_result); 326 InputEventAckState ack_result);
327 void OnHasTouchEventHandlers(bool accept); 327 void OnHasTouchEventHandlers(bool accept);
328 #if defined(OS_MACOSX) 328 #if defined(OS_MACOSX)
329 // On MacOS X popups are painted by the browser process. We handle them here 329 // On MacOS X popups are painted by the browser process. We handle them here
330 // so that they are positioned correctly. 330 // so that they are positioned correctly.
331 void OnShowPopup(RenderFrameHost* render_frame_host, 331 void OnShowPopup(RenderFrameHost* render_frame_host,
332 const FrameHostMsg_ShowPopup_Params& params); 332 const FrameHostMsg_ShowPopup_Params& params);
333 #endif 333 #endif
334 void OnShowWidget(int route_id, const gfx::Rect& initial_pos); 334 void OnShowWidget(int route_id, const gfx::Rect& initial_rect);
335 void OnTakeFocus(bool reverse); 335 void OnTakeFocus(bool reverse);
336 void OnUpdateFrameName(int frame_id, 336 void OnUpdateFrameName(int frame_id,
337 bool is_top_level, 337 bool is_top_level,
338 const std::string& name); 338 const std::string& name);
339 339
340 // Forwards all messages from the |pending_messages_| queue to the embedder. 340 // Forwards all messages from the |pending_messages_| queue to the embedder.
341 void SendQueuedMessages(); 341 void SendQueuedMessages();
342 342
343 // The last tooltip that was set with SetTooltipText(). 343 // The last tooltip that was set with SetTooltipText().
344 base::string16 current_tooltip_text_; 344 base::string16 current_tooltip_text_;
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after
413 // Weak pointer used to ask GeolocationPermissionContext about geolocation 413 // Weak pointer used to ask GeolocationPermissionContext about geolocation
414 // permission. 414 // permission.
415 base::WeakPtrFactory<BrowserPluginGuest> weak_ptr_factory_; 415 base::WeakPtrFactory<BrowserPluginGuest> weak_ptr_factory_;
416 416
417 DISALLOW_COPY_AND_ASSIGN(BrowserPluginGuest); 417 DISALLOW_COPY_AND_ASSIGN(BrowserPluginGuest);
418 }; 418 };
419 419
420 } // namespace content 420 } // namespace content
421 421
422 #endif // CONTENT_BROWSER_BROWSER_PLUGIN_BROWSER_PLUGIN_GUEST_H_ 422 #endif // CONTENT_BROWSER_BROWSER_PLUGIN_BROWSER_PLUGIN_GUEST_H_
OLDNEW
« no previous file with comments | « chromecast/browser/android/cast_window_android.cc ('k') | content/browser/browser_plugin/browser_plugin_guest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698