Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

rename tooltips to tooltip

  • Loading branch information...
commit 5c61f41b5072171ee4a7a1b8ded3d0816037f281 1 parent a645b51
@ataranto authored
View
2  CefSharp.Example/CefSharp.Example.csproj
@@ -66,7 +66,7 @@
<Content Include="Resources\BindingTest.html" />
<Content Include="Resources\PopupTest.html" />
<Content Include="Resources\SchemeTest.html" />
- <Content Include="Resources\TooltipsTest.html" />
+ <Content Include="Resources\TooltipTest.html" />
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
View
8 CefSharp.Example/ExamplePresenter.cs
@@ -20,7 +20,7 @@ public static void Init()
private const string resource_url = "http://test/resource/load";
private const string scheme_url = "test://test/SchemeTest.html";
private const string bind_url = "test://test/BindingTest.html";
- private const string tooltips_url = "test://test/TooltipsTest.html";
+ private const string tooltip_url = "test://test/TooltipTest.html";
private int color_index = 0;
private readonly string[] colors =
@@ -55,7 +55,7 @@ public static void Init()
this.view.TestEvaluateScriptActivated += view_TestEvaluateScriptActivated;
this.view.TestBindActivated += view_TestBindActivated;
this.view.TestConsoleMessageActivated += view_TestConsoleMessageActivated;
- this.view.TestTooltipsActivated += view_TestTooltipsActivated;
+ this.view.TestTooltipActivated += view_TestTooltipActivated;
this.view.ExitActivated += view_ExitActivated;
}
@@ -159,9 +159,9 @@ private void view_TestConsoleMessageActivated(object sender, EventArgs e)
view.ExecuteScript(script);
}
- private void view_TestTooltipsActivated(object sender, EventArgs e)
+ private void view_TestTooltipActivated(object sender, EventArgs e)
{
- model.Load(tooltips_url);
+ model.Load(tooltip_url);
}
private void view_ExitActivated(object sender, EventArgs e)
View
2  CefSharp.Example/IExampleView.cs
@@ -13,7 +13,7 @@ public interface IExampleView
event EventHandler TestEvaluateScriptActivated;
event EventHandler TestBindActivated;
event EventHandler TestConsoleMessageActivated;
- event EventHandler TestTooltipsActivated;
+ event EventHandler TestTooltipActivated;
event EventHandler ExitActivated;
void SetTitle(string title);
View
6 CefSharp.Example/Properties/Resources.Designer.cs
@@ -135,15 +135,15 @@ internal class Resources {
/// &lt;body&gt;
/// &lt;form&gt;
/// &lt;input type=&quot;text&quot; size=25 title=&quot;This is the first tooltip&quot;&gt;
+ /// &lt;br /&gt;
/// &lt;input type=&quot;text&quot; size=25 title=&quot;This is the second tooltip&quot;&gt;
- /// &lt;input type=&quot;button&quot; value=&quot;Submit&quot;&gt;
/// &lt;/form&gt;
/// &lt;/body&gt;
///&lt;/html&gt;.
/// </summary>
- internal static string TooltipsTest {
+ internal static string TooltipTest {
get {
- return ResourceManager.GetString("TooltipsTest", resourceCulture);
+ return ResourceManager.GetString("TooltipTest", resourceCulture);
}
}
}
View
4 CefSharp.Example/Properties/Resources.resx
@@ -127,7 +127,7 @@
<data name="SchemeTest" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\SchemeTest.html;System.String, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089;Windows-1252</value>
</data>
- <data name="TooltipsTest" type="System.Resources.ResXFileRef, System.Windows.Forms">
- <value>..\Resources\TooltipsTest.html;System.String, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089;utf-8</value>
+ <data name="TooltipTest" type="System.Resources.ResXFileRef, System.Windows.Forms">
+ <value>..\Resources\TooltipTest.html;System.String, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089;utf-8</value>
</data>
</root>
View
13 CefSharp.Example/Resources/TooltipsTest.html
@@ -1,13 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
-<html>
- <head>
- <title>Scheme Handler Test</title>
- </head>
- <body>
- <form>
- <input type="text" size=25 title="This is the first tooltip">
- <br />
- <input type="text" size=25 title="This is the second tooltip">
- </form>
- </body>
-</html>
View
2  CefSharp.Example/SchemeHandler.cs
@@ -25,7 +25,7 @@ public SchemeHandler()
{ "BindingTest.html", Resources.BindingTest },
{ "PopupTest.html", Resources.PopupTest },
{ "SchemeTest.html", Resources.SchemeTest },
- { "TooltipsTest.html", Resources.TooltipsTest },
+ { "TooltipTest.html", Resources.TooltipTest },
};
}
View
14 CefSharp.WinForms.Example/Browser.Designer.cs
@@ -47,7 +47,7 @@ private void InitializeComponent()
this.testEvaluateScriptMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.testBindMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.testConsoleMessageMenuItem = new System.Windows.Forms.ToolStripMenuItem();
- this.testTooltipsMenuItem = new System.Windows.Forms.ToolStripMenuItem();
+ this.testTooltipMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.toolStripContainer.ContentPanel.SuspendLayout();
this.toolStripContainer.TopToolStripPanel.SuspendLayout();
this.toolStripContainer.SuspendLayout();
@@ -177,7 +177,7 @@ private void InitializeComponent()
this.testEvaluateScriptMenuItem,
this.testBindMenuItem,
this.testConsoleMessageMenuItem,
- this.testTooltipsMenuItem});
+ this.testTooltipMenuItem});
this.testsToolStripMenuItem.Name = "testsToolStripMenuItem";
this.testsToolStripMenuItem.Size = new System.Drawing.Size(46, 20);
this.testsToolStripMenuItem.Text = "Tests";
@@ -218,11 +218,11 @@ private void InitializeComponent()
this.testConsoleMessageMenuItem.Size = new System.Drawing.Size(254, 22);
this.testConsoleMessageMenuItem.Text = "Test Console Message";
//
- // testTooltipsMenuItem
+ // testTooltipMenuItem
//
- this.testTooltipsMenuItem.Name = "testTooltipsMenuItem";
- this.testTooltipsMenuItem.Size = new System.Drawing.Size(254, 22);
- this.testTooltipsMenuItem.Text = "Test Tooltips";
+ this.testTooltipMenuItem.Name = "testTooltipMenuItem";
+ this.testTooltipMenuItem.Size = new System.Drawing.Size(254, 22);
+ this.testTooltipMenuItem.Text = "Test Tooltip";
//
// Browser
//
@@ -270,7 +270,7 @@ private void InitializeComponent()
private System.Windows.Forms.ToolStripMenuItem testBindMenuItem;
private System.Windows.Forms.ToolStripMenuItem testConsoleMessageMenuItem;
private System.Windows.Forms.Label outputLabel;
- private System.Windows.Forms.ToolStripMenuItem testTooltipsMenuItem;
+ private System.Windows.Forms.ToolStripMenuItem testTooltipMenuItem;
}
}
View
6 CefSharp.WinForms.Example/Browser.cs
@@ -56,10 +56,10 @@ public partial class Browser : Form, IExampleView
remove { testConsoleMessageMenuItem.Click -= value; }
}
- public event EventHandler TestTooltipsActivated
+ public event EventHandler TestTooltipActivated
{
- add { testTooltipsMenuItem.Click += value; }
- remove { testTooltipsMenuItem.Click -= value; }
+ add { testTooltipMenuItem.Click += value; }
+ remove { testTooltipMenuItem.Click -= value; }
}
public event EventHandler ExitActivated
View
2  CefSharp.Wpf.Example/MainWindow.xaml
@@ -15,7 +15,7 @@
<MenuItem Header="Test Evaluate JavaScript" Name="testEvaluateScriptMenuItem" Click="control_Activated" />
<MenuItem Header="Test Bind CLR Object to JavaScript" Name="testBindMenuItem" Click="control_Activated" />
<MenuItem Header="Test Console Message" Name="testConsoleMessageMenuItem" Click="control_Activated" />
- <MenuItem Header="Test Tooltips" Name="testTooltipsMenuItem" Click="control_Activated" />
+ <MenuItem Header="Test Tooltip" Name="testTooltipMenuItem" Click="control_Activated" />
</MenuItem>
<MenuItem Header="Bookmarks">
<MenuItem Header="CefSharp Home" Name="homeMenuItem" />
View
4 CefSharp.Wpf.Example/MainWindow.xaml.cs
@@ -22,7 +22,7 @@ public partial class MainWindow : Window, IExampleView
public event EventHandler TestEvaluateScriptActivated;
public event EventHandler TestBindActivated;
public event EventHandler TestConsoleMessageActivated;
- public event EventHandler TestTooltipsActivated;
+ public event EventHandler TestTooltipActivated;
public event EventHandler ExitActivated;
private WebView web_view;
@@ -52,7 +52,7 @@ private void Window_SourceInitialized(object sender, EventArgs e)
{ testEvaluateScriptMenuItem, TestEvaluateScriptActivated },
{ testBindMenuItem, TestBindActivated },
{ testConsoleMessageMenuItem, TestConsoleMessageActivated },
- { testTooltipsMenuItem, TestTooltipsActivated },
+ { testTooltipMenuItem, TestTooltipActivated },
{ exitMenuItem, ExitActivated },
};
}
Please sign in to comment.
Something went wrong with that request. Please try again.