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

Side by Side Diff: content/browser/web_contents/web_contents_impl.h

Issue 287093002: Remove ViewMsg_SetZoomLevel (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 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_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ 5 #ifndef CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_
6 #define CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ 6 #define CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_
7 7
8 #include <map> 8 #include <map>
9 #include <set> 9 #include <set>
10 #include <string> 10 #include <string>
(...skipping 687 matching lines...) Expand 10 before | Expand all | Expand 10 after
698 const std::string& http_request, 698 const std::string& http_request,
699 const std::string& mime_type, 699 const std::string& mime_type,
700 ResourceType::Type resource_type); 700 ResourceType::Type resource_type);
701 void OnDidDisplayInsecureContent(); 701 void OnDidDisplayInsecureContent();
702 void OnDidRunInsecureContent(const std::string& security_origin, 702 void OnDidRunInsecureContent(const std::string& security_origin,
703 const GURL& target_url); 703 const GURL& target_url);
704 void OnDocumentLoadedInFrame(); 704 void OnDocumentLoadedInFrame();
705 void OnDidFinishLoad(const GURL& url); 705 void OnDidFinishLoad(const GURL& url);
706 void OnGoToEntryAtOffset(int offset); 706 void OnGoToEntryAtOffset(int offset);
707 void OnUpdateZoomLimits(int minimum_percent, 707 void OnUpdateZoomLimits(int minimum_percent,
708 int maximum_percent, 708 int maximum_percent);
709 bool remember);
710 void OnEnumerateDirectory(int request_id, const base::FilePath& path); 709 void OnEnumerateDirectory(int request_id, const base::FilePath& path);
711 710
712 void OnRegisterProtocolHandler(const std::string& protocol, 711 void OnRegisterProtocolHandler(const std::string& protocol,
713 const GURL& url, 712 const GURL& url,
714 const base::string16& title, 713 const base::string16& title,
715 bool user_gesture); 714 bool user_gesture);
716 void OnFindReply(int request_id, 715 void OnFindReply(int request_id,
717 int number_of_matches, 716 int number_of_matches,
718 const gfx::Rect& selection_rect, 717 const gfx::Rect& selection_rect,
719 int active_match_ordinal, 718 int active_match_ordinal,
(...skipping 286 matching lines...) Expand 10 before | Expand all | Expand 10 after
1006 // The time that this WebContents was last made active. The initial value is 1005 // The time that this WebContents was last made active. The initial value is
1007 // the WebContents creation time. 1006 // the WebContents creation time.
1008 base::TimeTicks last_active_time_; 1007 base::TimeTicks last_active_time_;
1009 1008
1010 // See description above setter. 1009 // See description above setter.
1011 bool closed_by_user_gesture_; 1010 bool closed_by_user_gesture_;
1012 1011
1013 // Minimum/maximum zoom percent. 1012 // Minimum/maximum zoom percent.
1014 int minimum_zoom_percent_; 1013 int minimum_zoom_percent_;
1015 int maximum_zoom_percent_; 1014 int maximum_zoom_percent_;
1016 // If true, the default zoom limits have been overriden for this tab, in which
1017 // case we don't want saved settings to apply to it and we don't want to
1018 // remember it.
1019 bool temporary_zoom_settings_;
1020 1015
1021 // The raw accumulated zoom value and the actual zoom increments made for an 1016 // The raw accumulated zoom value and the actual zoom increments made for an
1022 // an in-progress pinch gesture. 1017 // an in-progress pinch gesture.
1023 float totalPinchGestureAmount_; 1018 float totalPinchGestureAmount_;
1024 int currentPinchZoomStepDelta_; 1019 int currentPinchZoomStepDelta_;
1025 1020
1026 // The intrinsic size of the page. 1021 // The intrinsic size of the page.
1027 gfx::Size preferred_size_; 1022 gfx::Size preferred_size_;
1028 1023
1029 // The preferred size for content screen capture. When |capturer_count_| > 0, 1024 // The preferred size for content screen capture. When |capturer_count_| > 0,
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after
1098 bool last_dialog_suppressed_; 1093 bool last_dialog_suppressed_;
1099 1094
1100 scoped_ptr<GeolocationDispatcherHost> geolocation_dispatcher_host_; 1095 scoped_ptr<GeolocationDispatcherHost> geolocation_dispatcher_host_;
1101 1096
1102 DISALLOW_COPY_AND_ASSIGN(WebContentsImpl); 1097 DISALLOW_COPY_AND_ASSIGN(WebContentsImpl);
1103 }; 1098 };
1104 1099
1105 } // namespace content 1100 } // namespace content
1106 1101
1107 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ 1102 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698