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

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: Removed a test DCHECK 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 158 matching lines...) Expand 10 before | Expand all | Expand 10 after
169 virtual void SetCapturingContents(bool cap) OVERRIDE; 169 virtual void SetCapturingContents(bool cap) OVERRIDE;
170 virtual bool IsCrashed() const OVERRIDE; 170 virtual bool IsCrashed() const OVERRIDE;
171 virtual void SetIsCrashed(base::TerminationStatus status, 171 virtual void SetIsCrashed(base::TerminationStatus status,
172 int error_code) OVERRIDE; 172 int error_code) OVERRIDE;
173 virtual base::TerminationStatus GetCrashedStatus() const OVERRIDE; 173 virtual base::TerminationStatus GetCrashedStatus() const OVERRIDE;
174 virtual bool IsBeingDestroyed() const OVERRIDE; 174 virtual bool IsBeingDestroyed() const OVERRIDE;
175 virtual void NotifyNavigationStateChanged(unsigned changed_flags) OVERRIDE; 175 virtual void NotifyNavigationStateChanged(unsigned changed_flags) OVERRIDE;
176 virtual void DidBecomeSelected() OVERRIDE; 176 virtual void DidBecomeSelected() OVERRIDE;
177 virtual base::TimeTicks GetLastSelectedTime() const OVERRIDE; 177 virtual base::TimeTicks GetLastSelectedTime() const OVERRIDE;
178 virtual void WasHidden() OVERRIDE; 178 virtual void WasHidden() OVERRIDE;
179 virtual void WasRestored() OVERRIDE;
179 virtual void ShowContents() OVERRIDE; 180 virtual void ShowContents() OVERRIDE;
180 virtual void HideContents() OVERRIDE; 181 virtual void HideContents() OVERRIDE;
181 virtual bool NeedToFireBeforeUnload() OVERRIDE; 182 virtual bool NeedToFireBeforeUnload() OVERRIDE;
182 virtual void Stop() OVERRIDE; 183 virtual void Stop() OVERRIDE;
183 virtual content::WebContents* Clone() OVERRIDE; 184 virtual content::WebContents* Clone() OVERRIDE;
184 virtual void AddNewContents(content::WebContents* new_contents, 185 virtual void AddNewContents(content::WebContents* new_contents,
185 WindowOpenDisposition disposition, 186 WindowOpenDisposition disposition,
186 const gfx::Rect& initial_pos, 187 const gfx::Rect& initial_pos,
187 bool user_gesture) OVERRIDE; 188 bool user_gesture) OVERRIDE;
188 virtual gfx::NativeView GetContentNativeView() const OVERRIDE; 189 virtual gfx::NativeView GetContentNativeView() const OVERRIDE;
(...skipping 525 matching lines...) Expand 10 before | Expand all | Expand 10 after
714 // Type of view this WebContents is displaying. 715 // Type of view this WebContents is displaying.
715 content::ViewType view_type_; 716 content::ViewType view_type_;
716 717
717 // Color chooser that was opened by this tab. 718 // Color chooser that was opened by this tab.
718 content::ColorChooser* color_chooser_; 719 content::ColorChooser* color_chooser_;
719 720
720 DISALLOW_COPY_AND_ASSIGN(WebContentsImpl); 721 DISALLOW_COPY_AND_ASSIGN(WebContentsImpl);
721 }; 722 };
722 723
723 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ 724 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698