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

Side by Side Diff: chrome/browser/extensions/extension_tab_helper.h

Issue 8603015: Get rid of a bunch of view_messages.h includes from chrome by making the TabContentsObserver inte... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: fix linux and try to fix mac again Created 9 years, 1 month 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_EXTENSIONS_EXTENSION_TAB_HELPER_H_ 5 #ifndef CHROME_BROWSER_EXTENSIONS_EXTENSION_TAB_HELPER_H_
6 #define CHROME_BROWSER_EXTENSIONS_EXTENSION_TAB_HELPER_H_ 6 #define CHROME_BROWSER_EXTENSIONS_EXTENSION_TAB_HELPER_H_
7 #pragma once 7 #pragma once
8 8
9 #include "base/memory/weak_ptr.h" 9 #include "base/memory/weak_ptr.h"
10 #include "chrome/browser/extensions/app_notify_channel_setup.h" 10 #include "chrome/browser/extensions/app_notify_channel_setup.h"
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after
84 } 84 }
85 85
86 // Sets a non-extension app icon associated with TabContents and fires an 86 // Sets a non-extension app icon associated with TabContents and fires an
87 // INVALIDATE_TITLE navigation state change to trigger repaint of title. 87 // INVALIDATE_TITLE navigation state change to trigger repaint of title.
88 void SetAppIcon(const SkBitmap& app_icon); 88 void SetAppIcon(const SkBitmap& app_icon);
89 89
90 private: 90 private:
91 // TabContentsObserver overrides. 91 // TabContentsObserver overrides.
92 virtual void DidNavigateMainFrame( 92 virtual void DidNavigateMainFrame(
93 const content::LoadCommittedDetails& details, 93 const content::LoadCommittedDetails& details,
94 const ViewHostMsg_FrameNavigate_Params& params) OVERRIDE; 94 const content::FrameNavigateParams& params) OVERRIDE;
95 virtual bool OnMessageReceived(const IPC::Message& message) OVERRIDE; 95 virtual bool OnMessageReceived(const IPC::Message& message) OVERRIDE;
96 96
97 // ExtensionFunctionDispatcher::Delegate overrides. 97 // ExtensionFunctionDispatcher::Delegate overrides.
98 virtual Browser* GetBrowser() OVERRIDE; 98 virtual Browser* GetBrowser() OVERRIDE;
99 virtual gfx::NativeView GetNativeViewOfHost() OVERRIDE; 99 virtual gfx::NativeView GetNativeViewOfHost() OVERRIDE;
100 virtual TabContents* GetAssociatedTabContents() const OVERRIDE; 100 virtual TabContents* GetAssociatedTabContents() const OVERRIDE;
101 101
102 // Message handlers. 102 // Message handlers.
103 void OnDidGetApplicationInfo(int32 page_id, const WebApplicationInfo& info); 103 void OnDidGetApplicationInfo(int32 page_id, const WebApplicationInfo& info);
104 void OnInstallApplication(const WebApplicationInfo& info); 104 void OnInstallApplication(const WebApplicationInfo& info);
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
150 150
151 // Cached web app info data. 151 // Cached web app info data.
152 WebApplicationInfo web_app_info_; 152 WebApplicationInfo web_app_info_;
153 153
154 TabContentsWrapper* wrapper_; 154 TabContentsWrapper* wrapper_;
155 155
156 DISALLOW_COPY_AND_ASSIGN(ExtensionTabHelper); 156 DISALLOW_COPY_AND_ASSIGN(ExtensionTabHelper);
157 }; 157 };
158 158
159 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_TAB_HELPER_H_ 159 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_TAB_HELPER_H_
OLDNEW
« no previous file with comments | « chrome/browser/content_settings/tab_specific_content_settings.cc ('k') | chrome/browser/extensions/extension_tab_helper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698