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

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

Issue 1016473002: Make LoadMonitoringExtensionHostQueue remove itself as an ExtensionHost observer at the correct tim… (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Another rename Created 5 years, 9 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
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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_VIEW_HOST_H_ 5 #ifndef CHROME_BROWSER_EXTENSIONS_EXTENSION_VIEW_HOST_H_
6 #define CHROME_BROWSER_EXTENSIONS_EXTENSION_VIEW_HOST_H_ 6 #define CHROME_BROWSER_EXTENSIONS_EXTENSION_VIEW_HOST_H_
7 7
8 #include "base/memory/scoped_ptr.h" 8 #include "base/memory/scoped_ptr.h"
9 #include "components/web_modal/popup_manager.h" 9 #include "components/web_modal/popup_manager.h"
10 #include "components/web_modal/web_contents_modal_dialog_host.h" 10 #include "components/web_modal/web_contents_modal_dialog_host.h"
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
52 void SetAssociatedWebContents(content::WebContents* web_contents); 52 void SetAssociatedWebContents(content::WebContents* web_contents);
53 53
54 // Handles keyboard events that were not handled by HandleKeyboardEvent(). 54 // Handles keyboard events that were not handled by HandleKeyboardEvent().
55 // Platform specific implementation may override this method to handle the 55 // Platform specific implementation may override this method to handle the
56 // event in platform specific way. 56 // event in platform specific way.
57 virtual void UnhandledKeyboardEvent( 57 virtual void UnhandledKeyboardEvent(
58 content::WebContents* source, 58 content::WebContents* source,
59 const content::NativeWebKeyboardEvent& event); 59 const content::NativeWebKeyboardEvent& event);
60 60
61 // ExtensionHost 61 // ExtensionHost
62 void OnDidStopLoading() override; 62 void OnDidStopFirstLoad() override;
63 void LoadInitialURL() override; 63 void LoadInitialURL() override;
64 bool IsBackgroundPage() const override; 64 bool IsBackgroundPage() const override;
65 65
66 // content::WebContentsDelegate 66 // content::WebContentsDelegate
67 content::WebContents* OpenURLFromTab( 67 content::WebContents* OpenURLFromTab(
68 content::WebContents* source, 68 content::WebContents* source,
69 const content::OpenURLParams& params) override; 69 const content::OpenURLParams& params) override;
70 bool PreHandleKeyboardEvent(content::WebContents* source, 70 bool PreHandleKeyboardEvent(content::WebContents* source,
71 const content::NativeWebKeyboardEvent& event, 71 const content::NativeWebKeyboardEvent& event,
72 bool* is_keyboard_shortcut) override; 72 bool* is_keyboard_shortcut) override;
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
131 scoped_ptr<web_modal::PopupManager> popup_manager_; 131 scoped_ptr<web_modal::PopupManager> popup_manager_;
132 132
133 content::NotificationRegistrar registrar_; 133 content::NotificationRegistrar registrar_;
134 134
135 DISALLOW_COPY_AND_ASSIGN(ExtensionViewHost); 135 DISALLOW_COPY_AND_ASSIGN(ExtensionViewHost);
136 }; 136 };
137 137
138 } // namespace extensions 138 } // namespace extensions
139 139
140 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_VIEW_HOST_H_ 140 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_VIEW_HOST_H_
OLDNEW
« no previous file with comments | « chrome/browser/extensions/extension_messages_apitest.cc ('k') | chrome/browser/extensions/extension_view_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698