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

Side by Side Diff: chrome/browser/renderer_host/render_view_host.cc

Issue 39157: Fix Purify UMR and MLK due to ExtensionViewTest:... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 11 years, 9 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 | Annotate | Revision Log
« no previous file with comments | « chrome/browser/extensions/extension_view_unittest.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2008 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 "chrome/browser/renderer_host/render_view_host.h" 5 #include "chrome/browser/renderer_host/render_view_host.h"
6 6
7 #include <string> 7 #include <string>
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/gfx/native_widget_types.h" 10 #include "base/gfx/native_widget_types.h"
(...skipping 1209 matching lines...) Expand 10 before | Expand all | Expand 10 after
1220 1220
1221 void RenderViewHost::OnEnterOrSpace() { 1221 void RenderViewHost::OnEnterOrSpace() {
1222 delegate_->OnEnterOrSpace(); 1222 delegate_->OnEnterOrSpace();
1223 } 1223 }
1224 1224
1225 void RenderViewHost::OnMissingPluginStatus(int status) { 1225 void RenderViewHost::OnMissingPluginStatus(int status) {
1226 delegate_->OnMissingPluginStatus(status); 1226 delegate_->OnMissingPluginStatus(status);
1227 } 1227 }
1228 1228
1229 void RenderViewHost::UpdateBackForwardListCount() { 1229 void RenderViewHost::UpdateBackForwardListCount() {
1230 int back_list_count, forward_list_count; 1230 int back_list_count = 0, forward_list_count = 0;
1231 delegate_->GetHistoryListCount(&back_list_count, &forward_list_count); 1231 delegate_->GetHistoryListCount(&back_list_count, &forward_list_count);
1232 Send(new ViewMsg_UpdateBackForwardListCount( 1232 Send(new ViewMsg_UpdateBackForwardListCount(
1233 routing_id(), back_list_count, forward_list_count)); 1233 routing_id(), back_list_count, forward_list_count));
1234 } 1234 }
1235 1235
1236 void RenderViewHost::GetAllSavableResourceLinksForCurrentPage( 1236 void RenderViewHost::GetAllSavableResourceLinksForCurrentPage(
1237 const GURL& page_url) { 1237 const GURL& page_url) {
1238 Send(new ViewMsg_GetAllSavableResourceLinksForCurrentPage(routing_id(), 1238 Send(new ViewMsg_GetAllSavableResourceLinksForCurrentPage(routing_id(),
1239 page_url)); 1239 page_url));
1240 } 1240 }
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after
1329 void RenderViewHost::RaisePersonalizationEvent(std::string event_name, 1329 void RenderViewHost::RaisePersonalizationEvent(std::string event_name,
1330 std::string event_arg) { 1330 std::string event_arg) {
1331 Send(new ViewMsg_PersonalizationEvent(routing_id(), event_name, event_arg)); 1331 Send(new ViewMsg_PersonalizationEvent(routing_id(), event_name, event_arg));
1332 } 1332 }
1333 #endif 1333 #endif
1334 1334
1335 void RenderViewHost::ForwardMessageFromExternalHost( 1335 void RenderViewHost::ForwardMessageFromExternalHost(
1336 const std::string& message) { 1336 const std::string& message) {
1337 Send(new ViewMsg_HandleMessageFromExternalHost(routing_id(), message)); 1337 Send(new ViewMsg_HandleMessageFromExternalHost(routing_id(), message));
1338 } 1338 }
OLDNEW
« no previous file with comments | « chrome/browser/extensions/extension_view_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698