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

Side by Side Diff: content/public/browser/web_contents_delegate.h

Issue 9702055: Automated tests for full screen & mouse lock M16 features (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Valgrind error fix, merge to 130358 Created 8 years, 8 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_PUBLIC_BROWSER_WEB_CONTENTS_DELEGATE_H_ 5 #ifndef CONTENT_PUBLIC_BROWSER_WEB_CONTENTS_DELEGATE_H_
6 #define CONTENT_PUBLIC_BROWSER_WEB_CONTENTS_DELEGATE_H_ 6 #define CONTENT_PUBLIC_BROWSER_WEB_CONTENTS_DELEGATE_H_
7 #pragma once 7 #pragma once
8 8
9 #include <set> 9 #include <set>
10 #include <string> 10 #include <string>
(...skipping 317 matching lines...) Expand 10 before | Expand all | Expand 10 after
328 // Request to enumerate a directory. This is equivalent to running the file 328 // Request to enumerate a directory. This is equivalent to running the file
329 // chooser in directory-enumeration mode and having the user select the given 329 // chooser in directory-enumeration mode and having the user select the given
330 // directory. 330 // directory.
331 virtual void EnumerateDirectory(WebContents* tab, 331 virtual void EnumerateDirectory(WebContents* tab,
332 int request_id, 332 int request_id,
333 const FilePath& path) {} 333 const FilePath& path) {}
334 334
335 // Called when the renderer puts a tab into or out of fullscreen mode. 335 // Called when the renderer puts a tab into or out of fullscreen mode.
336 virtual void ToggleFullscreenModeForTab(WebContents* tab, 336 virtual void ToggleFullscreenModeForTab(WebContents* tab,
337 bool enter_fullscreen) {} 337 bool enter_fullscreen) {}
338 virtual bool IsFullscreenForTab(const WebContents* tab) const; 338 virtual bool IsFullscreenForTabOrPending(const WebContents* tab) const;
339 339
340 // Called when a Javascript out of memory notification is received. 340 // Called when a Javascript out of memory notification is received.
341 virtual void JSOutOfMemory(WebContents* tab) {} 341 virtual void JSOutOfMemory(WebContents* tab) {}
342 342
343 // Register a new handler for URL requests with the given scheme. 343 // Register a new handler for URL requests with the given scheme.
344 virtual void RegisterProtocolHandler(WebContents* tab, 344 virtual void RegisterProtocolHandler(WebContents* tab,
345 const std::string& protocol, 345 const std::string& protocol,
346 const GURL& url, 346 const GURL& url,
347 const string16& title) {} 347 const string16& title) {}
348 348
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
406 // Called when |this| is no longer the WebContentsDelegate for |source|. 406 // Called when |this| is no longer the WebContentsDelegate for |source|.
407 void Detach(WebContents* source); 407 void Detach(WebContents* source);
408 408
409 // The WebContents that this is currently a delegate for. 409 // The WebContents that this is currently a delegate for.
410 std::set<WebContents*> attached_contents_; 410 std::set<WebContents*> attached_contents_;
411 }; 411 };
412 412
413 } // namespace content 413 } // namespace content
414 414
415 #endif // CONTENT_PUBLIC_BROWSER_WEB_CONTENTS_DELEGATE_H_ 415 #endif // CONTENT_PUBLIC_BROWSER_WEB_CONTENTS_DELEGATE_H_
OLDNEW
« no previous file with comments | « content/browser/tab_contents/tab_contents.cc ('k') | content/public/browser/web_contents_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698