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

Unified Diff: chrome/browser/ui/gtk/browser_window_gtk.cc

Issue 8002005: Removed sending of the following IPC messages from chrome and added API's on the RenderViewHost (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years, 3 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/ui/gtk/browser_window_gtk.cc
===================================================================
--- chrome/browser/ui/gtk/browser_window_gtk.cc (revision 102130)
+++ chrome/browser/ui/gtk/browser_window_gtk.cc (working copy)
@@ -84,7 +84,6 @@
#include "content/browser/tab_contents/tab_contents_view.h"
#include "content/common/native_web_keyboard_event.h"
#include "content/common/notification_service.h"
-#include "content/common/view_messages.h"
#include "grit/chromium_strings.h"
#include "grit/generated_resources.h"
#include "grit/theme_resources.h"
@@ -1395,8 +1394,7 @@
TabContentsWrapper* tab = GetDisplayedTab();
if (tab) {
- RenderViewHost* rvh = tab->tab_contents()->render_view_host();
- rvh->Send(new ViewMsg_MoveOrResizeStarted(rvh->routing_id()));
+ tab->tab_contents()->render_view_host()->NotifyMoveOrResizeStarted();
}
if (bounds_.size() != bounds.size())

Powered by Google App Engine
This is Rietveld 408576698