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

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

Issue 100182: Fix race where sometimes CSS is not applied to toolstrips. I (Closed)
Patch Set: Merged Created 11 years, 7 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
« no previous file with comments | « no previous file | chrome/browser/extensions/extension_host.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2006-2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2009 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_HOST_H_ 5 #ifndef CHROME_BROWSER_EXTENSIONS_EXTENSION_HOST_H_
6 #define CHROME_BROWSER_EXTENSIONS_EXTENSION_HOST_H_ 6 #define CHROME_BROWSER_EXTENSIONS_EXTENSION_HOST_H_
7 7
8 #include "chrome/browser/renderer_host/render_view_host_delegate.h" 8 #include "chrome/browser/renderer_host/render_view_host_delegate.h"
9 #include "chrome/browser/tab_contents/render_view_host_delegate_helper.h" 9 #include "chrome/browser/tab_contents/render_view_host_delegate_helper.h"
10 10
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
44 virtual void RenderViewCreated(RenderViewHost* render_view_host); 44 virtual void RenderViewCreated(RenderViewHost* render_view_host);
45 virtual void DidContentsPreferredWidthChange(const int pref_width); 45 virtual void DidContentsPreferredWidthChange(const int pref_width);
46 virtual WebPreferences GetWebkitPrefs(); 46 virtual WebPreferences GetWebkitPrefs();
47 virtual void RunJavaScriptMessage( 47 virtual void RunJavaScriptMessage(
48 const std::wstring& message, 48 const std::wstring& message,
49 const std::wstring& default_prompt, 49 const std::wstring& default_prompt,
50 const GURL& frame_url, 50 const GURL& frame_url,
51 const int flags, 51 const int flags,
52 IPC::Message* reply_msg, 52 IPC::Message* reply_msg,
53 bool* did_suppress_message); 53 bool* did_suppress_message);
54 virtual void DidStartLoading(RenderViewHost* render_view_host);
55 virtual void DidStopLoading(RenderViewHost* render_view_host); 54 virtual void DidStopLoading(RenderViewHost* render_view_host);
56 virtual RenderViewHostDelegate::View* GetViewDelegate() const; 55 virtual RenderViewHostDelegate::View* GetViewDelegate() const;
57 virtual ExtensionFunctionDispatcher* CreateExtensionFunctionDispatcher( 56 virtual ExtensionFunctionDispatcher* CreateExtensionFunctionDispatcher(
58 RenderViewHost *render_view_host, const std::string& extension_id); 57 RenderViewHost *render_view_host, const std::string& extension_id);
59 58
60 // RenderViewHostDelegate::View 59 // RenderViewHostDelegate::View
61 virtual void CreateNewWindow(int route_id, 60 virtual void CreateNewWindow(int route_id,
62 base::WaitableEvent* modal_dialog_event); 61 base::WaitableEvent* modal_dialog_event);
63 virtual void CreateNewWidget(int route_id, bool activatable); 62 virtual void CreateNewWidget(int route_id, bool activatable);
64 virtual void ShowCreatedWindow(int route_id, 63 virtual void ShowCreatedWindow(int route_id,
(...skipping 26 matching lines...) Expand all
91 // Common implementations of some RenderViewHostDelegate::View methods. 90 // Common implementations of some RenderViewHostDelegate::View methods.
92 RenderViewHostDelegateViewHelper delegate_view_helper_; 91 RenderViewHostDelegateViewHelper delegate_view_helper_;
93 92
94 // Whether the RenderWidget has reported that it has stopped loading. 93 // Whether the RenderWidget has reported that it has stopped loading.
95 bool did_stop_loading_; 94 bool did_stop_loading_;
96 95
97 DISALLOW_COPY_AND_ASSIGN(ExtensionHost); 96 DISALLOW_COPY_AND_ASSIGN(ExtensionHost);
98 }; 97 };
99 98
100 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_HOST_H_ 99 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_HOST_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/extensions/extension_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698