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

Side by Side Diff: chrome/browser/ui/tab_contents/tab_contents_wrapper.h

Issue 7461059: Fullscreen JS API implementation. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: remove commented out code Created 9 years, 3 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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 CHROME_BROWSER_UI_TAB_CONTENTS_TAB_CONTENTS_WRAPPER_H_ 5 #ifndef CHROME_BROWSER_UI_TAB_CONTENTS_TAB_CONTENTS_WRAPPER_H_
6 #define CHROME_BROWSER_UI_TAB_CONTENTS_TAB_CONTENTS_WRAPPER_H_ 6 #define CHROME_BROWSER_UI_TAB_CONTENTS_TAB_CONTENTS_WRAPPER_H_
7 #pragma once 7 #pragma once
8 8
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 222 matching lines...) Expand 10 before | Expand all | Expand 10 after
233 // NOTE: This does not perform any EqualsDelegate() checks like AddInfoBar(). 233 // NOTE: This does not perform any EqualsDelegate() checks like AddInfoBar().
234 void ReplaceInfoBar(InfoBarDelegate* old_delegate, 234 void ReplaceInfoBar(InfoBarDelegate* old_delegate,
235 InfoBarDelegate* new_delegate); 235 InfoBarDelegate* new_delegate);
236 236
237 // Enumeration and access functions. 237 // Enumeration and access functions.
238 size_t infobar_count() const { return infobars_.size(); } 238 size_t infobar_count() const { return infobars_.size(); }
239 // WARNING: This does not sanity-check |index|! 239 // WARNING: This does not sanity-check |index|!
240 InfoBarDelegate* GetInfoBarDelegateAt(size_t index); 240 InfoBarDelegate* GetInfoBarDelegateAt(size_t index);
241 void set_infobars_enabled(bool value) { infobars_enabled_ = value; } 241 void set_infobars_enabled(bool value) { infobars_enabled_ = value; }
242 242
243 // Stop this tab rendering in fullscreen mode.
244 void ExitFullscreenMode();
245
243 private: 246 private:
244 // Internal helpers ---------------------------------------------------------- 247 // Internal helpers ----------------------------------------------------------
245 248
246 // Message handlers. 249 // Message handlers.
247 void OnJSOutOfMemory(); 250 void OnJSOutOfMemory();
248 void OnRegisterProtocolHandler(const std::string& protocol, 251 void OnRegisterProtocolHandler(const std::string& protocol,
249 const GURL& url, 252 const GURL& url,
250 const string16& title); 253 const string16& title);
251 void OnRegisterIntentHandler(const string16& action, 254 void OnRegisterIntentHandler(const string16& action,
252 const string16& type, 255 const string16& type,
(...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after
360 363
361 // The supporting objects need to outlive the TabContents dtor (as they may 364 // The supporting objects need to outlive the TabContents dtor (as they may
362 // be called upon during its execution). As a result, this must come last 365 // be called upon during its execution). As a result, this must come last
363 // in the list. 366 // in the list.
364 scoped_ptr<TabContents> tab_contents_; 367 scoped_ptr<TabContents> tab_contents_;
365 368
366 DISALLOW_COPY_AND_ASSIGN(TabContentsWrapper); 369 DISALLOW_COPY_AND_ASSIGN(TabContentsWrapper);
367 }; 370 };
368 371
369 #endif // CHROME_BROWSER_UI_TAB_CONTENTS_TAB_CONTENTS_WRAPPER_H_ 372 #endif // CHROME_BROWSER_UI_TAB_CONTENTS_TAB_CONTENTS_WRAPPER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698