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

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

Issue 10696158: Rename WasRestored to WasShown across all uses. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Bring to ToT to commit 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
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 136 matching lines...) Expand 10 before | Expand all | Expand 10 after
147 147
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 WasRestored(); 157 void WasShown();
158 bool IsHidden() const { return is_hidden_; } 158 bool IsHidden() const { return is_hidden_; }
159 159
160 // Returns true if the RenderWidget is hidden. 160 // Returns true if the RenderWidget is hidden.
161 bool is_hidden() const { return is_hidden_; } 161 bool is_hidden() const { return is_hidden_; }
162 162
163 // Called to notify the RenderWidget that its associated native window got 163 // Called to notify the RenderWidget that its associated native window got
164 // focused. 164 // focused.
165 virtual void GotFocus(); 165 virtual void GotFocus();
166 166
167 // Tells the renderer it got/lost focus. 167 // Tells the renderer it got/lost focus.
(...skipping 611 matching lines...) Expand 10 before | Expand all | Expand 10 after
779 scoped_ptr<TapSuppressionController> tap_suppression_controller_; 779 scoped_ptr<TapSuppressionController> tap_suppression_controller_;
780 780
781 scoped_ptr<SmoothScrollGesture> active_smooth_scroll_gesture_; 781 scoped_ptr<SmoothScrollGesture> active_smooth_scroll_gesture_;
782 782
783 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostImpl); 783 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostImpl);
784 }; 784 };
785 785
786 } // namespace content 786 } // namespace content
787 787
788 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_ 788 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_
OLDNEW
« no previous file with comments | « content/browser/renderer_host/render_widget_helper.h ('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