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

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

Issue 151083002: Create a visible window with class name Chrome_RenderWidgetHostHWND which corresponds to the bounds… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 6 years, 10 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 471 matching lines...) Expand 10 before | Expand all | Expand 10 after
482 // Called by the view in response to AcceleratedSurfaceBuffersSwapped for 482 // Called by the view in response to AcceleratedSurfaceBuffersSwapped for
483 // platforms that support deferred GPU process descheduling. This does 483 // platforms that support deferred GPU process descheduling. This does
484 // nothing if the compositor thread is enabled. 484 // nothing if the compositor thread is enabled.
485 // TODO(jbates) Once the compositor thread is always on, this can be removed. 485 // TODO(jbates) Once the compositor thread is always on, this can be removed.
486 void AcknowledgeSwapBuffersToRenderer(); 486 void AcknowledgeSwapBuffersToRenderer();
487 487
488 bool is_threaded_compositing_enabled() const { 488 bool is_threaded_compositing_enabled() const {
489 return is_threaded_compositing_enabled_; 489 return is_threaded_compositing_enabled_;
490 } 490 }
491 491
492 #if defined(USE_AURA)
493 // Called by the view when the parent changes. If a parent isn't available,
494 // NULL is used.
495 void ParentChanged(gfx::NativeViewId new_parent);
496 #endif
497
498 void set_allow_privileged_mouse_lock(bool allow) { 492 void set_allow_privileged_mouse_lock(bool allow) {
499 allow_privileged_mouse_lock_ = allow; 493 allow_privileged_mouse_lock_ = allow;
500 } 494 }
501 495
502 // Resets state variables related to tracking pending size and painting. 496 // Resets state variables related to tracking pending size and painting.
503 // 497 //
504 // We need to reset these flags when we want to repaint the contents of 498 // We need to reset these flags when we want to repaint the contents of
505 // browser plugin in this RWH. Resetting these flags will ensure we ignore 499 // browser plugin in this RWH. Resetting these flags will ensure we ignore
506 // any previous pending acks that are not relevant upon repaint. 500 // any previous pending acks that are not relevant upon repaint.
507 void ResetSizeAndRepaintPendingFlags(); 501 void ResetSizeAndRepaintPendingFlags();
(...skipping 425 matching lines...) Expand 10 before | Expand all | Expand 10 after
933 int64 last_input_number_; 927 int64 last_input_number_;
934 928
935 BrowserRenderingStats rendering_stats_; 929 BrowserRenderingStats rendering_stats_;
936 930
937 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostImpl); 931 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostImpl);
938 }; 932 };
939 933
940 } // namespace content 934 } // namespace content
941 935
942 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_ 936 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698