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

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

Issue 1412663005: Introduce painted-device-scale-factor and use it when --enable-use-zoom-for-dsf is specified. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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 | « content/renderer/render_view_impl.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 169 matching lines...) Expand 10 before | Expand all | Expand 10 after
180 void didChangeCursor(const blink::WebCursorInfo&) override; 180 void didChangeCursor(const blink::WebCursorInfo&) override;
181 void closeWidgetSoon() override; 181 void closeWidgetSoon() override;
182 void show(blink::WebNavigationPolicy) override; 182 void show(blink::WebNavigationPolicy) override;
183 blink::WebRect windowRect() override; 183 blink::WebRect windowRect() override;
184 void setToolTipText(const blink::WebString& text, 184 void setToolTipText(const blink::WebString& text,
185 blink::WebTextDirection hint) override; 185 blink::WebTextDirection hint) override;
186 void setWindowRect(const blink::WebRect&) override; 186 void setWindowRect(const blink::WebRect&) override;
187 blink::WebRect windowResizerRect() override; 187 blink::WebRect windowResizerRect() override;
188 blink::WebRect rootWindowRect() override; 188 blink::WebRect rootWindowRect() override;
189 blink::WebScreenInfo screenInfo() override; 189 blink::WebScreenInfo screenInfo() override;
190 float deviceScaleFactor() override;
191 void resetInputMethod() override; 190 void resetInputMethod() override;
192 void didHandleGestureEvent(const blink::WebGestureEvent& event, 191 void didHandleGestureEvent(const blink::WebGestureEvent& event,
193 bool event_cancelled) override; 192 bool event_cancelled) override;
194 void didOverscroll(const blink::WebFloatSize& unusedDelta, 193 void didOverscroll(const blink::WebFloatSize& unusedDelta,
195 const blink::WebFloatSize& accumulatedRootOverScroll, 194 const blink::WebFloatSize& accumulatedRootOverScroll,
196 const blink::WebFloatPoint& position, 195 const blink::WebFloatPoint& position,
197 const blink::WebFloatSize& velocity) override; 196 const blink::WebFloatSize& velocity) override;
198 void showImeIfNeeded() override; 197 void showImeIfNeeded() override;
199 198
200 #if defined(OS_ANDROID) 199 #if defined(OS_ANDROID)
(...skipping 596 matching lines...) Expand 10 before | Expand all | Expand 10 after
797 796
798 scoped_ptr<scheduler::RenderWidgetSchedulingState> 797 scoped_ptr<scheduler::RenderWidgetSchedulingState>
799 render_widget_scheduling_state_; 798 render_widget_scheduling_state_;
800 799
801 DISALLOW_COPY_AND_ASSIGN(RenderWidget); 800 DISALLOW_COPY_AND_ASSIGN(RenderWidget);
802 }; 801 };
803 802
804 } // namespace content 803 } // namespace content
805 804
806 #endif // CONTENT_RENDERER_RENDER_WIDGET_H_ 805 #endif // CONTENT_RENDERER_RENDER_WIDGET_H_
OLDNEW
« no previous file with comments | « content/renderer/render_view_impl.cc ('k') | content/renderer/render_widget.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698