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

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

Issue 10052018: Drop frontbuffers with ui-use-gpu-process, synchronized with browser, decoupled from backbuffer dro… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fixing compile issue for content_unittests Created 8 years, 8 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 #pragma once 7 #pragma once
8 8
9 #include <deque> 9 #include <deque>
10 #include <string> 10 #include <string>
(...skipping 128 matching lines...) Expand 10 before | Expand all | Expand 10 after
139 // IPC::Channel::Listener 139 // IPC::Channel::Listener
140 virtual bool OnMessageReceived(const IPC::Message& msg) OVERRIDE; 140 virtual bool OnMessageReceived(const IPC::Message& msg) OVERRIDE;
141 141
142 // Sends a message to the corresponding object in the renderer. 142 // Sends a message to the corresponding object in the renderer.
143 virtual bool Send(IPC::Message* msg) OVERRIDE; 143 virtual bool Send(IPC::Message* msg) OVERRIDE;
144 144
145 // Called to notify the RenderWidget that it has been hidden or restored from 145 // Called to notify the RenderWidget that it has been hidden or restored from
146 // having been hidden. 146 // having been hidden.
147 void WasHidden(); 147 void WasHidden();
148 void WasRestored(); 148 void WasRestored();
149 bool IsVisible() const { return !is_hidden_; }
149 150
150 // Called to notify the RenderWidget that its associated native window got 151 // Called to notify the RenderWidget that its associated native window got
151 // focused. 152 // focused.
152 virtual void GotFocus(); 153 virtual void GotFocus();
153 154
154 // Tells the renderer it got/lost focus. 155 // Tells the renderer it got/lost focus.
155 void Focus(); 156 void Focus();
156 virtual void LostCapture(); 157 virtual void LostCapture();
157 158
158 // Sets whether the renderer should show controls in an active state. On all 159 // Sets whether the renderer should show controls in an active state. On all
(...skipping 541 matching lines...) Expand 10 before | Expand all | Expand 10 after
700 base::WeakPtrFactory<RenderWidgetHostImpl> weak_factory_; 701 base::WeakPtrFactory<RenderWidgetHostImpl> weak_factory_;
701 702
702 scoped_ptr<TapSuppressionController> tap_suppression_controller_; 703 scoped_ptr<TapSuppressionController> tap_suppression_controller_;
703 704
704 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostImpl); 705 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostImpl);
705 }; 706 };
706 707
707 } // namespace content 708 } // namespace content
708 709
709 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_ 710 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698