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

Side by Side Diff: chrome/renderer/render_view.cc

Issue 2775001: Add enable-video-fullscreen switch (Closed)
Patch Set: Add NOTIMPLEMENTED() Created 10 years, 6 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
« no previous file with comments | « chrome/renderer/render_view.h ('k') | no next file » | 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) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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 "chrome/renderer/render_view.h" 5 #include "chrome/renderer/render_view.h"
6 6
7 #include <algorithm> 7 #include <algorithm>
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 1880 matching lines...) Expand 10 before | Expand all | Expand 10 after
1891 document_tag_, 1891 document_tag_,
1892 &misspelled_offset, &misspelled_length, 1892 &misspelled_offset, &misspelled_length,
1893 &params.dictionary_suggestions); 1893 &params.dictionary_suggestions);
1894 if (spelled_right) 1894 if (spelled_right)
1895 params.misspelled_word.clear(); 1895 params.misspelled_word.clear();
1896 } 1896 }
1897 1897
1898 Send(new ViewHostMsg_ContextMenu(routing_id_, params)); 1898 Send(new ViewHostMsg_ContextMenu(routing_id_, params));
1899 } 1899 }
1900 1900
1901 bool RenderView::supportsFullscreen() {
1902 return CommandLine::ForCurrentProcess()->HasSwitch(
1903 switches::kEnableVideoFullscreen);
1904 }
1905
1906 void RenderView::enterFullscreenForNode(const WebKit::WebNode& node) {
1907 NOTIMPLEMENTED();
1908 }
1909
1910 void RenderView::exitFullscreenForNode(const WebKit::WebNode& node) {
1911 NOTIMPLEMENTED();
1912 }
1913
1901 void RenderView::setStatusText(const WebString& text) { 1914 void RenderView::setStatusText(const WebString& text) {
1902 } 1915 }
1903 1916
1904 void RenderView::UpdateTargetURL(const GURL& url, const GURL& fallback_url) { 1917 void RenderView::UpdateTargetURL(const GURL& url, const GURL& fallback_url) {
1905 GURL latest_url = url.is_empty() ? fallback_url : url; 1918 GURL latest_url = url.is_empty() ? fallback_url : url;
1906 if (latest_url == target_url_) 1919 if (latest_url == target_url_)
1907 return; 1920 return;
1908 1921
1909 // Tell the browser to display a destination link. 1922 // Tell the browser to display a destination link.
1910 if (target_url_status_ == TARGET_INFLIGHT || 1923 if (target_url_status_ == TARGET_INFLIGHT ||
(...skipping 3199 matching lines...) Expand 10 before | Expand all | Expand 10 after
5110 webkit_glue::FormData form; 5123 webkit_glue::FormData form;
5111 const WebInputElement element = node.toConst<WebInputElement>(); 5124 const WebInputElement element = node.toConst<WebInputElement>();
5112 if (!form_manager_.FindFormWithFormControlElement( 5125 if (!form_manager_.FindFormWithFormControlElement(
5113 element, FormManager::REQUIRE_NONE, &form)) 5126 element, FormManager::REQUIRE_NONE, &form))
5114 return; 5127 return;
5115 5128
5116 autofill_action_ = action; 5129 autofill_action_ = action;
5117 Send(new ViewHostMsg_FillAutoFillFormData( 5130 Send(new ViewHostMsg_FillAutoFillFormData(
5118 routing_id_, autofill_query_id_, form, value, label)); 5131 routing_id_, autofill_query_id_, form, value, label));
5119 } 5132 }
OLDNEW
« no previous file with comments | « chrome/renderer/render_view.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698