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

Side by Side Diff: content/browser/web_contents/web_contents_impl.h

Issue 10411033: Browser Plugin: WebContents should notify when it's restored (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Merged with ToT Created 8 years, 7 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_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ 5 #ifndef CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_
6 #define CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ 6 #define CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_
7 #pragma once 7 #pragma once
8 8
9 #include <map> 9 #include <map>
10 #include <string> 10 #include <string>
(...skipping 165 matching lines...) Expand 10 before | Expand all | Expand 10 after
176 virtual void SetCapturingContents(bool cap) OVERRIDE; 176 virtual void SetCapturingContents(bool cap) OVERRIDE;
177 virtual bool IsCrashed() const OVERRIDE; 177 virtual bool IsCrashed() const OVERRIDE;
178 virtual void SetIsCrashed(base::TerminationStatus status, 178 virtual void SetIsCrashed(base::TerminationStatus status,
179 int error_code) OVERRIDE; 179 int error_code) OVERRIDE;
180 virtual base::TerminationStatus GetCrashedStatus() const OVERRIDE; 180 virtual base::TerminationStatus GetCrashedStatus() const OVERRIDE;
181 virtual bool IsBeingDestroyed() const OVERRIDE; 181 virtual bool IsBeingDestroyed() const OVERRIDE;
182 virtual void NotifyNavigationStateChanged(unsigned changed_flags) OVERRIDE; 182 virtual void NotifyNavigationStateChanged(unsigned changed_flags) OVERRIDE;
183 virtual void DidBecomeSelected() OVERRIDE; 183 virtual void DidBecomeSelected() OVERRIDE;
184 virtual base::TimeTicks GetLastSelectedTime() const OVERRIDE; 184 virtual base::TimeTicks GetLastSelectedTime() const OVERRIDE;
185 virtual void WasHidden() OVERRIDE; 185 virtual void WasHidden() OVERRIDE;
186 virtual void WasRestored() OVERRIDE;
186 virtual void ShowContents() OVERRIDE; 187 virtual void ShowContents() OVERRIDE;
187 virtual void HideContents() OVERRIDE; 188 virtual void HideContents() OVERRIDE;
188 virtual bool NeedToFireBeforeUnload() OVERRIDE; 189 virtual bool NeedToFireBeforeUnload() OVERRIDE;
189 virtual void Stop() OVERRIDE; 190 virtual void Stop() OVERRIDE;
190 virtual content::WebContents* Clone() OVERRIDE; 191 virtual content::WebContents* Clone() OVERRIDE;
191 virtual void AddNewContents(content::WebContents* new_contents, 192 virtual void AddNewContents(content::WebContents* new_contents,
192 WindowOpenDisposition disposition, 193 WindowOpenDisposition disposition,
193 const gfx::Rect& initial_pos, 194 const gfx::Rect& initial_pos,
194 bool user_gesture) OVERRIDE; 195 bool user_gesture) OVERRIDE;
195 virtual gfx::NativeView GetContentNativeView() const OVERRIDE; 196 virtual gfx::NativeView GetContentNativeView() const OVERRIDE;
(...skipping 526 matching lines...) Expand 10 before | Expand all | Expand 10 after
722 // Type of view this WebContents is displaying. 723 // Type of view this WebContents is displaying.
723 content::ViewType view_type_; 724 content::ViewType view_type_;
724 725
725 // Color chooser that was opened by this tab. 726 // Color chooser that was opened by this tab.
726 content::ColorChooser* color_chooser_; 727 content::ColorChooser* color_chooser_;
727 728
728 DISALLOW_COPY_AND_ASSIGN(WebContentsImpl); 729 DISALLOW_COPY_AND_ASSIGN(WebContentsImpl);
729 }; 730 };
730 731
731 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ 732 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698