mirror of
https://github.com/netsurf-browser/netsurf
synced 2024-12-20 19:24:37 +03:00
reduce cocoa frontend use of content API
This commit is contained in:
parent
f236e7d6b7
commit
7dcc725ae2
@ -18,10 +18,10 @@
|
||||
|
||||
#import "utils/messages.h"
|
||||
#import "utils/utils.h"
|
||||
#import "utils/nsurl.h"
|
||||
#import "netsurf/browser_window.h"
|
||||
#import "desktop/hotlist.h"
|
||||
#import "desktop/tree.h"
|
||||
#import "content/hlcache.h"
|
||||
|
||||
#import "cocoa/BookmarksController.h"
|
||||
#import "cocoa/Tree.h"
|
||||
|
@ -18,10 +18,11 @@
|
||||
|
||||
#import "utils/nsoption.h"
|
||||
#import "utils/messages.h"
|
||||
#import "utils/nsurl.h"
|
||||
#import "netsurf/browser_window.h"
|
||||
#import "netsurf/plotters.h"
|
||||
#import "netsurf/content.h"
|
||||
#import "desktop/textinput.h"
|
||||
#import "content/hlcache.h"
|
||||
|
||||
#import "cocoa/gui.h"
|
||||
#import "cocoa/BrowserView.h"
|
||||
|
@ -21,11 +21,11 @@
|
||||
#import "utils/filename.h"
|
||||
#import "utils/file.h"
|
||||
#import "utils/messages.h"
|
||||
#import "utils/url.h"
|
||||
#import "desktop/browser_history.h"
|
||||
#import "utils/nsurl.h"
|
||||
#import "netsurf/content.h"
|
||||
#import "netsurf/browser_window.h"
|
||||
#import "desktop/browser_history.h"
|
||||
#import "desktop/textinput.h"
|
||||
#import "content/hlcache.h"
|
||||
|
||||
#import "cocoa/gui.h"
|
||||
#import "cocoa/BrowserViewController.h"
|
||||
|
@ -31,15 +31,14 @@
|
||||
#import "utils/log.h"
|
||||
#import "utils/messages.h"
|
||||
#import "utils/utils.h"
|
||||
#import "content/urldb.h"
|
||||
#import "utils/nsoption.h"
|
||||
#import "netsurf/plotters.h"
|
||||
#import "netsurf/mouse.h"
|
||||
#import "netsurf/netsurf.h"
|
||||
#import "content/urldb.h"
|
||||
#import "desktop/save_complete.h"
|
||||
#import "desktop/textinput.h"
|
||||
#import "desktop/tree.h"
|
||||
#import "render/html.h"
|
||||
#import "netsurf/mouse.h"
|
||||
#import "netsurf/netsurf.h"
|
||||
|
||||
#ifndef NETSURF_HOMEPAGE
|
||||
#define NETSURF_HOMEPAGE "http://www.netsurf-browser.org/welcome/"
|
||||
|
@ -17,9 +17,8 @@
|
||||
*/
|
||||
|
||||
#import "utils/nsoption.h"
|
||||
#import "utils/nsurl.h"
|
||||
#import "netsurf/browser_window.h"
|
||||
#import "content/content.h"
|
||||
#import "content/hlcache.h"
|
||||
|
||||
#import "cocoa/PreferencesWindowController.h"
|
||||
#import "cocoa/NetsurfApp.h"
|
||||
|
@ -27,7 +27,6 @@
|
||||
#import "netsurf/plotters.h"
|
||||
#import "netsurf/bitmap.h"
|
||||
#import "netsurf/content.h"
|
||||
#import "content/urldb.h"
|
||||
|
||||
#import "cocoa/plotter.h"
|
||||
#import "cocoa/bitmap.h"
|
||||
|
@ -21,15 +21,13 @@
|
||||
#import "utils/nsoption.h"
|
||||
#import "utils/utils.h"
|
||||
#import "utils/log.h"
|
||||
#import "utils/nsurl.h"
|
||||
#import "netsurf/mouse.h"
|
||||
#import "netsurf/window.h"
|
||||
#import "netsurf/misc.h"
|
||||
#import "netsurf/browser_window.h"
|
||||
#import "netsurf/content.h"
|
||||
#import "desktop/textinput.h"
|
||||
#import "content/handlers/image/ico.h"
|
||||
#import "content/fetchers/resource.h"
|
||||
#import "content/hlcache.h"
|
||||
#import "content/content.h"
|
||||
|
||||
#import "cocoa/gui.h"
|
||||
#import "cocoa/plotter.h"
|
||||
@ -227,7 +225,7 @@ static void gui_window_stop_throbber(struct gui_window *g)
|
||||
[(BrowserViewController *)g updateBackForward];
|
||||
}
|
||||
|
||||
static void gui_window_set_icon(struct gui_window *g, hlcache_handle *icon)
|
||||
static void gui_window_set_icon(struct gui_window *g, struct hlcache_handle *icon)
|
||||
{
|
||||
NSBitmapImageRep *bmp = NULL;
|
||||
NSImage *image = nil;
|
||||
|
Loading…
Reference in New Issue
Block a user