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

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
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 553 matching lines...) Expand 10 before | Expand all | Expand 10 after
564 void setTouchAction(blink::WebTouchAction touch_action) override; 564 void setTouchAction(blink::WebTouchAction touch_action) override;
565 565
566 // Called when value of focused text field gets dirty, e.g. value is modified 566 // Called when value of focused text field gets dirty, e.g. value is modified
567 // by script, not by user input. 567 // by script, not by user input.
568 void didUpdateTextOfFocusedElementByNonUserInput() override; 568 void didUpdateTextOfFocusedElementByNonUserInput() override;
569 569
570 // Creates a 3D context associated with this view. 570 // Creates a 3D context associated with this view.
571 scoped_ptr<WebGraphicsContext3DCommandBufferImpl> CreateGraphicsContext3D( 571 scoped_ptr<WebGraphicsContext3DCommandBufferImpl> CreateGraphicsContext3D(
572 bool compositor); 572 bool compositor);
573 573
574 // Sets the size of the compositor's viewport to the latest size.
575 //
danakj 2015/10/22 23:15:29 extra lines?
oshima 2015/10/23 18:05:37 Done.
576 //
577 void UpdateCompositorViewportSize();
578
574 // Routing ID that allows us to communicate to the parent browser process 579 // Routing ID that allows us to communicate to the parent browser process
575 // RenderWidgetHost. When MSG_ROUTING_NONE, no messages may be sent. 580 // RenderWidgetHost. When MSG_ROUTING_NONE, no messages may be sent.
576 int32 routing_id_; 581 int32 routing_id_;
577 582
578 // Dependencies for initializing a compositor, including flags for optional 583 // Dependencies for initializing a compositor, including flags for optional
579 // features. 584 // features.
580 CompositorDependencies* const compositor_deps_; 585 CompositorDependencies* const compositor_deps_;
581 586
582 // We are responsible for destroying this object via its Close method. 587 // We are responsible for destroying this object via its Close method.
583 // May be NULL when the window is closing. 588 // May be NULL when the window is closing.
(...skipping 204 matching lines...) Expand 10 before | Expand all | Expand 10 after
788 ui::MenuSourceType context_menu_source_type_; 793 ui::MenuSourceType context_menu_source_type_;
789 bool has_host_context_menu_location_; 794 bool has_host_context_menu_location_;
790 gfx::Point host_context_menu_location_; 795 gfx::Point host_context_menu_location_;
791 796
792 DISALLOW_COPY_AND_ASSIGN(RenderWidget); 797 DISALLOW_COPY_AND_ASSIGN(RenderWidget);
793 }; 798 };
794 799
795 } // namespace content 800 } // namespace content
796 801
797 #endif // CONTENT_RENDERER_RENDER_WIDGET_H_ 802 #endif // CONTENT_RENDERER_RENDER_WIDGET_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698