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

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

Issue 10388045: Exposes OrientationChangeEvent. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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 1640 matching lines...) Expand 10 before | Expand all | Expand 10 after
1651 } 1651 }
1652 1652
1653 void RenderViewHostImpl::Zoom(content::PageZoom zoom) { 1653 void RenderViewHostImpl::Zoom(content::PageZoom zoom) {
1654 Send(new ViewMsg_Zoom(GetRoutingID(), zoom)); 1654 Send(new ViewMsg_Zoom(GetRoutingID(), zoom));
1655 } 1655 }
1656 1656
1657 void RenderViewHostImpl::ReloadFrame() { 1657 void RenderViewHostImpl::ReloadFrame() {
1658 Send(new ViewMsg_ReloadFrame(GetRoutingID())); 1658 Send(new ViewMsg_ReloadFrame(GetRoutingID()));
1659 } 1659 }
1660 1660
1661 void RenderViewHostImpl::SendOrientationChangeEvent(int orientation) {
1662 Send(new ViewMsg_OrientationChangeEvent(GetRoutingID(), orientation));
1663 }
1664
1661 void RenderViewHostImpl::Find(int request_id, 1665 void RenderViewHostImpl::Find(int request_id,
1662 const string16& search_text, 1666 const string16& search_text,
1663 const WebKit::WebFindOptions& options) { 1667 const WebKit::WebFindOptions& options) {
1664 Send(new ViewMsg_Find(GetRoutingID(), request_id, search_text, options)); 1668 Send(new ViewMsg_Find(GetRoutingID(), request_id, search_text, options));
1665 } 1669 }
1666 1670
1667 void RenderViewHostImpl::InsertCSS(const string16& frame_xpath, 1671 void RenderViewHostImpl::InsertCSS(const string16& frame_xpath,
1668 const std::string& css) { 1672 const std::string& css) {
1669 Send(new ViewMsg_CSSInsertRequest(GetRoutingID(), frame_xpath, css)); 1673 Send(new ViewMsg_CSSInsertRequest(GetRoutingID(), frame_xpath, css));
1670 } 1674 }
(...skipping 205 matching lines...) Expand 10 before | Expand all | Expand 10 after
1876 is_waiting_for_beforeunload_ack_ = false; 1880 is_waiting_for_beforeunload_ack_ = false;
1877 is_waiting_for_unload_ack_ = false; 1881 is_waiting_for_unload_ack_ = false;
1878 has_timed_out_on_unload_ = false; 1882 has_timed_out_on_unload_ = false;
1879 } 1883 }
1880 1884
1881 void RenderViewHostImpl::ClearPowerSaveBlockers() { 1885 void RenderViewHostImpl::ClearPowerSaveBlockers() {
1882 STLDeleteValues(&power_save_blockers_); 1886 STLDeleteValues(&power_save_blockers_);
1883 } 1887 }
1884 1888
1885 } // namespace content 1889 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698