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

Side by Side Diff: content/renderer/render_view_impl.h

Issue 10388045: Exposes OrientationChangeEvent. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Exposes on RVHImpl only. 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 #ifndef CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ 5 #ifndef CONTENT_RENDERER_RENDER_VIEW_IMPL_H_
6 #define CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ 6 #define CONTENT_RENDERER_RENDER_VIEW_IMPL_H_
7 #pragma once 7 #pragma once
8 8
9 #include <deque> 9 #include <deque>
10 #include <map> 10 #include <map>
(...skipping 844 matching lines...) Expand 10 before | Expand all | Expand 10 after
855 const std::vector<content::SelectedFileInfo>& files); 855 const std::vector<content::SelectedFileInfo>& files);
856 void OnFind(int request_id, const string16&, const WebKit::WebFindOptions&); 856 void OnFind(int request_id, const string16&, const WebKit::WebFindOptions&);
857 void OnFindReplyAck(); 857 void OnFindReplyAck();
858 void OnGetAllSavableResourceLinksForCurrentPage(const GURL& page_url); 858 void OnGetAllSavableResourceLinksForCurrentPage(const GURL& page_url);
859 void OnGetSerializedHtmlDataForCurrentPageWithLocalLinks( 859 void OnGetSerializedHtmlDataForCurrentPageWithLocalLinks(
860 const std::vector<GURL>& links, 860 const std::vector<GURL>& links,
861 const std::vector<FilePath>& local_paths, 861 const std::vector<FilePath>& local_paths,
862 const FilePath& local_directory_name); 862 const FilePath& local_directory_name);
863 void OnMediaPlayerActionAt(const gfx::Point& location, 863 void OnMediaPlayerActionAt(const gfx::Point& location,
864 const WebKit::WebMediaPlayerAction& action); 864 const WebKit::WebMediaPlayerAction& action);
865
866 // Screen has rotated. 0 = default (portrait), 90 = one turn right, and so on.
867 void OnOrientationChangeEvent(int orientation);
868
865 void OnPluginActionAt(const gfx::Point& location, 869 void OnPluginActionAt(const gfx::Point& location,
866 const WebKit::WebPluginAction& action); 870 const WebKit::WebPluginAction& action);
867 void OnMoveOrResizeStarted(); 871 void OnMoveOrResizeStarted();
868 CONTENT_EXPORT void OnNavigate(const ViewMsg_Navigate_Params& params); 872 CONTENT_EXPORT void OnNavigate(const ViewMsg_Navigate_Params& params);
869 void OnPaste(); 873 void OnPaste();
870 void OnPasteAndMatchStyle(); 874 void OnPasteAndMatchStyle();
871 #if defined(OS_MACOSX) 875 #if defined(OS_MACOSX)
872 void OnPluginImeCompositionCompleted(const string16& text, int plugin_id); 876 void OnPluginImeCompositionCompleted(const string16& text, int plugin_id);
873 #endif 877 #endif
874 void OnRedo(); 878 void OnRedo();
(...skipping 468 matching lines...) Expand 10 before | Expand all | Expand 10 after
1343 // bunch of stuff, you should probably create a helper class and put your 1347 // bunch of stuff, you should probably create a helper class and put your
1344 // data and methods on that to avoid bloating RenderView more. You can 1348 // data and methods on that to avoid bloating RenderView more. You can
1345 // use the Observer interface to filter IPC messages and receive frame change 1349 // use the Observer interface to filter IPC messages and receive frame change
1346 // notifications. 1350 // notifications.
1347 // --------------------------------------------------------------------------- 1351 // ---------------------------------------------------------------------------
1348 1352
1349 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); 1353 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl);
1350 }; 1354 };
1351 1355
1352 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ 1356 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698