<commit_before>#ifndef BRIGHTRAY_BROWSER_LINUX_INSPECTABLE_WEB_CONTENTS_VIEW_LINUX_H_
#define BRIGHTRAY_BROWSER_LINUX_INSPECTABLE_WEB_CONTENTS_VIEW_LINUX_H_

#include "browser/inspectable_web_contents_view.h"

#include "base/compiler_specific.h"

namespace brightray {

class InspectableWebContentsImpl;

class InspectableWebContentsViewLinux : public InspectableWebContentsView {
public:
  InspectableWebContentsViewLinux(InspectableWebContentsImpl*);
  ~InspectableWebContentsViewLinux();

  virtual gfx::NativeView GetNativeView() const OVERRIDE;
  virtual void ShowDevTools() OVERRIDE;
  virtual void CloseDevTools() OVERRIDE;
  virtual bool SetDockSide(const std::string& side) OVERRIDE;

  InspectableWebContentsImpl* inspectable_web_contents() { return inspectable_web_contents_; }

private:
  // Show the dev tools in their own window.  If they're already shown
  // somewhere else, remove them cleanly and take any GtkPaned out of the
  // window.
  void ShowDevToolsInWindow();

  // Show the dev tools in a vpaned (on the bottom) or hpaned (on the
  // right).  If they're already shown in a pane, move them and remove the
  // old pane.  If they're already shown in a window, hide (don't delete)
  // that window.
  void ShowDevToolsInPane(bool on_bottom);

  // Create a new window for dev tools.  This function doesn't actually
  // put the dev tools in the window or show the window.
  void MakeDevToolsWindow();

  // Get the GtkWindow* that contains this object.
  GtkWidget *GetBrowserWindow();

  // Owns us.
  InspectableWebContentsImpl* inspectable_web_contents_;

  std::string dockside_;
  GtkWidget *devtools_window_;

  DISALLOW_COPY_AND_ASSIGN(InspectableWebContentsViewLinux);
};

}  // namespace brightray

#endif
<commit_msg>Fix cpplint errors in inspectable_web_contents_view_linux.h<commit_after>#ifndef BRIGHTRAY_BROWSER_LINUX_INSPECTABLE_WEB_CONTENTS_VIEW_LINUX_H_
#define BRIGHTRAY_BROWSER_LINUX_INSPECTABLE_WEB_CONTENTS_VIEW_LINUX_H_

#include "browser/inspectable_web_contents_view.h"

#include "base/compiler_specific.h"

namespace brightray {

class InspectableWebContentsImpl;

class InspectableWebContentsViewLinux : public InspectableWebContentsView {
 public:
  explicit InspectableWebContentsViewLinux(
      InspectableWebContentsImpl* inspectable_web_contents_impl);
  ~InspectableWebContentsViewLinux();

  virtual gfx::NativeView GetNativeView() const OVERRIDE;
  virtual void ShowDevTools() OVERRIDE;
  virtual void CloseDevTools() OVERRIDE;
  virtual bool SetDockSide(const std::string& side) OVERRIDE;

  InspectableWebContentsImpl* inspectable_web_contents() {
    return inspectable_web_contents_;
  }

 private:
  // Show the dev tools in their own window.  If they're already shown
  // somewhere else, remove them cleanly and take any GtkPaned out of the
  // window.
  void ShowDevToolsInWindow();

  // Show the dev tools in a vpaned (on the bottom) or hpaned (on the
  // right).  If they're already shown in a pane, move them and remove the
  // old pane.  If they're already shown in a window, hide (don't delete)
  // that window.
  void ShowDevToolsInPane(bool on_bottom);

  // Create a new window for dev tools.  This function doesn't actually
  // put the dev tools in the window or show the window.
  void MakeDevToolsWindow();

  // Get the GtkWindow* that contains this object.
  GtkWidget *GetBrowserWindow();

  // Owns us.
  InspectableWebContentsImpl* inspectable_web_contents_;

  std::string dockside_;
  GtkWidget *devtools_window_;

  DISALLOW_COPY_AND_ASSIGN(InspectableWebContentsViewLinux);
};

}  // namespace brightray

#endif

{'fraction_non_alphanumeric': 0.07067627494456763, 'fraction_numerical': 0.0, 'mean_word_length': 5.025041736227045, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7453', 'n_tokens_mistral': 1171, 'n_tokens_neox': 1116, 'n_words': 325}