summaryrefslogtreecommitdiffstats
path: root/content/shell/shell.h
diff options
context:
space:
mode:
Diffstat (limited to 'content/shell/shell.h')
-rw-r--r--content/shell/shell.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/content/shell/shell.h b/content/shell/shell.h
index c95c929..99d5748 100644
--- a/content/shell/shell.h
+++ b/content/shell/shell.h
@@ -55,6 +55,12 @@ class Shell : public TabContentsDelegate {
TabContents* tab_contents() const { return tab_contents_.get(); }
+#if defined(OS_MACOSX)
+ // Public to be called by an ObjC bridge object.
+ void ActionPerformed(int control);
+ void URLEntered(std::string url_string);
+#endif
+
private:
enum UIControl {
BACK_BUTTON,
@@ -69,7 +75,7 @@ class Shell : public TabContentsDelegate {
// Called from the destructor to let each platform do any necessary cleanup.
void PlatformCleanUp();
// Creates the main window GUI.
- void PlatformCreateWindow();
+ void PlatformCreateWindow(int width, int height);
// Resizes the main window to the given dimensions.
void PlatformSizeTo(int width, int height);
// Resize the content area and GUI.