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

Side by Side Diff: content/browser/renderer_host/render_widget_host_impl.h

Issue 274453002: Remove RenderWidget::SetBackground, change IPC to pass a bool. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rm-setbackground: nomac Created 6 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 | Annotate | Revision Log
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_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_ 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_
6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_ 6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_
7 7
8 #include <deque> 8 #include <deque>
9 #include <list> 9 #include <list>
10 #include <map> 10 #include <map>
(...skipping 366 matching lines...) Expand 10 before | Expand all | Expand 10 after
377 377
378 // Event queries delegated to the |input_router_|. 378 // Event queries delegated to the |input_router_|.
379 bool ShouldForwardTouchEvent() const; 379 bool ShouldForwardTouchEvent() const;
380 380
381 bool has_touch_handler() const { return has_touch_handler_; } 381 bool has_touch_handler() const { return has_touch_handler_; }
382 382
383 // Notification that the user has made some kind of input that could 383 // Notification that the user has made some kind of input that could
384 // perform an action. See OnUserGesture for more details. 384 // perform an action. See OnUserGesture for more details.
385 void StartUserGesture(); 385 void StartUserGesture();
386 386
387 // Set the RenderView background. 387 // Set the RenderView background transparency.
388 void SetBackground(const SkBitmap& background); 388 void SetBackgroundOpaque(bool opaque);
389 389
390 // Notifies the renderer that the next key event is bound to one or more 390 // Notifies the renderer that the next key event is bound to one or more
391 // pre-defined edit commands 391 // pre-defined edit commands
392 void SetEditCommandsForNextKeyEvent( 392 void SetEditCommandsForNextKeyEvent(
393 const std::vector<EditCommand>& commands); 393 const std::vector<EditCommand>& commands);
394 394
395 // Gets the accessibility mode. 395 // Gets the accessibility mode.
396 AccessibilityMode accessibility_mode() const { 396 AccessibilityMode accessibility_mode() const {
397 return accessibility_mode_; 397 return accessibility_mode_;
398 } 398 }
(...skipping 486 matching lines...) Expand 10 before | Expand all | Expand 10 after
885 #endif 885 #endif
886 886
887 int64 last_input_number_; 887 int64 last_input_number_;
888 888
889 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostImpl); 889 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostImpl);
890 }; 890 };
891 891
892 } // namespace content 892 } // namespace content
893 893
894 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_ 894 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_
OLDNEW
« no previous file with comments | « content/browser/frame_host/render_widget_host_view_guest.cc ('k') | content/browser/renderer_host/render_widget_host_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698