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

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

Issue 10384128: Quote WebPreferences in namespace webkit_glue. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Copyright 2012 Created 8 years, 7 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
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/renderer_host/render_view_host_impl.h" 5 #include "content/browser/renderer_host/render_view_host_impl.h"
6 6
7 #include <set> 7 #include <set>
8 #include <string> 8 #include <string>
9 #include <utility> 9 #include <utility>
10 #include <vector> 10 #include <vector>
(...skipping 1548 matching lines...) Expand 10 before | Expand all | Expand 10 after
1559 Send(new ViewMsg_SetAltErrorPageURL(GetRoutingID(), url)); 1559 Send(new ViewMsg_SetAltErrorPageURL(GetRoutingID(), url));
1560 } 1560 }
1561 1561
1562 void RenderViewHostImpl::ExitFullscreen() { 1562 void RenderViewHostImpl::ExitFullscreen() {
1563 RejectMouseLockOrUnlockIfNecessary(); 1563 RejectMouseLockOrUnlockIfNecessary();
1564 // We need to notify the contents that its fullscreen state has changed. This 1564 // We need to notify the contents that its fullscreen state has changed. This
1565 // is done as part of the resize message. 1565 // is done as part of the resize message.
1566 WasResized(); 1566 WasResized();
1567 } 1567 }
1568 1568
1569 void RenderViewHostImpl::UpdateWebkitPreferences(const WebPreferences& prefs) { 1569 void RenderViewHostImpl::UpdateWebkitPreferences(
1570 const webkit_glue::WebPreferences& prefs) {
1570 Send(new ViewMsg_UpdateWebPreferences(GetRoutingID(), prefs)); 1571 Send(new ViewMsg_UpdateWebPreferences(GetRoutingID(), prefs));
1571 } 1572 }
1572 1573
1573 void RenderViewHostImpl::ClearFocusedNode() { 1574 void RenderViewHostImpl::ClearFocusedNode() {
1574 Send(new ViewMsg_ClearFocusedNode(GetRoutingID())); 1575 Send(new ViewMsg_ClearFocusedNode(GetRoutingID()));
1575 } 1576 }
1576 1577
1577 void RenderViewHostImpl::SetZoomLevel(double level) { 1578 void RenderViewHostImpl::SetZoomLevel(double level) {
1578 Send(new ViewMsg_SetZoomLevel(GetRoutingID(), level)); 1579 Send(new ViewMsg_SetZoomLevel(GetRoutingID(), level));
1579 } 1580 }
(...skipping 223 matching lines...) Expand 10 before | Expand all | Expand 10 after
1803 // can cause navigations to be ignored in OnMsgNavigate. 1804 // can cause navigations to be ignored in OnMsgNavigate.
1804 is_waiting_for_beforeunload_ack_ = false; 1805 is_waiting_for_beforeunload_ack_ = false;
1805 is_waiting_for_unload_ack_ = false; 1806 is_waiting_for_unload_ack_ = false;
1806 } 1807 }
1807 1808
1808 void RenderViewHostImpl::ClearPowerSaveBlockers() { 1809 void RenderViewHostImpl::ClearPowerSaveBlockers() {
1809 STLDeleteValues(&power_save_blockers_); 1810 STLDeleteValues(&power_save_blockers_);
1810 } 1811 }
1811 1812
1812 } // namespace content 1813 } // namespace content
OLDNEW
« no previous file with comments | « content/browser/renderer_host/render_view_host_impl.h ('k') | content/browser/web_contents/interstitial_page_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698