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

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

Issue 2898583002: color: Fix color not being reset between layout tests (Closed)
Patch Set: Review feedbakc Created 3 years, 7 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 | « cc/trees/layer_tree_host_impl_unittest.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 <stddef.h> 8 #include <stddef.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 10
(...skipping 820 matching lines...) Expand 10 before | Expand all | Expand 10 after
831 void SendOrCrash(IPC::Message* msg); 831 void SendOrCrash(IPC::Message* msg);
832 832
833 // Determines whether or not RenderWidget should process IME events from the 833 // Determines whether or not RenderWidget should process IME events from the
834 // browser. It always returns true unless there is no WebFrameWidget to 834 // browser. It always returns true unless there is no WebFrameWidget to
835 // handle the event, or there is no page focus. 835 // handle the event, or there is no page focus.
836 bool ShouldHandleImeEvents() const; 836 bool ShouldHandleImeEvents() const;
837 837
838 void UpdateTextInputStateInternal(bool show_virtual_keyboard, 838 void UpdateTextInputStateInternal(bool show_virtual_keyboard,
839 bool reply_to_request); 839 bool reply_to_request);
840 840
841 gfx::ColorSpace GetRasterColorSpace() const;
842
841 // Indicates whether this widget has focus. 843 // Indicates whether this widget has focus.
842 bool has_focus_; 844 bool has_focus_;
843 845
844 // A callback into the creator/opener of this widget, to be executed when 846 // A callback into the creator/opener of this widget, to be executed when
845 // WebWidgetClient::show() occurs. 847 // WebWidgetClient::show() occurs.
846 ShowCallback show_callback_; 848 ShowCallback show_callback_;
847 849
848 #if defined(OS_MACOSX) 850 #if defined(OS_MACOSX)
849 // Responds to IPCs from TextInputClientMac regarding getting string at given 851 // Responds to IPCs from TextInputClientMac regarding getting string at given
850 // position or range as well as finding character index at a given position. 852 // position or range as well as finding character index at a given position.
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
885 scoped_refptr<MainThreadEventQueue> input_event_queue_; 887 scoped_refptr<MainThreadEventQueue> input_event_queue_;
886 888
887 base::WeakPtrFactory<RenderWidget> weak_ptr_factory_; 889 base::WeakPtrFactory<RenderWidget> weak_ptr_factory_;
888 890
889 DISALLOW_COPY_AND_ASSIGN(RenderWidget); 891 DISALLOW_COPY_AND_ASSIGN(RenderWidget);
890 }; 892 };
891 893
892 } // namespace content 894 } // namespace content
893 895
894 #endif // CONTENT_RENDERER_RENDER_WIDGET_H_ 896 #endif // CONTENT_RENDERER_RENDER_WIDGET_H_
OLDNEW
« no previous file with comments | « cc/trees/layer_tree_host_impl_unittest.cc ('k') | content/renderer/render_widget.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698