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

Side by Side Diff: chrome/browser/notifications/balloon_host.h

Issue 6513010: WebUI: Get rid of more references to DOMUI in the rest of the directories. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 10 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
« no previous file with comments | « chrome/browser/dom_ui/web_ui.h ('k') | chrome/browser/notifications/balloon_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) 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_NOTIFICATIONS_BALLOON_HOST_H_ 5 #ifndef CHROME_BROWSER_NOTIFICATIONS_BALLOON_HOST_H_
6 #define CHROME_BROWSER_NOTIFICATIONS_BALLOON_HOST_H_ 6 #define CHROME_BROWSER_NOTIFICATIONS_BALLOON_HOST_H_
7 #pragma once 7 #pragma once
8 8
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after
106 virtual void HandleKeyboardEvent(const NativeWebKeyboardEvent& event) {} 106 virtual void HandleKeyboardEvent(const NativeWebKeyboardEvent& event) {}
107 virtual void HandleMouseMove() {} 107 virtual void HandleMouseMove() {}
108 virtual void HandleMouseDown(); 108 virtual void HandleMouseDown();
109 virtual void HandleMouseLeave() {} 109 virtual void HandleMouseLeave() {}
110 virtual void HandleMouseUp() {} 110 virtual void HandleMouseUp() {}
111 virtual void HandleMouseActivate() {} 111 virtual void HandleMouseActivate() {}
112 virtual void UpdatePreferredSize(const gfx::Size& pref_size); 112 virtual void UpdatePreferredSize(const gfx::Size& pref_size);
113 virtual RendererPreferences GetRendererPrefs(Profile* profile) const; 113 virtual RendererPreferences GetRendererPrefs(Profile* profile) const;
114 114
115 // Enable Web UI. This has to be called before renderer is created. 115 // Enable Web UI. This has to be called before renderer is created.
116 void EnableDOMUI(); 116 void EnableWebUI();
117 117
118 virtual void UpdateInspectorSetting(const std::string& key, 118 virtual void UpdateInspectorSetting(const std::string& key,
119 const std::string& value); 119 const std::string& value);
120 virtual void ClearInspectorSettings(); 120 virtual void ClearInspectorSettings();
121 121
122 protected: 122 protected:
123 virtual ~BalloonHost(); 123 virtual ~BalloonHost();
124 // Must override in platform specific implementations. 124 // Must override in platform specific implementations.
125 virtual void InitRenderWidgetHostView() = 0; 125 virtual void InitRenderWidgetHostView() = 0;
126 virtual RenderWidgetHostView* render_widget_host_view() const = 0; 126 virtual RenderWidgetHostView* render_widget_host_view() const = 0;
(...skipping 27 matching lines...) Expand all
154 // rendering a page from an extension. 154 // rendering a page from an extension.
155 scoped_ptr<ExtensionFunctionDispatcher> extension_function_dispatcher_; 155 scoped_ptr<ExtensionFunctionDispatcher> extension_function_dispatcher_;
156 156
157 // A flag to enable Web UI. 157 // A flag to enable Web UI.
158 bool enable_dom_ui_; 158 bool enable_dom_ui_;
159 159
160 NotificationRegistrar registrar_; 160 NotificationRegistrar registrar_;
161 }; 161 };
162 162
163 #endif // CHROME_BROWSER_NOTIFICATIONS_BALLOON_HOST_H_ 163 #endif // CHROME_BROWSER_NOTIFICATIONS_BALLOON_HOST_H_
OLDNEW
« no previous file with comments | « chrome/browser/dom_ui/web_ui.h ('k') | chrome/browser/notifications/balloon_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698