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

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

Issue 2738373002: Enhance chrome.app.window API with window background color (Closed)
Patch Set: Created 3 years, 9 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
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 <stddef.h> 8 #include <stddef.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 10
(...skipping 415 matching lines...) Expand 10 before | Expand all | Expand 10 after
426 } 426 }
427 427
428 // Whether forwarded WebInputEvents should be dropped. 428 // Whether forwarded WebInputEvents should be dropped.
429 bool ShouldDropInputEvents() const; 429 bool ShouldDropInputEvents() const;
430 430
431 bool has_touch_handler() const { return has_touch_handler_; } 431 bool has_touch_handler() const { return has_touch_handler_; }
432 432
433 // Set the RenderView background transparency. 433 // Set the RenderView background transparency.
434 void SetBackgroundOpaque(bool opaque); 434 void SetBackgroundOpaque(bool opaque);
435 435
436 // Set background color.
437 void SetBaseBackgroundColor(SkColor);
438
436 // Executes the edit command. 439 // Executes the edit command.
437 void ExecuteEditCommand(const std::string& command, 440 void ExecuteEditCommand(const std::string& command,
438 const std::string& value); 441 const std::string& value);
439 442
440 // Tells the renderer to scroll the currently focused node into rect only if 443 // Tells the renderer to scroll the currently focused node into rect only if
441 // the currently focused node is a Text node (textfield, text area or content 444 // the currently focused node is a Text node (textfield, text area or content
442 // editable divs). 445 // editable divs).
443 void ScrollFocusedEditableNodeIntoRect(const gfx::Rect& rect); 446 void ScrollFocusedEditableNodeIntoRect(const gfx::Rect& rect);
444 447
445 // Requests the renderer to move the caret selection towards the point. 448 // Requests the renderer to move the caret selection towards the point.
(...skipping 448 matching lines...) Expand 10 before | Expand all | Expand 10 after
894 #endif 897 #endif
895 898
896 base::WeakPtrFactory<RenderWidgetHostImpl> weak_factory_; 899 base::WeakPtrFactory<RenderWidgetHostImpl> weak_factory_;
897 900
898 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostImpl); 901 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostImpl);
899 }; 902 };
900 903
901 } // namespace content 904 } // namespace content
902 905
903 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_ 906 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_
OLDNEW
« no previous file with comments | « no previous file | content/browser/renderer_host/render_widget_host_impl.cc » ('j') | extensions/browser/app_window/app_window.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698