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

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

Issue 111063003: Aura: Don't create GL context for CreateSharedSurfaceHandle() (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: try to make tests happy by still creating shared context Created 6 years, 11 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 475 matching lines...) Expand 10 before | Expand all | Expand 10 after
486 bool is_threaded_compositing_enabled() const { 486 bool is_threaded_compositing_enabled() const {
487 return is_threaded_compositing_enabled_; 487 return is_threaded_compositing_enabled_;
488 } 488 }
489 489
490 #if defined(USE_AURA) 490 #if defined(USE_AURA)
491 // Called by the view when the parent changes. If a parent isn't available, 491 // Called by the view when the parent changes. If a parent isn't available,
492 // NULL is used. 492 // NULL is used.
493 void ParentChanged(gfx::NativeViewId new_parent); 493 void ParentChanged(gfx::NativeViewId new_parent);
494 #endif 494 #endif
495 495
496 // Signals that the compositing surface was updated, e.g. after a lost context
497 // event.
498 void CompositingSurfaceUpdated();
499
500 void set_allow_privileged_mouse_lock(bool allow) { 496 void set_allow_privileged_mouse_lock(bool allow) {
501 allow_privileged_mouse_lock_ = allow; 497 allow_privileged_mouse_lock_ = allow;
502 } 498 }
503 499
504 // Resets state variables related to tracking pending size and painting. 500 // Resets state variables related to tracking pending size and painting.
505 // 501 //
506 // We need to reset these flags when we want to repaint the contents of 502 // We need to reset these flags when we want to repaint the contents of
507 // browser plugin in this RWH. Resetting these flags will ensure we ignore 503 // browser plugin in this RWH. Resetting these flags will ensure we ignore
508 // any previous pending acks that are not relevant upon repaint. 504 // any previous pending acks that are not relevant upon repaint.
509 void ResetSizeAndRepaintPendingFlags(); 505 void ResetSizeAndRepaintPendingFlags();
(...skipping 412 matching lines...) Expand 10 before | Expand all | Expand 10 after
922 int64 last_input_number_; 918 int64 last_input_number_;
923 919
924 BrowserRenderingStats rendering_stats_; 920 BrowserRenderingStats rendering_stats_;
925 921
926 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostImpl); 922 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostImpl);
927 }; 923 };
928 924
929 } // namespace content 925 } // namespace content
930 926
931 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_ 927 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_
OLDNEW
« no previous file with comments | « content/browser/renderer_host/render_process_host_impl.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