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

Side by Side Diff: webkit/glue/chromium_bridge_impl.cc

Issue 16482: Refactor the render widget unittest so it can be reused to create a render vi... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 11 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 | « webkit/glue/chrome_client_impl.cc ('k') | webkit/glue/webkit_glue.h » ('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) 2008 The Chromium Authors. All rights reserved. Use of this 1 // Copyright (c) 2008 The Chromium Authors. All rights reserved. Use of this
2 // source code is governed by a BSD-style license that can be found in the 2 // source code is governed by a BSD-style license that can be found in the
3 // LICENSE file. 3 // LICENSE file.
4 4
5 #include "config.h" 5 #include "config.h"
6 #include "ChromiumBridge.h" 6 #include "ChromiumBridge.h"
7 7
8 #include "BitmapImage.h" 8 #include "BitmapImage.h"
9 #include "ClipboardUtilitiesChromium.h" 9 #include "ClipboardUtilitiesChromium.h"
10 #include "Cursor.h" 10 #include "Cursor.h"
(...skipping 226 matching lines...) Expand 10 before | Expand all | Expand 10 after
237 } 237 }
238 238
239 // Font ----------------------------------------------------------------------- 239 // Font -----------------------------------------------------------------------
240 240
241 #if defined(OS_WIN) 241 #if defined(OS_WIN)
242 bool ChromiumBridge::ensureFontLoaded(HFONT font) { 242 bool ChromiumBridge::ensureFontLoaded(HFONT font) {
243 return webkit_glue::EnsureFontLoaded(font); 243 return webkit_glue::EnsureFontLoaded(font);
244 } 244 }
245 #endif 245 #endif
246 246
247 // Forms ----------------------------------------------------------------------
248
249 void ChromiumBridge::notifyFormStateChanged(const Document* doc) {
250 webkit_glue::NotifyFormStateChanged(doc);
251 }
252
253 // JavaScript ----------------------------------------------------------------- 247 // JavaScript -----------------------------------------------------------------
254 248
255 void ChromiumBridge::notifyJSOutOfMemory(Frame* frame) { 249 void ChromiumBridge::notifyJSOutOfMemory(Frame* frame) {
256 webkit_glue::NotifyJSOutOfMemory(frame); 250 webkit_glue::NotifyJSOutOfMemory(frame);
257 } 251 }
258 252
259 // Language ------------------------------------------------------------------- 253 // Language -------------------------------------------------------------------
260 254
261 String ChromiumBridge::computedDefaultLanguage() { 255 String ChromiumBridge::computedDefaultLanguage() {
262 return webkit_glue::StdWStringToString(webkit_glue::GetWebKitLocale()); 256 return webkit_glue::StdWStringToString(webkit_glue::GetWebKitLocale());
(...skipping 430 matching lines...) Expand 10 before | Expand all | Expand 10 after
693 chrome_client->SetCursor(WebCursor(cursor.impl())); 687 chrome_client->SetCursor(WebCursor(cursor.impl()));
694 } 688 }
695 689
696 void ChromiumBridge::widgetSetFocus(Widget* widget) { 690 void ChromiumBridge::widgetSetFocus(Widget* widget) {
697 ChromeClientImpl* chrome_client = ToChromeClient(widget); 691 ChromeClientImpl* chrome_client = ToChromeClient(widget);
698 if (chrome_client) 692 if (chrome_client)
699 chrome_client->focus(); 693 chrome_client->focus();
700 } 694 }
701 695
702 } // namespace WebCore 696 } // namespace WebCore
OLDNEW
« no previous file with comments | « webkit/glue/chrome_client_impl.cc ('k') | webkit/glue/webkit_glue.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698