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

Side by Side Diff: content/browser/tab_contents/tab_contents.h

Issue 7125006: Get rid of Chrome notifications dependency, and instead go through ContentBrowserClient to show U... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: fix browsertest Created 9 years, 6 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 CONTENT_BROWSER_TAB_CONTENTS_TAB_CONTENTS_H_ 5 #ifndef CONTENT_BROWSER_TAB_CONTENTS_TAB_CONTENTS_H_
6 #define CONTENT_BROWSER_TAB_CONTENTS_TAB_CONTENTS_H_ 6 #define CONTENT_BROWSER_TAB_CONTENTS_TAB_CONTENTS_H_
7 #pragma once 7 #pragma once
8 8
9 #include <deque> 9 #include <deque>
10 #include <map> 10 #include <map>
(...skipping 663 matching lines...) Expand 10 before | Expand all | Expand 10 after
674 virtual void OnIgnoredUIEvent(); 674 virtual void OnIgnoredUIEvent();
675 virtual void OnCrossSiteResponse(int new_render_process_host_id, 675 virtual void OnCrossSiteResponse(int new_render_process_host_id,
676 int new_request_id); 676 int new_request_id);
677 virtual void RendererUnresponsive(RenderViewHost* render_view_host, 677 virtual void RendererUnresponsive(RenderViewHost* render_view_host,
678 bool is_during_unload); 678 bool is_during_unload);
679 virtual void RendererResponsive(RenderViewHost* render_view_host); 679 virtual void RendererResponsive(RenderViewHost* render_view_host);
680 virtual void LoadStateChanged(const GURL& url, net::LoadState load_state, 680 virtual void LoadStateChanged(const GURL& url, net::LoadState load_state,
681 uint64 upload_position, uint64 upload_size); 681 uint64 upload_position, uint64 upload_size);
682 virtual bool IsExternalTabContainer() const; 682 virtual bool IsExternalTabContainer() const;
683 virtual void WorkerCrashed(); 683 virtual void WorkerCrashed();
684 virtual void RequestDesktopNotificationPermission(const GURL& source_origin,
685 int callback_context);
686 684
687 // RenderViewHostManager::Delegate ------------------------------------------- 685 // RenderViewHostManager::Delegate -------------------------------------------
688 686
689 // Blocks/unblocks interaction with renderer process. 687 // Blocks/unblocks interaction with renderer process.
690 void BlockTabContent(bool blocked); 688 void BlockTabContent(bool blocked);
691 689
692 virtual void BeforeUnloadFiredFromRenderManager( 690 virtual void BeforeUnloadFiredFromRenderManager(
693 bool proceed, 691 bool proceed,
694 bool* proceed_to_fire_unload); 692 bool* proceed_to_fire_unload);
695 virtual void DidStartLoadingFromRenderManager( 693 virtual void DidStartLoadingFromRenderManager(
(...skipping 156 matching lines...) Expand 10 before | Expand all | Expand 10 after
852 ObserverList<TabContentsObserver> observers_; 850 ObserverList<TabContentsObserver> observers_;
853 851
854 // Content restrictions, used to disable print/copy etc based on content's 852 // Content restrictions, used to disable print/copy etc based on content's
855 // (full-page plugins for now only) permissions. 853 // (full-page plugins for now only) permissions.
856 int content_restrictions_; 854 int content_restrictions_;
857 855
858 DISALLOW_COPY_AND_ASSIGN(TabContents); 856 DISALLOW_COPY_AND_ASSIGN(TabContents);
859 }; 857 };
860 858
861 #endif // CONTENT_BROWSER_TAB_CONTENTS_TAB_CONTENTS_H_ 859 #endif // CONTENT_BROWSER_TAB_CONTENTS_TAB_CONTENTS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698