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

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

Issue 167953003: cc: Remove the --enable-partial-swap flag. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: enablepartialswap: build Created 6 years, 10 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
« no previous file with comments | « content/renderer/render_view_impl_params.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 179 matching lines...) Expand 10 before | Expand all | Expand 10 after
190 190
191 // Handle common setup/teardown for handling IME events. 191 // Handle common setup/teardown for handling IME events.
192 void StartHandlingImeEvent(); 192 void StartHandlingImeEvent();
193 void FinishHandlingImeEvent(); 193 void FinishHandlingImeEvent();
194 194
195 virtual void InstrumentWillBeginFrame(int frame_id) {} 195 virtual void InstrumentWillBeginFrame(int frame_id) {}
196 virtual void InstrumentDidBeginFrame() {} 196 virtual void InstrumentDidBeginFrame() {}
197 virtual void InstrumentDidCancelFrame() {} 197 virtual void InstrumentDidCancelFrame() {}
198 virtual void InstrumentWillComposite() {} 198 virtual void InstrumentWillComposite() {}
199 199
200 virtual bool AllowPartialSwap() const;
201 bool UsingSynchronousRendererCompositor() const; 200 bool UsingSynchronousRendererCompositor() const;
202 201
203 bool is_swapped_out() { return is_swapped_out_; } 202 bool is_swapped_out() { return is_swapped_out_; }
204 203
205 // ScreenMetricsEmulator class manages screen emulation inside a render 204 // ScreenMetricsEmulator class manages screen emulation inside a render
206 // widget. This includes resizing, placing view on the screen at desired 205 // widget. This includes resizing, placing view on the screen at desired
207 // position, changing device scale factor, and scaling down the whole 206 // position, changing device scale factor, and scaling down the whole
208 // widget if required to fit into the browser window. 207 // widget if required to fit into the browser window.
209 class ScreenMetricsEmulator; 208 class ScreenMetricsEmulator;
210 209
(...skipping 571 matching lines...) Expand 10 before | Expand all | Expand 10 after
782 781
783 ui::MenuSourceType context_menu_source_type_; 782 ui::MenuSourceType context_menu_source_type_;
784 gfx::Point touch_editing_context_menu_location_; 783 gfx::Point touch_editing_context_menu_location_;
785 784
786 DISALLOW_COPY_AND_ASSIGN(RenderWidget); 785 DISALLOW_COPY_AND_ASSIGN(RenderWidget);
787 }; 786 };
788 787
789 } // namespace content 788 } // namespace content
790 789
791 #endif // CONTENT_RENDERER_RENDER_WIDGET_H_ 790 #endif // CONTENT_RENDERER_RENDER_WIDGET_H_
OLDNEW
« no previous file with comments | « content/renderer/render_view_impl_params.cc ('k') | content/renderer/render_widget.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698