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

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

Issue 14139013: Hide location bar on Javascript-initiated scroll. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Sync, merge, address style nits. Created 7 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
« no previous file with comments | « content/renderer/render_view_impl_android.cc ('k') | content/renderer/render_widget.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_WIDGET_H_ 5 #ifndef CONTENT_RENDERER_RENDER_WIDGET_H_
6 #define CONTENT_RENDERER_RENDER_WIDGET_H_ 6 #define CONTENT_RENDERER_RENDER_WIDGET_H_
7 7
8 #include <deque> 8 #include <deque>
9 #include <map> 9 #include <map>
10 10
(...skipping 124 matching lines...) Expand 10 before | Expand all | Expand 10 after
135 virtual void didCommitAndDrawCompositorFrame(); 135 virtual void didCommitAndDrawCompositorFrame();
136 virtual void didCompleteSwapBuffers(); 136 virtual void didCompleteSwapBuffers();
137 virtual void scheduleComposite(); 137 virtual void scheduleComposite();
138 virtual void scheduleAnimation(); 138 virtual void scheduleAnimation();
139 virtual void didFocus(); 139 virtual void didFocus();
140 virtual void didBlur(); 140 virtual void didBlur();
141 virtual void didChangeCursor(const WebKit::WebCursorInfo&); 141 virtual void didChangeCursor(const WebKit::WebCursorInfo&);
142 virtual void closeWidgetSoon(); 142 virtual void closeWidgetSoon();
143 virtual void show(WebKit::WebNavigationPolicy); 143 virtual void show(WebKit::WebNavigationPolicy);
144 virtual void runModal() {} 144 virtual void runModal() {}
145 virtual void didProgrammaticallyScroll(const WebKit::WebPoint& scroll_point);
145 virtual WebKit::WebRect windowRect(); 146 virtual WebKit::WebRect windowRect();
146 virtual void setToolTipText(const WebKit::WebString& text, 147 virtual void setToolTipText(const WebKit::WebString& text,
147 WebKit::WebTextDirection hint); 148 WebKit::WebTextDirection hint);
148 virtual void setWindowRect(const WebKit::WebRect&); 149 virtual void setWindowRect(const WebKit::WebRect&);
149 virtual WebKit::WebRect windowResizerRect(); 150 virtual WebKit::WebRect windowResizerRect();
150 virtual WebKit::WebRect rootWindowRect(); 151 virtual WebKit::WebRect rootWindowRect();
151 virtual WebKit::WebScreenInfo screenInfo(); 152 virtual WebKit::WebScreenInfo screenInfo();
152 virtual float deviceScaleFactor(); 153 virtual float deviceScaleFactor();
153 virtual void resetInputMethod(); 154 virtual void resetInputMethod();
154 virtual void didHandleGestureEvent(const WebKit::WebGestureEvent& event, 155 virtual void didHandleGestureEvent(const WebKit::WebGestureEvent& event,
(...skipping 547 matching lines...) Expand 10 before | Expand all | Expand 10 after
702 bool overscroll_notifications_enabled_; 703 bool overscroll_notifications_enabled_;
703 704
704 base::WeakPtrFactory<RenderWidget> weak_ptr_factory_; 705 base::WeakPtrFactory<RenderWidget> weak_ptr_factory_;
705 706
706 DISALLOW_COPY_AND_ASSIGN(RenderWidget); 707 DISALLOW_COPY_AND_ASSIGN(RenderWidget);
707 }; 708 };
708 709
709 } // namespace content 710 } // namespace content
710 711
711 #endif // CONTENT_RENDERER_RENDER_WIDGET_H_ 712 #endif // CONTENT_RENDERER_RENDER_WIDGET_H_
OLDNEW
« no previous file with comments | « content/renderer/render_view_impl_android.cc ('k') | content/renderer/render_widget.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698