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

Unified Diff: chrome/browser/ui/views/frame/browser_view.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/views/frame/browser_view.cc
===================================================================
--- chrome/browser/ui/views/frame/browser_view.cc (revision 102130)
+++ chrome/browser/ui/views/frame/browser_view.cc (working copy)
@@ -83,7 +83,6 @@
#include "content/browser/user_metrics.h"
#include "content/common/content_switches.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/locale_settings.h"
@@ -1730,8 +1729,7 @@
TabContents* tab_contents = GetSelectedTabContents();
if (!tab_contents)
return;
- RenderViewHost* rvh = tab_contents->render_view_host();
- rvh->Send(new ViewMsg_MoveOrResizeStarted(rvh->routing_id()));
+ tab_contents->render_view_host()->NotifyMoveOrResizeStarted();
}
void BrowserView::OnWidgetMove() {

Powered by Google App Engine
This is Rietveld 408576698