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

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

Issue 14999010: Allows fullscreen to be triggered with the key events used for scrolling. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: addressed comments Created 7 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
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/renderer/render_view_impl.h" 5 #include "content/renderer/render_view_impl.h"
6 6
7 #include <algorithm> 7 #include <algorithm>
8 #include <cmath> 8 #include <cmath>
9 9
10 #include "base/auto_reset.h" 10 #include "base/auto_reset.h"
(...skipping 746 matching lines...) Expand 10 before | Expand all | Expand 10 after
757 opened_by_user_gesture_(true), 757 opened_by_user_gesture_(true),
758 opener_suppressed_(false), 758 opener_suppressed_(false),
759 page_id_(-1), 759 page_id_(-1),
760 last_page_id_sent_to_browser_(-1), 760 last_page_id_sent_to_browser_(-1),
761 next_page_id_(params->next_page_id), 761 next_page_id_(params->next_page_id),
762 history_list_offset_(-1), 762 history_list_offset_(-1),
763 history_list_length_(0), 763 history_list_length_(0),
764 target_url_status_(TARGET_NONE), 764 target_url_status_(TARGET_NONE),
765 selection_text_offset_(0), 765 selection_text_offset_(0),
766 selection_range_(ui::Range::InvalidRange()), 766 selection_range_(ui::Range::InvalidRange()),
767 #if defined(OS_ANDROID)
768 top_controls_constraints_(cc::BOTH),
769 #endif
767 cached_is_main_frame_pinned_to_left_(false), 770 cached_is_main_frame_pinned_to_left_(false),
768 cached_is_main_frame_pinned_to_right_(false), 771 cached_is_main_frame_pinned_to_right_(false),
769 cached_has_main_frame_horizontal_scrollbar_(false), 772 cached_has_main_frame_horizontal_scrollbar_(false),
770 cached_has_main_frame_vertical_scrollbar_(false), 773 cached_has_main_frame_vertical_scrollbar_(false),
771 cookie_jar_(this), 774 cookie_jar_(this),
772 notification_provider_(NULL), 775 notification_provider_(NULL),
773 geolocation_dispatcher_(NULL), 776 geolocation_dispatcher_(NULL),
774 input_tag_speech_dispatcher_(NULL), 777 input_tag_speech_dispatcher_(NULL),
775 speech_recognition_dispatcher_(NULL), 778 speech_recognition_dispatcher_(NULL),
776 device_orientation_dispatcher_(NULL), 779 device_orientation_dispatcher_(NULL),
(...skipping 5946 matching lines...) Expand 10 before | Expand all | Expand 10 after
6723 WebURL url = icon_urls[i].iconURL(); 6726 WebURL url = icon_urls[i].iconURL();
6724 if (!url.isEmpty()) 6727 if (!url.isEmpty())
6725 urls.push_back(FaviconURL(url, 6728 urls.push_back(FaviconURL(url,
6726 ToFaviconType(icon_urls[i].iconType()))); 6729 ToFaviconType(icon_urls[i].iconType())));
6727 } 6730 }
6728 SendUpdateFaviconURL(urls); 6731 SendUpdateFaviconURL(urls);
6729 } 6732 }
6730 6733
6731 6734
6732 } // namespace content 6735 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698