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

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

Issue 16903002: Allow AccessibilityHostMsg_Notifications messages to be sent from the renderer while it is swapped … (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Address nits Created 7 years, 6 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.h ('k') | no next file » | 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 203 matching lines...) Expand 10 before | Expand all | Expand 10 after
214 void FinishHandlingImeEvent(); 214 void FinishHandlingImeEvent();
215 215
216 virtual void InstrumentWillBeginFrame() {} 216 virtual void InstrumentWillBeginFrame() {}
217 virtual void InstrumentDidBeginFrame() {} 217 virtual void InstrumentDidBeginFrame() {}
218 virtual void InstrumentDidCancelFrame() {} 218 virtual void InstrumentDidCancelFrame() {}
219 virtual void InstrumentWillComposite() {} 219 virtual void InstrumentWillComposite() {}
220 220
221 virtual bool AllowPartialSwap() const; 221 virtual bool AllowPartialSwap() const;
222 bool UsingSynchronousRendererCompositor() const; 222 bool UsingSynchronousRendererCompositor() const;
223 223
224 bool is_swapped_out() { return is_swapped_out_; }
225
224 protected: 226 protected:
225 // Friend RefCounted so that the dtor can be non-public. Using this class 227 // Friend RefCounted so that the dtor can be non-public. Using this class
226 // without ref-counting is an error. 228 // without ref-counting is an error.
227 friend class base::RefCounted<RenderWidget>; 229 friend class base::RefCounted<RenderWidget>;
228 // For unit tests. 230 // For unit tests.
229 friend class RenderWidgetTest; 231 friend class RenderWidgetTest;
230 232
231 enum ResizeAck { 233 enum ResizeAck {
232 SEND_RESIZE_ACK, 234 SEND_RESIZE_ACK,
233 NO_RESIZE_ACK, 235 NO_RESIZE_ACK,
(...skipping 467 matching lines...) Expand 10 before | Expand all | Expand 10 after
701 ui::LatencyInfo latency_info_; 703 ui::LatencyInfo latency_info_;
702 704
703 base::WeakPtrFactory<RenderWidget> weak_ptr_factory_; 705 base::WeakPtrFactory<RenderWidget> weak_ptr_factory_;
704 706
705 DISALLOW_COPY_AND_ASSIGN(RenderWidget); 707 DISALLOW_COPY_AND_ASSIGN(RenderWidget);
706 }; 708 };
707 709
708 } // namespace content 710 } // namespace content
709 711
710 #endif // CONTENT_RENDERER_RENDER_WIDGET_H_ 712 #endif // CONTENT_RENDERER_RENDER_WIDGET_H_
OLDNEW
« no previous file with comments | « content/renderer/render_view_impl.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698