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

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

Issue 53313005: Respect disable_webrtc command line. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 7 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
« no previous file with comments | « no previous file | content/renderer/render_view_impl.cc » ('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) 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 7
8 #include <deque> 8 #include <deque>
9 #include <map> 9 #include <map>
10 #include <set> 10 #include <set>
(...skipping 1087 matching lines...) Expand 10 before | Expand all | Expand 10 after
1098 // saved in OnNavigate(). 1098 // saved in OnNavigate().
1099 NavigationState* CreateNavigationStateFromPending(); 1099 NavigationState* CreateNavigationStateFromPending();
1100 1100
1101 // Processes the command-line flags --enable-viewport, 1101 // Processes the command-line flags --enable-viewport,
1102 // --enable-fixed-layout[=w,h] and --enable-pinch. 1102 // --enable-fixed-layout[=w,h] and --enable-pinch.
1103 void ProcessViewLayoutFlags(const CommandLine& command_line); 1103 void ProcessViewLayoutFlags(const CommandLine& command_line);
1104 1104
1105 #if defined(OS_ANDROID) 1105 #if defined(OS_ANDROID)
1106 // Launch an Android content intent with the given URL. 1106 // Launch an Android content intent with the given URL.
1107 void LaunchAndroidContentIntent(const GURL& intent_url, size_t request_id); 1107 void LaunchAndroidContentIntent(const GURL& intent_url, size_t request_id);
1108
1109 WebKit::WebMediaPlayer* CreateAndroidWebMediaPlayer(
1110 WebKit::WebFrame* frame,
1111 const WebKit::WebURL& url,
1112 WebKit::WebMediaPlayerClient* client);
1108 #endif 1113 #endif
1109 1114
1115 WebKit::WebMediaPlayer* CreateWebMediaPlayerForMediaStream(
1116 WebKit::WebFrame* frame,
1117 const WebKit::WebURL& url,
1118 WebKit::WebMediaPlayerClient* client);
1119
1110 // Sends a reply to the current find operation handling if it was a 1120 // Sends a reply to the current find operation handling if it was a
1111 // synchronous find request. 1121 // synchronous find request.
1112 void SendFindReply(int request_id, 1122 void SendFindReply(int request_id,
1113 int match_count, 1123 int match_count,
1114 int ordinal, 1124 int ordinal,
1115 const WebKit::WebRect& selection_rect, 1125 const WebKit::WebRect& selection_rect,
1116 bool final_status_update); 1126 bool final_status_update);
1117 1127
1118 // Returns whether |params.selection_text| should be synchronized to the 1128 // Returns whether |params.selection_text| should be synchronized to the
1119 // browser before bringing up the context menu. Static for testing. 1129 // browser before bringing up the context menu. Static for testing.
(...skipping 422 matching lines...) Expand 10 before | Expand all | Expand 10 after
1542 // use the Observer interface to filter IPC messages and receive frame change 1552 // use the Observer interface to filter IPC messages and receive frame change
1543 // notifications. 1553 // notifications.
1544 // --------------------------------------------------------------------------- 1554 // ---------------------------------------------------------------------------
1545 1555
1546 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); 1556 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl);
1547 }; 1557 };
1548 1558
1549 } // namespace content 1559 } // namespace content
1550 1560
1551 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ 1561 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_
OLDNEW
« no previous file with comments | « no previous file | content/renderer/render_view_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698