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

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: rebase Created 9 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
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 106 matching lines...) Expand 10 before | Expand all | Expand 10 after
359 362
360 // The supporting objects need to outlive the TabContents dtor (as they may 363 // The supporting objects need to outlive the TabContents dtor (as they may
361 // be called upon during its execution). As a result, this must come last 364 // be called upon during its execution). As a result, this must come last
362 // in the list. 365 // in the list.
363 scoped_ptr<TabContents> tab_contents_; 366 scoped_ptr<TabContents> tab_contents_;
364 367
365 DISALLOW_COPY_AND_ASSIGN(TabContentsWrapper); 368 DISALLOW_COPY_AND_ASSIGN(TabContentsWrapper);
366 }; 369 };
367 370
368 #endif // CHROME_BROWSER_UI_TAB_CONTENTS_TAB_CONTENTS_WRAPPER_H_ 371 #endif // CHROME_BROWSER_UI_TAB_CONTENTS_TAB_CONTENTS_WRAPPER_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/browser_browsertest.cc ('k') | chrome/browser/ui/tab_contents/tab_contents_wrapper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698