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

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

Issue 8586032: Remove the flags to RenderViewHost::EnablePreferredSizeMode since it's not used after http://crbu... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 9 years, 1 month 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 | « content/browser/renderer_host/render_view_host.h ('k') | content/common/view_message_enums.h » ('j') | 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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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/renderer_host/render_view_host.h" 5 #include "content/browser/renderer_host/render_view_host.h"
6 6
7 #include <string> 7 #include <string>
8 #include <utility> 8 #include <utility>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 1315 matching lines...) Expand 10 before | Expand all | Expand 10 after
1326 1326
1327 void RenderViewHost::InsertCSS(const string16& frame_xpath, 1327 void RenderViewHost::InsertCSS(const string16& frame_xpath,
1328 const std::string& css) { 1328 const std::string& css) {
1329 Send(new ViewMsg_CSSInsertRequest(routing_id(), frame_xpath, css)); 1329 Send(new ViewMsg_CSSInsertRequest(routing_id(), frame_xpath, css));
1330 } 1330 }
1331 1331
1332 void RenderViewHost::DisableScrollbarsForThreshold(const gfx::Size& size) { 1332 void RenderViewHost::DisableScrollbarsForThreshold(const gfx::Size& size) {
1333 Send(new ViewMsg_DisableScrollbarsForSmallWindows(routing_id(), size)); 1333 Send(new ViewMsg_DisableScrollbarsForSmallWindows(routing_id(), size));
1334 } 1334 }
1335 1335
1336 void RenderViewHost::EnablePreferredSizeMode(int flags) { 1336 void RenderViewHost::EnablePreferredSizeMode() {
1337 Send(new ViewMsg_EnablePreferredSizeChangedMode(routing_id(), flags)); 1337 Send(new ViewMsg_EnablePreferredSizeChangedMode(routing_id()));
1338 } 1338 }
1339 1339
1340 void RenderViewHost::ExecuteCustomContextMenuCommand( 1340 void RenderViewHost::ExecuteCustomContextMenuCommand(
1341 int action, const webkit_glue::CustomContextMenuContext& context) { 1341 int action, const webkit_glue::CustomContextMenuContext& context) {
1342 Send(new ViewMsg_CustomContextMenuAction(routing_id(), context, action)); 1342 Send(new ViewMsg_CustomContextMenuAction(routing_id(), context, action));
1343 } 1343 }
1344 1344
1345 void RenderViewHost::NotifyContextMenuClosed( 1345 void RenderViewHost::NotifyContextMenuClosed(
1346 const webkit_glue::CustomContextMenuContext& context) { 1346 const webkit_glue::CustomContextMenuContext& context) {
1347 Send(new ViewMsg_ContextMenuClosed(routing_id(), context)); 1347 Send(new ViewMsg_ContextMenuClosed(routing_id(), context));
(...skipping 151 matching lines...) Expand 10 before | Expand all | Expand 10 after
1499 1499
1500 void RenderViewHost::OnWebUISend(const GURL& source_url, 1500 void RenderViewHost::OnWebUISend(const GURL& source_url,
1501 const std::string& name, 1501 const std::string& name,
1502 const base::ListValue& args) { 1502 const base::ListValue& args) {
1503 delegate_->WebUISend(this, source_url, name, args); 1503 delegate_->WebUISend(this, source_url, name, args);
1504 } 1504 }
1505 1505
1506 void RenderViewHost::ClearPowerSaveBlockers() { 1506 void RenderViewHost::ClearPowerSaveBlockers() {
1507 STLDeleteValues(&power_save_blockers_); 1507 STLDeleteValues(&power_save_blockers_);
1508 } 1508 }
OLDNEW
« no previous file with comments | « content/browser/renderer_host/render_view_host.h ('k') | content/common/view_message_enums.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698