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

Side by Side Diff: content/browser/browser_plugin/browser_plugin_guest.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
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 "content/browser/browser_plugin/browser_plugin_guest.h" 5 #include "content/browser/browser_plugin/browser_plugin_guest.h"
6 6
7 #include <algorithm> 7 #include <algorithm>
8 8
9 #include "base/message_loop/message_loop.h" 9 #include "base/message_loop/message_loop.h"
10 #include "base/pickle.h" 10 #include "base/pickle.h"
(...skipping 849 matching lines...) Expand 10 before | Expand all | Expand 10 after
860 params.item_height, 860 params.item_height,
861 params.item_font_size, 861 params.item_font_size,
862 params.selected_item, 862 params.selected_item,
863 params.popup_items, 863 params.popup_items,
864 params.right_aligned, 864 params.right_aligned,
865 params.allow_multiple_selection); 865 params.allow_multiple_selection);
866 } 866 }
867 #endif 867 #endif
868 868
869 void BrowserPluginGuest::OnShowWidget(int route_id, 869 void BrowserPluginGuest::OnShowWidget(int route_id,
870 const gfx::Rect& initial_pos) { 870 const gfx::Rect& initial_rect) {
871 GetWebContents()->ShowCreatedWidget(route_id, initial_pos); 871 GetWebContents()->ShowCreatedWidget(route_id, initial_rect);
872 } 872 }
873 873
874 void BrowserPluginGuest::OnTakeFocus(bool reverse) { 874 void BrowserPluginGuest::OnTakeFocus(bool reverse) {
875 SendMessageToEmbedder( 875 SendMessageToEmbedder(
876 new BrowserPluginMsg_AdvanceFocus(browser_plugin_instance_id(), reverse)); 876 new BrowserPluginMsg_AdvanceFocus(browser_plugin_instance_id(), reverse));
877 } 877 }
878 878
879 void BrowserPluginGuest::OnTextInputTypeChanged(ui::TextInputType type, 879 void BrowserPluginGuest::OnTextInputTypeChanged(ui::TextInputType type,
880 ui::TextInputMode input_mode, 880 ui::TextInputMode input_mode,
881 bool can_compose_inline, 881 bool can_compose_inline,
(...skipping 18 matching lines...) Expand all
900 void BrowserPluginGuest::OnImeCompositionRangeChanged( 900 void BrowserPluginGuest::OnImeCompositionRangeChanged(
901 const gfx::Range& range, 901 const gfx::Range& range,
902 const std::vector<gfx::Rect>& character_bounds) { 902 const std::vector<gfx::Rect>& character_bounds) {
903 static_cast<RenderWidgetHostViewBase*>( 903 static_cast<RenderWidgetHostViewBase*>(
904 web_contents()->GetRenderWidgetHostView())->ImeCompositionRangeChanged( 904 web_contents()->GetRenderWidgetHostView())->ImeCompositionRangeChanged(
905 range, character_bounds); 905 range, character_bounds);
906 } 906 }
907 #endif 907 #endif
908 908
909 } // namespace content 909 } // namespace content
OLDNEW
« no previous file with comments | « content/browser/browser_plugin/browser_plugin_guest.h ('k') | content/browser/frame_host/interstitial_page_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698