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

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

Issue 1263213004: Change renderer compositor command buffer to be 64kB (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 4 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 | « no previous file | 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 574 matching lines...) Expand 10 before | Expand all | Expand 10 after
585 virtual void hasTouchEventHandlers(bool has_handlers); 585 virtual void hasTouchEventHandlers(bool has_handlers);
586 586
587 // Tell the browser about the actions permitted for a new touch point. 587 // Tell the browser about the actions permitted for a new touch point.
588 virtual void setTouchAction(blink::WebTouchAction touch_action); 588 virtual void setTouchAction(blink::WebTouchAction touch_action);
589 589
590 // Called when value of focused text field gets dirty, e.g. value is modified 590 // Called when value of focused text field gets dirty, e.g. value is modified
591 // by script, not by user input. 591 // by script, not by user input.
592 virtual void didUpdateTextOfFocusedElementByNonUserInput(); 592 virtual void didUpdateTextOfFocusedElementByNonUserInput();
593 593
594 // Creates a 3D context associated with this view. 594 // Creates a 3D context associated with this view.
595 scoped_ptr<WebGraphicsContext3DCommandBufferImpl> CreateGraphicsContext3D(); 595 scoped_ptr<WebGraphicsContext3DCommandBufferImpl> CreateGraphicsContext3D(
596 bool compositor);
596 597
597 // Routing ID that allows us to communicate to the parent browser process 598 // Routing ID that allows us to communicate to the parent browser process
598 // RenderWidgetHost. When MSG_ROUTING_NONE, no messages may be sent. 599 // RenderWidgetHost. When MSG_ROUTING_NONE, no messages may be sent.
599 int32 routing_id_; 600 int32 routing_id_;
600 601
601 int32 surface_id_; 602 int32 surface_id_;
602 603
603 // Dependencies for initializing a compositor, including flags for optional 604 // Dependencies for initializing a compositor, including flags for optional
604 // features. 605 // features.
605 CompositorDependencies* const compositor_deps_; 606 CompositorDependencies* const compositor_deps_;
(...skipping 216 matching lines...) Expand 10 before | Expand all | Expand 10 after
822 ui::MenuSourceType context_menu_source_type_; 823 ui::MenuSourceType context_menu_source_type_;
823 bool has_host_context_menu_location_; 824 bool has_host_context_menu_location_;
824 gfx::Point host_context_menu_location_; 825 gfx::Point host_context_menu_location_;
825 826
826 DISALLOW_COPY_AND_ASSIGN(RenderWidget); 827 DISALLOW_COPY_AND_ASSIGN(RenderWidget);
827 }; 828 };
828 829
829 } // namespace content 830 } // namespace content
830 831
831 #endif // CONTENT_RENDERER_RENDER_WIDGET_H_ 832 #endif // CONTENT_RENDERER_RENDER_WIDGET_H_
OLDNEW
« no previous file with comments | « no previous file | content/renderer/render_widget.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698