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

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

Issue 10833052: Removing duplicate IsHidden function from RWHI. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 8 years, 4 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
« no previous file with comments | « no previous file | content/browser/renderer_host/render_widget_host_view_aura.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 137 matching lines...) Expand 10 before | Expand all | Expand 10 after
148 // IPC::Listener 148 // IPC::Listener
149 virtual bool OnMessageReceived(const IPC::Message& msg) OVERRIDE; 149 virtual bool OnMessageReceived(const IPC::Message& msg) OVERRIDE;
150 150
151 // Sends a message to the corresponding object in the renderer. 151 // Sends a message to the corresponding object in the renderer.
152 virtual bool Send(IPC::Message* msg) OVERRIDE; 152 virtual bool Send(IPC::Message* msg) OVERRIDE;
153 153
154 // Called to notify the RenderWidget that it has been hidden or restored from 154 // Called to notify the RenderWidget that it has been hidden or restored from
155 // having been hidden. 155 // having been hidden.
156 void WasHidden(); 156 void WasHidden();
157 void WasShown(); 157 void WasShown();
158 bool IsHidden() const { return is_hidden_; }
159 158
160 // Returns true if the RenderWidget is hidden. 159 // Returns true if the RenderWidget is hidden.
161 bool is_hidden() const { return is_hidden_; } 160 bool is_hidden() const { return is_hidden_; }
162 161
163 // Called to notify the RenderWidget that its associated native window got 162 // Called to notify the RenderWidget that its associated native window got
164 // focused. 163 // focused.
165 virtual void GotFocus(); 164 virtual void GotFocus();
166 165
167 // Tells the renderer it got/lost focus. 166 // Tells the renderer it got/lost focus.
168 void Focus(); 167 void Focus();
(...skipping 610 matching lines...) Expand 10 before | Expand all | Expand 10 after
779 scoped_ptr<TapSuppressionController> tap_suppression_controller_; 778 scoped_ptr<TapSuppressionController> tap_suppression_controller_;
780 779
781 scoped_ptr<SmoothScrollGesture> active_smooth_scroll_gesture_; 780 scoped_ptr<SmoothScrollGesture> active_smooth_scroll_gesture_;
782 781
783 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostImpl); 782 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostImpl);
784 }; 783 };
785 784
786 } // namespace content 785 } // namespace content
787 786
788 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_ 787 #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_view_aura.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698