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

Side by Side Diff: content/public/browser/render_view_host.h

Issue 2690323002: Make Interaction Media Features MQ dynamic on Windows. (Closed)
Patch Set: Added Trace Created 3 years, 8 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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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_PUBLIC_BROWSER_RENDER_VIEW_HOST_H_ 5 #ifndef CONTENT_PUBLIC_BROWSER_RENDER_VIEW_HOST_H_
6 #define CONTENT_PUBLIC_BROWSER_RENDER_VIEW_HOST_H_ 6 #define CONTENT_PUBLIC_BROWSER_RENDER_VIEW_HOST_H_
7 7
8 #include "base/callback_forward.h" 8 #include "base/callback_forward.h"
9 #include "base/files/file_path.h" 9 #include "base/files/file_path.h"
10 #include "build/build_config.h" 10 #include "build/build_config.h"
(...skipping 130 matching lines...) Expand 10 before | Expand all | Expand 10 after
141 // this lookup will be fast 141 // this lookup will be fast
142 virtual WebPreferences GetWebkitPreferences() = 0; 142 virtual WebPreferences GetWebkitPreferences() = 0;
143 143
144 // If any state that affects the webkit preferences changed, this method must 144 // If any state that affects the webkit preferences changed, this method must
145 // be called. This triggers recomputing preferences. 145 // be called. This triggers recomputing preferences.
146 virtual void OnWebkitPreferencesChanged() = 0; 146 virtual void OnWebkitPreferencesChanged() = 0;
147 147
148 // Passes a list of Webkit preferences to the renderer. 148 // Passes a list of Webkit preferences to the renderer.
149 virtual void UpdateWebkitPreferences(const WebPreferences& prefs) = 0; 149 virtual void UpdateWebkitPreferences(const WebPreferences& prefs) = 0;
150 150
151 // Returns true if current input device features are different from the values
152 // stored in WebKit preferences.
153 virtual bool InputDeviceFeaturesChanged() = 0;
154
151 // Notify the render view host to select the word around the caret. 155 // Notify the render view host to select the word around the caret.
152 virtual void SelectWordAroundCaret() = 0; 156 virtual void SelectWordAroundCaret() = 0;
153 157
154 private: 158 private:
155 // This interface should only be implemented inside content. 159 // This interface should only be implemented inside content.
156 friend class RenderViewHostImpl; 160 friend class RenderViewHostImpl;
157 RenderViewHost() {} 161 RenderViewHost() {}
158 }; 162 };
159 163
160 } // namespace content 164 } // namespace content
161 165
162 #endif // CONTENT_PUBLIC_BROWSER_RENDER_VIEW_HOST_H_ 166 #endif // CONTENT_PUBLIC_BROWSER_RENDER_VIEW_HOST_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698