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

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

Issue 1199313006: Disable support for swapped out RenderFrame(Host) on desktop. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 6 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 <deque> 8 #include <deque>
9 #include <list> 9 #include <list>
10 #include <map> 10 #include <map>
(...skipping 461 matching lines...) Expand 10 before | Expand all | Expand 10 after
472 // or create it if it doesn't already exist. 472 // or create it if it doesn't already exist.
473 BrowserAccessibilityManager* GetOrCreateRootBrowserAccessibilityManager(); 473 BrowserAccessibilityManager* GetOrCreateRootBrowserAccessibilityManager();
474 474
475 void RejectMouseLockOrUnlockIfNecessary(); 475 void RejectMouseLockOrUnlockIfNecessary();
476 476
477 #if defined(OS_WIN) 477 #if defined(OS_WIN)
478 gfx::NativeViewAccessible GetParentNativeViewAccessible(); 478 gfx::NativeViewAccessible GetParentNativeViewAccessible();
479 #endif 479 #endif
480 480
481 void set_renderer_initialized(bool renderer_initialized) { 481 void set_renderer_initialized(bool renderer_initialized) {
482 LOG(ERROR) << "RWH[" << this << "]::set_renderer_initialized: "
483 << " routing_id:" << routing_id_
484 << " initialized:" << renderer_initialized;
482 renderer_initialized_ = renderer_initialized; 485 renderer_initialized_ = renderer_initialized;
483 } 486 }
484 487
485 protected: 488 protected:
486 RenderWidgetHostImpl* AsRenderWidgetHostImpl() override; 489 RenderWidgetHostImpl* AsRenderWidgetHostImpl() override;
487 490
488 // Called when we receive a notification indicating that the renderer 491 // Called when we receive a notification indicating that the renderer
489 // process has gone. This will reset our state so that our state will be 492 // process has gone. This will reset our state so that our state will be
490 // consistent if a new renderer is created. 493 // consistent if a new renderer is created.
491 void RendererExited(base::TerminationStatus status, int exit_code); 494 void RendererExited(base::TerminationStatus status, int exit_code);
(...skipping 339 matching lines...) Expand 10 before | Expand all | Expand 10 after
831 bool is_focused_; 834 bool is_focused_;
832 835
833 base::WeakPtrFactory<RenderWidgetHostImpl> weak_factory_; 836 base::WeakPtrFactory<RenderWidgetHostImpl> weak_factory_;
834 837
835 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostImpl); 838 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostImpl);
836 }; 839 };
837 840
838 } // namespace content 841 } // namespace content
839 842
840 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_ 843 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698